pub enum LineStylePattern {
Dashed,
Dotted,
}Expand description
The line pattern (default: solid)
Variants§
Trait Implementations§
Source§impl AsRef<str> for LineStylePattern
impl AsRef<str> for LineStylePattern
Source§impl Clone for LineStylePattern
impl Clone for LineStylePattern
Source§fn clone(&self) -> LineStylePattern
fn clone(&self) -> LineStylePattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LineStylePattern
impl Debug for LineStylePattern
Source§impl Default for LineStylePattern
impl Default for LineStylePattern
Source§fn default() -> LineStylePattern
fn default() -> LineStylePattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LineStylePattern
impl<'de> Deserialize<'de> for LineStylePattern
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
impl Eq for LineStylePattern
Source§impl FromStr for LineStylePattern
impl FromStr for LineStylePattern
Source§impl Hash for LineStylePattern
impl Hash for LineStylePattern
Source§impl PartialEq for LineStylePattern
impl PartialEq for LineStylePattern
Source§fn eq(&self, other: &LineStylePattern) -> bool
fn eq(&self, other: &LineStylePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LineStylePattern
impl Serialize for LineStylePattern
impl StructuralPartialEq for LineStylePattern
Auto Trait Implementations§
impl Freeze for LineStylePattern
impl RefUnwindSafe for LineStylePattern
impl Send for LineStylePattern
impl Sync for LineStylePattern
impl Unpin for LineStylePattern
impl UnsafeUnpin for LineStylePattern
impl UnwindSafe for LineStylePattern
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