pub enum ThicknessStyle {
Bold,
Normal,
Dashed,
Dotted,
}Expand description
Represents the available line thickness and style options in PlantUML.
Variants§
Implementations§
Source§impl ThicknessStyle
impl ThicknessStyle
Sourcepub fn as_plantuml(&self) -> &'static str
pub fn as_plantuml(&self) -> &'static str
Returns the PlantUML-compatible directive for the line style.
Trait Implementations§
Source§impl Clone for ThicknessStyle
impl Clone for ThicknessStyle
Source§fn clone(&self) -> ThicknessStyle
fn clone(&self) -> ThicknessStyle
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 ThicknessStyle
impl Debug for ThicknessStyle
Source§impl<'de> Deserialize<'de> for ThicknessStyle
impl<'de> Deserialize<'de> for ThicknessStyle
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
Source§impl PartialEq for ThicknessStyle
impl PartialEq for ThicknessStyle
Source§impl Serialize for ThicknessStyle
impl Serialize for ThicknessStyle
impl StructuralPartialEq for ThicknessStyle
Auto Trait Implementations§
impl Freeze for ThicknessStyle
impl RefUnwindSafe for ThicknessStyle
impl Send for ThicknessStyle
impl Sync for ThicknessStyle
impl Unpin for ThicknessStyle
impl UnsafeUnpin for ThicknessStyle
impl UnwindSafe for ThicknessStyle
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