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