pub struct PartialNodeStyle {
pub color: Option<Rgba>,
pub radius: Option<f32>,
pub opacity: Option<f32>,
pub shape: Option<Shape>,
pub label_visible: Option<bool>,
pub label_text: Option<String>,
}Fields§
§color: Option<Rgba>§radius: Option<f32>§opacity: Option<f32>§shape: Option<Shape>§label_visible: Option<bool>§label_text: Option<String>Trait Implementations§
Source§impl Clone for PartialNodeStyle
impl Clone for PartialNodeStyle
Source§fn clone(&self) -> PartialNodeStyle
fn clone(&self) -> PartialNodeStyle
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 PartialNodeStyle
impl Debug for PartialNodeStyle
Source§impl Default for PartialNodeStyle
impl Default for PartialNodeStyle
Source§fn default() -> PartialNodeStyle
fn default() -> PartialNodeStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialNodeStyle
impl<'de> Deserialize<'de> for PartialNodeStyle
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 PartialNodeStyle
impl RefUnwindSafe for PartialNodeStyle
impl Send for PartialNodeStyle
impl Sync for PartialNodeStyle
impl Unpin for PartialNodeStyle
impl UnsafeUnpin for PartialNodeStyle
impl UnwindSafe for PartialNodeStyle
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