Struct pango::FontDescription
[−]
pub struct FontDescription(_);
Methods
impl FontDescription
[src]
fn new() -> FontDescription
fn better_match<'a, P: Into<Option<&'a FontDescription>>>(
&self,
old_match: P,
new_match: &FontDescription
) -> bool
&self,
old_match: P,
new_match: &FontDescription
) -> bool
fn get_family(&self) -> Option<String>
fn get_gravity(&self) -> Gravity
fn get_set_fields(&self) -> FontMask
fn get_size(&self) -> i32
fn get_size_is_absolute(&self) -> bool
fn get_stretch(&self) -> Stretch
fn get_style(&self) -> Style
fn get_variant(&self) -> Variant
fn get_weight(&self) -> Weight
fn hash(&self) -> u32
fn merge<'a, P: Into<Option<&'a FontDescription>>>(
&mut self,
desc_to_merge: P,
replace_existing: bool
)
&mut self,
desc_to_merge: P,
replace_existing: bool
)
fn set_absolute_size(&mut self, size: f64)
fn set_family(&mut self, family: &str)
fn set_gravity(&mut self, gravity: Gravity)
fn set_size(&mut self, size: i32)
fn set_stretch(&mut self, stretch: Stretch)
fn set_style(&mut self, style: Style)
fn set_variant(&mut self, variant: Variant)
fn set_weight(&mut self, weight: Weight)
fn to_filename(&self) -> Option<String>
fn unset_fields(&mut self, to_unset: FontMask)
fn from_string(str: &str) -> FontDescription
impl FontDescription
[src]
fn set_family_static(&mut self, family: &'static str)
Trait Implementations
impl Clone for FontDescription
fn clone(&self) -> FontDescription
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for FontDescription
impl PartialEq for FontDescription
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.