pub struct ImplBlock {
pub type_name: Ident,
pub functions: Vec<Function>,
pub span: Span,
}Expand description
impl Name { fns... } (spec 2.5): a block of functions and methods for
a struct or enum declared in the same file. Whether name actually
names a struct or enum is the compiler’s resolve module’s job.
Fields§
§type_name: Ident§functions: Vec<Function>§span: SpanTrait Implementations§
impl StructuralPartialEq for ImplBlock
Auto Trait Implementations§
impl Freeze for ImplBlock
impl RefUnwindSafe for ImplBlock
impl Send for ImplBlock
impl Sync for ImplBlock
impl Unpin for ImplBlock
impl UnsafeUnpin for ImplBlock
impl UnwindSafe for ImplBlock
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