pub struct Impl {
pub generics: GenericParams,
pub ty: Type,
pub trait_: Option<Type>,
pub items: Vec<ImplItem>,
pub where_clause: WhereClause,
pub span: Span,
}Expand description
Impl block
Fields§
§generics: GenericParams§ty: Type§trait_: Option<Type>§items: Vec<ImplItem>§where_clause: WhereClause§span: SpanTrait Implementations§
impl StructuralPartialEq for Impl
Auto Trait Implementations§
impl Freeze for Impl
impl RefUnwindSafe for Impl
impl Send for Impl
impl Sync for Impl
impl Unpin for Impl
impl UnwindSafe for Impl
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