Struct pango::Context
[−]
pub struct Context(_, _);
Methods
impl Context
[src]
fn new() -> Context
fn get_base_dir(&self) -> Direction
fn get_base_gravity(&self) -> Gravity
fn get_font_description(&self) -> Option<FontDescription>
fn get_font_map(&self) -> Option<FontMap>
fn get_gravity(&self) -> Gravity
fn get_gravity_hint(&self) -> GravityHint
fn set_base_dir(&self, direction: Direction)
fn set_base_gravity(&self, gravity: Gravity)
fn set_font_description(&self, desc: &FontDescription)
fn set_font_map(&self, font_map: &FontMap)
fn set_gravity_hint(&self, hint: GravityHint)
Trait Implementations
impl Clone for Context
fn clone(&self) -> Context
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 Context
impl Hash for Context
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for Context
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Context
fn eq(&self, other: &T) -> 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 !=
.