#[repr(u32)]pub enum TextDecorationStyle {
Solid = 0,
Double = 1,
Dotted = 2,
Dashed = 3,
Wavy = 4,
}
Variants§
Trait Implementations§
§impl Clone for skia_textlayout_TextDecorationStyle
impl Clone for skia_textlayout_TextDecorationStyle
§fn clone(&self) -> skia_textlayout_TextDecorationStyle
fn clone(&self) -> skia_textlayout_TextDecorationStyle
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 more§impl Default for skia_textlayout_TextDecorationStyle
impl Default for skia_textlayout_TextDecorationStyle
§fn default() -> skia_textlayout_TextDecorationStyle
fn default() -> skia_textlayout_TextDecorationStyle
Returns the “default value” for a type. Read more
§impl Hash for skia_textlayout_TextDecorationStyle
impl Hash for skia_textlayout_TextDecorationStyle
§impl PartialEq for skia_textlayout_TextDecorationStyle
impl PartialEq for skia_textlayout_TextDecorationStyle
§fn eq(&self, other: &skia_textlayout_TextDecorationStyle) -> bool
fn eq(&self, other: &skia_textlayout_TextDecorationStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for skia_textlayout_TextDecorationStyle
impl Eq for skia_textlayout_TextDecorationStyle
impl StructuralEq for skia_textlayout_TextDecorationStyle
impl StructuralPartialEq for skia_textlayout_TextDecorationStyle
Auto Trait Implementations§
impl RefUnwindSafe for skia_textlayout_TextDecorationStyle
impl Send for skia_textlayout_TextDecorationStyle
impl Sync for skia_textlayout_TextDecorationStyle
impl Unpin for skia_textlayout_TextDecorationStyle
impl UnwindSafe for skia_textlayout_TextDecorationStyle
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