pub enum LineType {
Dash,
Dot,
DotDash,
DotDotDash,
SmallDot,
Solid,
}
Expand description
Line type
Variants§
Trait Implementations§
Source§impl Set<LineType> for Properties
impl Set<LineType> for Properties
Source§fn set(&mut self, lt: LineType) -> &mut Properties
fn set(&mut self, lt: LineType) -> &mut Properties
Changes the line type
Note By default Solid
lines are used
Source§impl Set<LineType> for Properties
impl Set<LineType> for Properties
Source§fn set(&mut self, lt: LineType) -> &mut Properties
fn set(&mut self, lt: LineType) -> &mut Properties
Changes the line type
Note By default Solid
lines are used
Source§impl Set<LineType> for Properties
impl Set<LineType> for Properties
Source§fn set(&mut self, lt: LineType) -> &mut Properties
fn set(&mut self, lt: LineType) -> &mut Properties
Change the line type
Note By default Solid
lines are used
impl Copy for LineType
Auto Trait Implementations§
impl Freeze for LineType
impl RefUnwindSafe for LineType
impl Send for LineType
impl Sync for LineType
impl Unpin for LineType
impl UnwindSafe for LineType
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 moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Dash
: 0 bytesDot
: 0 bytesDotDash
: 0 bytesDotDotDash
: 0 bytesSmallDot
: 0 bytesSolid
: 0 bytes