Struct ligen::ir::Implementation [−][src]
pub struct Implementation { pub attributes: Attributes, pub self_: Type, pub items: Vec<ImplementationItem, Global>, }
Expand description
Function Struct
Fields
attributes: Attributes
Attributes field.
self_: Type
Self field.
items: Vec<ImplementationItem, Global>
Items field.
Implementations
Maps the dependencies in the method signatures.
Replace all the occurrences of Self
by the real object name.
e.g.:
ⓘ
impl Object { fn f(self: &Self) {} }
becomes
ⓘ
impl Object { fn f(self: &Object) {} }
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Replace all occurrences of the old
identifier by the new
identifier.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Implementation
impl Send for Implementation
impl Sync for Implementation
impl Unpin for Implementation
impl UnwindSafe for Implementation
Blanket Implementations
Mutably borrows from an owned value. Read more