pub struct Impl {
pub attrs: Vec<Attribute>,
pub target: Type,
pub trait: Option<Type>,
pub methods: Vec<Function>,
}Fields§
§attrs: Vec<Attribute>§target: Type§trait: Option<Type>The trait the impl is implimenting
methods: Vec<Function>Implementations§
Trait 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