#[repr(u32)]pub enum TextHeightBehavior {
All = 0,
DisableFirstAscent = 1,
DisableLastDescent = 2,
DisableAll = 3,
}
Variants§
Trait Implementations§
§impl Clone for skia_textlayout_TextHeightBehavior
impl Clone for skia_textlayout_TextHeightBehavior
§fn clone(&self) -> skia_textlayout_TextHeightBehavior
fn clone(&self) -> skia_textlayout_TextHeightBehavior
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 Debug for skia_textlayout_TextHeightBehavior
impl Debug for skia_textlayout_TextHeightBehavior
§impl Hash for skia_textlayout_TextHeightBehavior
impl Hash for skia_textlayout_TextHeightBehavior
§impl PartialEq for skia_textlayout_TextHeightBehavior
impl PartialEq for skia_textlayout_TextHeightBehavior
§fn eq(&self, other: &skia_textlayout_TextHeightBehavior) -> bool
fn eq(&self, other: &skia_textlayout_TextHeightBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for skia_textlayout_TextHeightBehavior
impl Eq for skia_textlayout_TextHeightBehavior
impl StructuralEq for skia_textlayout_TextHeightBehavior
impl StructuralPartialEq for skia_textlayout_TextHeightBehavior
Auto Trait Implementations§
impl RefUnwindSafe for skia_textlayout_TextHeightBehavior
impl Send for skia_textlayout_TextHeightBehavior
impl Sync for skia_textlayout_TextHeightBehavior
impl Unpin for skia_textlayout_TextHeightBehavior
impl UnwindSafe for skia_textlayout_TextHeightBehavior
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