[−][src]Struct cairo::FontOptions
Implementations
impl FontOptions[src]
pub fn new() -> FontOptions[src]
pub unsafe fn from_raw_full(ptr: *mut cairo_font_options_t) -> FontOptions[src]
pub fn to_raw_none(&self) -> *mut cairo_font_options_t[src]
pub fn merge(&mut self, other: &FontOptions)[src]
pub fn set_antialias(&mut self, antialias: Antialias)[src]
pub fn get_antialias(&self) -> Antialias[src]
pub fn set_subpixel_order(&mut self, order: SubpixelOrder)[src]
pub fn get_subpixel_order(&self) -> SubpixelOrder[src]
pub fn set_hint_style(&mut self, hint_style: HintStyle)[src]
pub fn get_hint_style(&self) -> HintStyle[src]
pub fn set_hint_metrics(&mut self, hint_metrics: HintMetrics)[src]
pub fn get_hint_metrics(&self) -> HintMetrics[src]
pub fn get_variations(&self) -> Option<String>[src]
pub fn set_variations<'a, T: Into<Option<&'a str>>>(&self, variations: T)[src]
Trait Implementations
impl Clone for FontOptions[src]
fn clone(&self) -> FontOptions[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FontOptions[src]
impl Default for FontOptions[src]
impl Eq for FontOptions[src]
impl Hash for FontOptions[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<FontOptions> for FontOptions[src]
fn eq(&self, other: &FontOptions) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StaticType for FontOptions[src]
fn static_type() -> Type[src]
Auto Trait Implementations
impl RefUnwindSafe for FontOptions
impl !Send for FontOptions
impl !Sync for FontOptions
impl Unpin for FontOptions
impl UnwindSafe for FontOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized, [src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue[src]
impl<T> ToValue for T where
T: SetValue + ?Sized, [src]
T: SetValue + ?Sized,
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>,