pub struct NormalizedNode {
pub id: String,
pub parent_id: Option<String>,
pub name: String,
pub kind: NodeKind,
pub visible: bool,
pub bounds: Bounds,
pub layout: Option<LayoutMetadata>,
pub constraints: Option<LayoutConstraints>,
pub style: NodeStyle,
pub component: ComponentMetadata,
pub passthrough_fields: BTreeMap<String, Value>,
pub children: Vec<String>,
}Fields§
§id: String§parent_id: Option<String>§name: String§kind: NodeKind§visible: bool§bounds: Bounds§layout: Option<LayoutMetadata>§constraints: Option<LayoutConstraints>§style: NodeStyle§component: ComponentMetadata§passthrough_fields: BTreeMap<String, Value>§children: Vec<String>Trait Implementations§
Source§impl Clone for NormalizedNode
impl Clone for NormalizedNode
Source§fn clone(&self) -> NormalizedNode
fn clone(&self) -> NormalizedNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormalizedNode
impl Debug for NormalizedNode
Source§impl<'de> Deserialize<'de> for NormalizedNode
impl<'de> Deserialize<'de> for NormalizedNode
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
Source§impl PartialEq for NormalizedNode
impl PartialEq for NormalizedNode
Source§impl Serialize for NormalizedNode
impl Serialize for NormalizedNode
impl StructuralPartialEq for NormalizedNode
Auto Trait Implementations§
impl Freeze for NormalizedNode
impl RefUnwindSafe for NormalizedNode
impl Send for NormalizedNode
impl Sync for NormalizedNode
impl Unpin for NormalizedNode
impl UnsafeUnpin for NormalizedNode
impl UnwindSafe for NormalizedNode
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