pub struct Impl {
pub id: HirId,
pub ty: Ty,
pub trait_ref: Option<Ty>,
pub items: Vec<ImplItem>,
pub span: Span,
}Expand description
Impl block
Fields§
§id: HirId§ty: Ty§trait_ref: Option<Ty>§items: Vec<ImplItem>§span: SpanTrait Implementations§
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