pub struct LineStyle { /* private fields */ }Implementations§
Source§impl LineStyle
impl LineStyle
pub fn get_arrowsize(&self) -> f32
pub fn get_color(&self) -> &str
pub fn get_opacity(&self) -> f32
pub fn get_thickness(&self) -> f32
pub fn attrs(&self) -> impl DoubleEndedIterator<Item = (&String, &String)>
pub fn arrowsize<I: Into<f64>>(self, new_arrowsize: I) -> Self
pub fn color<S: Display>(self, color: S) -> Self
pub fn opacity<I: Into<f64>>(self, new_opacity: I) -> Self
pub fn scale<S: Into<f64>>(self, scale: S) -> Self
pub fn thickness<I: Into<f64>>(self, new_thickness: I) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineStyle
impl<'de> Deserialize<'de> for LineStyle
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 LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnsafeUnpin for LineStyle
impl UnwindSafe for LineStyle
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