pub struct DesignLayoutNode {
pub id: String,
pub node_type: String,
pub name: String,
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub parent_id: Option<String>,
pub child_ids: Vec<String>,
pub problems: Vec<String>,
}Fields§
§id: String§node_type: String§name: String§x: f64§y: f64§width: f64§height: f64§parent_id: Option<String>§child_ids: Vec<String>§problems: Vec<String>Trait Implementations§
Source§impl Clone for DesignLayoutNode
impl Clone for DesignLayoutNode
Source§fn clone(&self) -> DesignLayoutNode
fn clone(&self) -> DesignLayoutNode
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 moreSource§impl Debug for DesignLayoutNode
impl Debug for DesignLayoutNode
Source§impl<'de> Deserialize<'de> for DesignLayoutNode
impl<'de> Deserialize<'de> for DesignLayoutNode
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 DesignLayoutNode
impl RefUnwindSafe for DesignLayoutNode
impl Send for DesignLayoutNode
impl Sync for DesignLayoutNode
impl Unpin for DesignLayoutNode
impl UnsafeUnpin for DesignLayoutNode
impl UnwindSafe for DesignLayoutNode
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