pub struct ImplItem<'tree> {
pub span: Span,
pub body: Option<DeclarationList<'tree>>,
pub trait: Option<ImplItemTrait<'tree>>,
pub type: Type<'tree>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Option<WhereClause<'tree>>,
}Fields§
§span: Span§body: Option<DeclarationList<'tree>>§trait: Option<ImplItemTrait<'tree>>§type: Type<'tree>§type_parameters: Option<TypeParameters<'tree>>§children: Option<WhereClause<'tree>>Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for ImplItem<'tree>
impl<'tree> RefUnwindSafe for ImplItem<'tree>
impl<'tree> Send for ImplItem<'tree>
impl<'tree> Sync for ImplItem<'tree>
impl<'tree> Unpin for ImplItem<'tree>
impl<'tree> UnsafeUnpin for ImplItem<'tree>
impl<'tree> UnwindSafe for ImplItem<'tree>
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