[][src]Struct clipboard_x11::Charinfo

pub struct Charinfo {
    pub base: xcb_charinfo_t,
}

Fields

base: xcb_charinfo_t

Methods

impl Charinfo[src]

pub fn new(
    left_side_bearing: i16,
    right_side_bearing: i16,
    character_width: i16,
    ascent: i16,
    descent: i16,
    attributes: u16
) -> Charinfo
[src]

pub fn left_side_bearing(&self) -> i16[src]

pub fn right_side_bearing(&self) -> i16[src]

pub fn character_width(&self) -> i16[src]

pub fn ascent(&self) -> i16[src]

pub fn descent(&self) -> i16[src]

pub fn attributes(&self) -> u16[src]

Trait Implementations

impl Clone for Charinfo[src]

impl Copy for Charinfo[src]

Auto Trait Implementations

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, 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.