pub struct LineConfig { /* private fields */ }
Implementations§
Source§impl LineConfig
impl LineConfig
pub fn with_tension(self, tension: f32) -> Self
pub fn with_stepped(self, stepped: bool) -> Self
pub fn with_cubic_interpolation_mode(self, mode: CubicInterpolationMode) -> Self
pub fn with_fill(self, fill: Fill) -> Self
pub fn with_border_color(self, color: Rgb) -> Self
pub fn with_background_color(self, color: Rgb) -> Self
Trait Implementations§
Source§impl Clone for LineConfig
impl Clone for LineConfig
Source§fn clone(&self) -> LineConfig
fn clone(&self) -> LineConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LineConfig
impl Debug for LineConfig
Source§impl Default for LineConfig
impl Default for LineConfig
Source§fn default() -> LineConfig
fn default() -> LineConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LineConfig
impl RefUnwindSafe for LineConfig
impl Send for LineConfig
impl Sync for LineConfig
impl Unpin for LineConfig
impl UnwindSafe for LineConfig
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