pub struct ConnectorStyle {
pub stroke: PaletteToken,
pub text: PaletteToken,
pub label_background: PaletteToken,
pub width_milli_px: u32,
pub arrow_size_milli_px: u32,
pub dash_milli_px: Option<Vec<u32>>,
}Expand description
Connector line and label treatment.
Fields§
§stroke: PaletteToken§text: PaletteToken§label_background: PaletteToken§width_milli_px: u32§arrow_size_milli_px: u32§dash_milli_px: Option<Vec<u32>>Trait Implementations§
Source§impl Clone for ConnectorStyle
impl Clone for ConnectorStyle
Source§fn clone(&self) -> ConnectorStyle
fn clone(&self) -> ConnectorStyle
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 ConnectorStyle
impl Debug for ConnectorStyle
Source§impl<'de> Deserialize<'de> for ConnectorStyle
impl<'de> Deserialize<'de> for ConnectorStyle
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
impl Eq for ConnectorStyle
Source§impl PartialEq for ConnectorStyle
impl PartialEq for ConnectorStyle
Source§impl Serialize for ConnectorStyle
impl Serialize for ConnectorStyle
impl StructuralPartialEq for ConnectorStyle
Auto Trait Implementations§
impl Freeze for ConnectorStyle
impl RefUnwindSafe for ConnectorStyle
impl Send for ConnectorStyle
impl Sync for ConnectorStyle
impl Unpin for ConnectorStyle
impl UnsafeUnpin for ConnectorStyle
impl UnwindSafe for ConnectorStyle
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