[−][src]Struct skia_safe::font_style::Weight
Wrapper type of a font weight.
Use Weight::from() to create a weight from an i32. Use *weight to pull out the wrapped value of the Weight.
Methods
impl Weight
[src]
pub const Invisible: Self
[src]
Deprecated:
use INVISIBLE
pub const Thin: Self
[src]
Deprecated:
use THIN
pub const ExtraLight: Self
[src]
Deprecated:
use EXTRA_LIGHT
pub const Light: Self
[src]
Deprecated:
use LIGHT
pub const Normal: Self
[src]
Deprecated:
use NORMAL
pub const Medium: Self
[src]
Deprecated:
use MEDIUM
pub const SemiBold: Self
[src]
Deprecated:
use SEMI_BOLD
pub const Bold: Self
[src]
Deprecated:
use BOLD
pub const ExtraBold: Self
[src]
Deprecated:
use EXTRA_BOLD
pub const Black: Self
[src]
Deprecated:
use BLACK
pub const ExtraBlack: Self
[src]
Deprecated:
use EXTRA_BLACK
pub const INVISIBLE: Self
[src]
pub const THIN: Self
[src]
pub const EXTRA_LIGHT: Self
[src]
pub const LIGHT: Self
[src]
pub const NORMAL: Self
[src]
pub const MEDIUM: Self
[src]
pub const SEMI_BOLD: Self
[src]
pub const BOLD: Self
[src]
pub const EXTRA_BOLD: Self
[src]
pub const BLACK: Self
[src]
pub const EXTRA_BLACK: Self
[src]
Trait Implementations
impl Clone for Weight
[src]
impl PartialOrd<Weight> for Weight
[src]
fn partial_cmp(&self, other: &Weight) -> Option<Ordering>
[src]
fn lt(&self, other: &Weight) -> bool
[src]
fn le(&self, other: &Weight) -> bool
[src]
fn gt(&self, other: &Weight) -> bool
[src]
fn ge(&self, other: &Weight) -> bool
[src]
impl PartialEq<Weight> for Weight
[src]
impl From<i32> for Weight
[src]
impl Copy for Weight
[src]
impl Deref for Weight
[src]
Auto Trait Implementations
impl Unpin for Weight
impl Sync for Weight
impl Send for Weight
impl UnwindSafe for Weight
impl RefUnwindSafe for Weight
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,