Struct pango::FontMetrics[][src]

pub struct FontMetrics(_);

Implementations

impl FontMetrics[src]

pub fn new() -> FontMetrics[src]

pub fn get_approximate_char_width(&self) -> i32[src]

pub fn get_approximate_digit_width(&self) -> i32[src]

pub fn get_ascent(&self) -> i32[src]

pub fn get_descent(&self) -> i32[src]

pub fn get_strikethrough_position(&self) -> i32[src]

pub fn get_strikethrough_thickness(&self) -> i32[src]

pub fn get_underline_position(&self) -> i32[src]

pub fn get_underline_thickness(&self) -> i32[src]

Trait Implementations

impl Clone for FontMetrics[src]

impl Debug for FontMetrics[src]

impl Default for FontMetrics[src]

impl Eq for FontMetrics[src]

impl Hash for FontMetrics[src]

impl Ord for FontMetrics[src]

impl PartialEq<FontMetrics> for FontMetrics[src]

impl PartialOrd<FontMetrics> for FontMetrics[src]

impl StaticType for FontMetrics[src]

impl StructuralEq for FontMetrics[src]

impl StructuralPartialEq for FontMetrics[src]

Auto Trait Implementations

impl RefUnwindSafe for FontMetrics

impl !Send for FontMetrics

impl !Sync for FontMetrics

impl Unpin for FontMetrics

impl UnwindSafe for FontMetrics

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<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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

type Error = Infallible

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.