pub struct YuiNode {
pub uid: String,
pub kind: String,
pub attrs: HashMap<String, String>,
pub children: Vec<YuiNode>,
}Expand description
One element of the designer’s document (YuiNode in yui.ts).
Fields§
§uid: String§kind: String§attrs: HashMap<String, String>§children: Vec<YuiNode>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for YuiNode
impl<'de> Deserialize<'de> for YuiNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for YuiNode
impl RefUnwindSafe for YuiNode
impl Send for YuiNode
impl Sync for YuiNode
impl Unpin for YuiNode
impl UnsafeUnpin for YuiNode
impl UnwindSafe for YuiNode
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