pub(crate) struct Tail {
pub(super) after_value: Trivia,
pub(super) comma: Comma,
pub(super) trailing: Trivia,
}Expand description
What follows the value of a member or item: an optional comma and the rest of the line.
Fields§
§after_value: TriviaBetween the value and its comma. Empty when there is no comma.
comma: Comma§trailing: TriviaThe rest of the line after the value or comma.
Implementations§
Trait Implementations§
impl Eq for Tail
impl StructuralPartialEq for Tail
Auto Trait Implementations§
impl Freeze for Tail
impl RefUnwindSafe for Tail
impl Send for Tail
impl Sync for Tail
impl Unpin for Tail
impl UnsafeUnpin for Tail
impl UnwindSafe for Tail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.