pub enum GlyphEffect {
None = 0,
Underline = 4_096,
Strikethrough = 8_192,
}
Variants§
None = 0
No special effect applied to the glyph.
Underline = 4_096
Underline effect applied below the glyph.
Strikethrough = 8_192
Strikethrough effect applied through the glyph.
Implementations§
Source§impl GlyphEffect
impl GlyphEffect
pub fn from_u16(v: u16) -> GlyphEffect
Trait Implementations§
Source§impl Clone for GlyphEffect
impl Clone for GlyphEffect
Source§fn clone(&self) -> GlyphEffect
fn clone(&self) -> GlyphEffect
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 GlyphEffect
impl Debug for GlyphEffect
Source§impl PartialEq for GlyphEffect
impl PartialEq for GlyphEffect
impl Copy for GlyphEffect
impl Eq for GlyphEffect
impl StructuralPartialEq for GlyphEffect
Auto Trait Implementations§
impl Freeze for GlyphEffect
impl RefUnwindSafe for GlyphEffect
impl Send for GlyphEffect
impl Sync for GlyphEffect
impl Unpin for GlyphEffect
impl UnwindSafe for GlyphEffect
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