pub struct RoderDesignNode {Show 16 fields
pub id: String,
pub node_type: String,
pub name: String,
pub parent_id: Option<String>,
pub child_ids: Vec<String>,
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub rotation: Option<f64>,
pub opacity: Option<f64>,
pub visible: Option<bool>,
pub locked: Option<bool>,
pub fill: Option<Value>,
pub stroke: Option<Value>,
pub extra: BTreeMap<String, Value>,
}Fields§
§id: String§node_type: String§name: String§parent_id: Option<String>§child_ids: Vec<String>§x: f64§y: f64§width: f64§height: f64§rotation: Option<f64>§opacity: Option<f64>§visible: Option<bool>§locked: Option<bool>§fill: Option<Value>§stroke: Option<Value>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for RoderDesignNode
impl Clone for RoderDesignNode
Source§fn clone(&self) -> RoderDesignNode
fn clone(&self) -> RoderDesignNode
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 RoderDesignNode
impl Debug for RoderDesignNode
Source§impl<'de> Deserialize<'de> for RoderDesignNode
impl<'de> Deserialize<'de> for RoderDesignNode
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 RoderDesignNode
impl RefUnwindSafe for RoderDesignNode
impl Send for RoderDesignNode
impl Sync for RoderDesignNode
impl Unpin for RoderDesignNode
impl UnsafeUnpin for RoderDesignNode
impl UnwindSafe for RoderDesignNode
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