pub struct MorphLineStyle {
pub width: u16,
pub morph_width: u16,
pub start_cap: CapStyle,
pub end_cap: CapStyle,
pub join: JoinStyle,
pub no_h_scale: bool,
pub no_v_scale: bool,
pub no_close: bool,
pub pixel_hinting: bool,
pub fill: MorphFillStyle,
}
Fields§
§width: u16
§morph_width: u16
§start_cap: CapStyle
§end_cap: CapStyle
§join: JoinStyle
§no_h_scale: bool
§no_v_scale: bool
§no_close: bool
§pixel_hinting: bool
§fill: MorphFillStyle
Trait Implementations§
Source§impl Clone for MorphLineStyle
impl Clone for MorphLineStyle
Source§fn clone(&self) -> MorphLineStyle
fn clone(&self) -> MorphLineStyle
Returns a copy 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 MorphLineStyle
impl Debug for MorphLineStyle
Source§impl<'de> Deserialize<'de> for MorphLineStyle
impl<'de> Deserialize<'de> for MorphLineStyle
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 Hash for MorphLineStyle
impl Hash for MorphLineStyle
Source§impl Ord for MorphLineStyle
impl Ord for MorphLineStyle
Source§fn cmp(&self, other: &MorphLineStyle) -> Ordering
fn cmp(&self, other: &MorphLineStyle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MorphLineStyle
impl PartialEq for MorphLineStyle
Source§impl PartialOrd for MorphLineStyle
impl PartialOrd for MorphLineStyle
Source§impl Serialize for MorphLineStyle
impl Serialize for MorphLineStyle
impl Eq for MorphLineStyle
impl StructuralPartialEq for MorphLineStyle
Auto Trait Implementations§
impl Freeze for MorphLineStyle
impl RefUnwindSafe for MorphLineStyle
impl Send for MorphLineStyle
impl Sync for MorphLineStyle
impl Unpin for MorphLineStyle
impl UnwindSafe for MorphLineStyle
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