Enum cairo::FontWeight
source · [−]pub enum FontWeight {
Normal,
Bold,
// some variants omitted
}Variants
Normal
Bold
Trait Implementations
sourceimpl Clone for FontWeight
impl Clone for FontWeight
sourcefn clone(&self) -> FontWeight
fn clone(&self) -> FontWeight
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FontWeight
impl Debug for FontWeight
sourceimpl Display for FontWeight
impl Display for FontWeight
sourceimpl<'a> FromValue<'a> for FontWeight
impl<'a> FromValue<'a> for FontWeight
unsafe fn from_value(value: &Value) -> Self
sourceimpl<'a> FromValueOptional<'a> for FontWeight
impl<'a> FromValueOptional<'a> for FontWeight
unsafe fn from_value_optional(value: &Value) -> Option<Self>
sourceimpl PartialEq<FontWeight> for FontWeight
impl PartialEq<FontWeight> for FontWeight
sourcefn eq(&self, other: &FontWeight) -> bool
fn eq(&self, other: &FontWeight) -> bool
sourceimpl PartialOrd<FontWeight> for FontWeight
impl PartialOrd<FontWeight> for FontWeight
sourcefn partial_cmp(&self, other: &FontWeight) -> Option<Ordering>
fn partial_cmp(&self, other: &FontWeight) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl StaticType for FontWeight
impl StaticType for FontWeight
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Copy for FontWeight
impl StructuralPartialEq for FontWeight
Auto Trait Implementations
impl RefUnwindSafe for FontWeight
impl Send for FontWeight
impl Sync for FontWeight
impl Unpin for FontWeight
impl UnwindSafe for FontWeight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.