pub struct Def {
pub info: ComponentInfo,
pub body: Option<YuiNode>,
pub compiled: bool,
}Expand description
One component of the mod.
Fields§
§info: ComponentInfoName, doc, properties and the .yui it’s declared in.
body: Option<YuiNode>The body element (None: none yet — drawn empty).
compiled: boolSome binding calls code — only the mod’s library can draw it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Def
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnsafeUnpin for Def
impl UnwindSafe for Def
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