pub struct NodeBaseSpec {
pub color: Rgba,
pub radius: f32,
pub opacity: f32,
pub shape: Shape,
pub label_visible: bool,
}Fields§
§color: Rgba§radius: f32§opacity: f32§shape: Shape§label_visible: boolTrait Implementations§
Source§impl Clone for NodeBaseSpec
impl Clone for NodeBaseSpec
Source§fn clone(&self) -> NodeBaseSpec
fn clone(&self) -> NodeBaseSpec
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 NodeBaseSpec
impl Debug for NodeBaseSpec
Source§impl<'de> Deserialize<'de> for NodeBaseSpec
impl<'de> Deserialize<'de> for NodeBaseSpec
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 NodeBaseSpec
impl RefUnwindSafe for NodeBaseSpec
impl Send for NodeBaseSpec
impl Sync for NodeBaseSpec
impl Unpin for NodeBaseSpec
impl UnsafeUnpin for NodeBaseSpec
impl UnwindSafe for NodeBaseSpec
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