pub struct InterfaceInstanceDecl {
pub interface_name: String,
pub for_template: String,
pub methods: Vec<Binding>,
pub pos: Pos,
pub span: Span,
}Fields§
§interface_name: StringInterface being implemented (Disclosure.I).
for_template: StringTemplate it is for (from for Foo); the enclosing template when
declared inside one.
methods: Vec<Binding>Method implementations: name → bound expression.
pos: Pos§span: SpanTrait Implementations§
Source§impl Clone for InterfaceInstanceDecl
impl Clone for InterfaceInstanceDecl
Source§fn clone(&self) -> InterfaceInstanceDecl
fn clone(&self) -> InterfaceInstanceDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InterfaceInstanceDecl
impl RefUnwindSafe for InterfaceInstanceDecl
impl Send for InterfaceInstanceDecl
impl Sync for InterfaceInstanceDecl
impl Unpin for InterfaceInstanceDecl
impl UnsafeUnpin for InterfaceInstanceDecl
impl UnwindSafe for InterfaceInstanceDecl
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