Struct charming::element::line_style::LineStyle
source · pub struct LineStyle { /* private fields */ }
Implementations§
source§impl LineStyle
impl LineStyle
pub fn new() -> Self
pub fn color<C: Into<Color>>(self, color: C) -> Self
pub fn width<F: Into<f64>>(self, width: F) -> Self
pub fn type_<L: Into<LineStyleType>>(self, type_: L) -> Self
pub fn opacity<F: Into<f64>>(self, opacity: F) -> Self
pub fn curveness<F: Into<f64>>(self, curveness: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin 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