[−]Struct cairo::FontOptions
Methods
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 ensure_status(&self)
[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]
Trait Implementations
impl PartialEq<FontOptions> for FontOptions
[src]
fn eq(&self, other: &FontOptions) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Default for FontOptions
[src]
impl Clone for FontOptions
fn clone(&self) -> FontOptions
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for FontOptions
[src]
impl StaticType for FontOptions
fn static_type() -> Type
Auto Trait Implementations
impl !Send for FontOptions
impl !Sync for FontOptions
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,