pub struct ElementLine {
pub color: (u8, u8, u8),
pub width: f64,
pub visible: bool,
pub linetype: Linetype,
}Expand description
Line element styling.
Fields§
§color: (u8, u8, u8)§width: f64§visible: bool§linetype: LinetypeLine style (R’s element_line(linetype = ...)).
Implementations§
Source§impl ElementLine
impl ElementLine
Trait Implementations§
Source§impl Clone for ElementLine
impl Clone for ElementLine
Source§impl Debug for ElementLine
impl Debug for ElementLine
Auto Trait Implementations§
impl Freeze for ElementLine
impl RefUnwindSafe for ElementLine
impl Send for ElementLine
impl Sync for ElementLine
impl Unpin for ElementLine
impl UnsafeUnpin for ElementLine
impl UnwindSafe for ElementLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more