pub struct FontOptions(/* private fields */);
Implementations§
Source§impl 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§
Source§impl Clone for FontOptions
impl Clone for FontOptions
Source§fn clone(&self) -> FontOptions
fn clone(&self) -> FontOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FontOptions
impl Debug for FontOptions
Source§impl Default for FontOptions
impl Default for FontOptions
Source§impl Hash for FontOptions
impl Hash for FontOptions
Source§impl PartialEq for FontOptions
impl PartialEq for FontOptions
Source§impl StaticType for FontOptions
impl StaticType for FontOptions
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for FontOptions
Auto Trait Implementations§
impl Freeze for FontOptions
impl RefUnwindSafe for FontOptions
impl !Send for FontOptions
impl !Sync for FontOptions
impl Unpin for FontOptions
impl UnwindSafe for FontOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more