#[repr(C)]pub struct ItemField<'ast> { /* private fields */ }
Expand description
A single field inside a StructItem
or UnionItem
with an identifier
type and span.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'ast> Freeze for ItemField<'ast>
impl<'ast> RefUnwindSafe for ItemField<'ast>
impl<'ast> !Send for ItemField<'ast>
impl<'ast> !Sync for ItemField<'ast>
impl<'ast> Unpin for ItemField<'ast>
impl<'ast> UnwindSafe for ItemField<'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