pub struct Mixin {
pub scope: ScopeRef,
pub body: Parsed,
}
Expand description
A mixin is a callable body of items.
Fields§
§scope: ScopeRef
The scope where this mixin is defined.
body: Parsed
The body of this mixin.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Mixin
impl Send for Mixin
impl Sync for Mixin
impl Unpin for Mixin
impl !UnwindSafe for Mixin
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