[]Struct pango::Context

pub struct Context(_, _);

Methods

impl Context[src]

pub fn new() -> Context[src]

pub fn changed(&self)[src]

pub fn get_base_dir(&self) -> Direction[src]

pub fn get_base_gravity(&self) -> Gravity[src]

pub fn get_font_description(&self) -> Option<FontDescription>[src]

pub fn get_font_map(&self) -> Option<FontMap>[src]

pub fn get_gravity(&self) -> Gravity[src]

pub fn get_gravity_hint(&self) -> GravityHint[src]

pub fn get_language(&self) -> Option<Language>[src]

pub fn get_matrix(&self) -> Option<Matrix>[src]

pub fn get_metrics(
    &self,
    desc: Option<&FontDescription>,
    language: Option<&Language>
) -> Option<FontMetrics>
[src]

pub fn get_serial(&self) -> u32[src]

pub fn list_families(&self) -> Vec<FontFamily>[src]

pub fn load_font(&self, desc: &FontDescription) -> Option<Font>[src]

pub fn load_fontset(
    &self,
    desc: &FontDescription,
    language: &Language
) -> Option<Fontset>
[src]

pub fn set_base_dir(&self, direction: Direction)[src]

pub fn set_base_gravity(&self, gravity: Gravity)[src]

pub fn set_font_description(&self, desc: &FontDescription)[src]

pub fn set_font_map<P: IsA<FontMap>>(&self, font_map: &P)[src]

pub fn set_gravity_hint(&self, hint: GravityHint)[src]

pub fn set_language(&self, language: &Language)[src]

pub fn set_matrix(&self, matrix: Option<&Matrix>)[src]

Trait Implementations

impl Clone for Context

impl Debug for Context

impl Default for Context[src]

impl Display for Context[src]

impl Eq for Context

impl Hash for Context

impl Ord for Context

impl<T: ObjectType> PartialEq<T> for Context

impl<T: ObjectType> PartialOrd<T> for Context

impl StaticType for Context

Auto Trait Implementations

impl RefUnwindSafe for Context

impl !Send for Context

impl !Sync for Context

impl Unpin for Context

impl UnwindSafe for Context

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.