pub struct EdgeTheme {
pub color: String,
pub width: f32,
pub style: String,
pub arrow: ArrowConfig,
}Expand description
Edge theme configuration.
Fields§
§color: StringThe default color for edges (hex string).
width: f32The width of the edge line.
style: StringThe line style (e.g., “solid”, “dashed”, “dotted”).
arrow: ArrowConfigThe arrowhead configuration for directed edges.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeTheme
impl<'de> Deserialize<'de> for EdgeTheme
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 EdgeTheme
impl RefUnwindSafe for EdgeTheme
impl Send for EdgeTheme
impl Sync for EdgeTheme
impl Unpin for EdgeTheme
impl UnsafeUnpin for EdgeTheme
impl UnwindSafe for EdgeTheme
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