#[repr(u32)]pub enum SkFontStyle_Weight {
kInvisible_Weight,
kThin_Weight,
kExtraLight_Weight,
kLight_Weight,
kNormal_Weight,
kMedium_Weight,
kSemiBold_Weight,
kBold_Weight,
kExtraBold_Weight,
kBlack_Weight,
kExtraBlack_Weight,
}
Variants§
kInvisible_Weight
kThin_Weight
kExtraLight_Weight
kLight_Weight
kNormal_Weight
kMedium_Weight
kSemiBold_Weight
kBold_Weight
kExtraBold_Weight
kBlack_Weight
kExtraBlack_Weight
Trait Implementations§
source§impl Clone for SkFontStyle_Weight
impl Clone for SkFontStyle_Weight
source§fn clone(&self) -> SkFontStyle_Weight
fn clone(&self) -> SkFontStyle_Weight
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 SkFontStyle_Weight
impl Debug for SkFontStyle_Weight
source§impl Hash for SkFontStyle_Weight
impl Hash for SkFontStyle_Weight
source§impl PartialEq<SkFontStyle_Weight> for SkFontStyle_Weight
impl PartialEq<SkFontStyle_Weight> for SkFontStyle_Weight
source§fn eq(&self, other: &SkFontStyle_Weight) -> bool
fn eq(&self, other: &SkFontStyle_Weight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SkFontStyle_Weight
impl Eq for SkFontStyle_Weight
impl StructuralEq for SkFontStyle_Weight
impl StructuralPartialEq for SkFontStyle_Weight
Auto Trait Implementations§
impl RefUnwindSafe for SkFontStyle_Weight
impl Send for SkFontStyle_Weight
impl Sync for SkFontStyle_Weight
impl Unpin for SkFontStyle_Weight
impl UnwindSafe for SkFontStyle_Weight
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