Struct cairo::FontOptions
source · [−]pub struct FontOptions(_);Implementations
sourceimpl FontOptions
impl FontOptions
pub fn new() -> FontOptions
pub unsafe fn from_raw_full(ptr: *mut cairo_font_options_t) -> FontOptions
pub fn to_raw_none(&self) -> *mut cairo_font_options_t
pub fn ensure_status(&self)
pub fn merge(&mut self, other: &FontOptions)
pub fn set_antialias(&mut self, antialias: Antialias)
pub fn get_antialias(&self) -> Antialias
pub fn set_subpixel_order(&mut self, order: SubpixelOrder)
pub fn get_subpixel_order(&self) -> SubpixelOrder
pub fn set_hint_style(&mut self, hint_style: HintStyle)
pub fn get_hint_style(&self) -> HintStyle
pub fn set_hint_metrics(&mut self, hint_metrics: HintMetrics)
pub fn get_hint_metrics(&self) -> HintMetrics
Trait Implementations
sourceimpl Clone for FontOptions
impl Clone for FontOptions
sourcefn clone(&self) -> FontOptions
fn clone(&self) -> FontOptions
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 FontOptions
impl Debug for FontOptions
sourceimpl Default for FontOptions
impl Default for FontOptions
sourceimpl Hash for FontOptions
impl Hash for FontOptions
sourceimpl PartialEq<FontOptions> for FontOptions
impl PartialEq<FontOptions> for FontOptions
sourcefn eq(&self, other: &FontOptions) -> bool
fn eq(&self, other: &FontOptions) -> bool
sourceimpl StaticType for FontOptions
impl StaticType for FontOptions
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for FontOptions
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
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