pub enum LastField<'ast> {
FieldDecl(FieldDecl<'ast>),
Ellipsis,
}Expand description
The last field of a record, that can either be a normal field declaration or an ellipsis.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'ast> Freeze for LastField<'ast>
impl<'ast> RefUnwindSafe for LastField<'ast>
impl<'ast> Send for LastField<'ast>
impl<'ast> Sync for LastField<'ast>
impl<'ast> Unpin for LastField<'ast>
impl<'ast> UnsafeUnpin for LastField<'ast>
impl<'ast> UnwindSafe for LastField<'ast>
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more