[][src]Struct clipboard_x11::Visualtype

pub struct Visualtype {
    pub base: xcb_visualtype_t,
}

Fields

base: xcb_visualtype_t

Methods

impl Visualtype[src]

pub fn new(
    visual_id: u32,
    class: u8,
    bits_per_rgb_value: u8,
    colormap_entries: u16,
    red_mask: u32,
    green_mask: u32,
    blue_mask: u32
) -> Visualtype
[src]

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

pub fn class(&self) -> u8[src]

pub fn bits_per_rgb_value(&self) -> u8[src]

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

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

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

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

Trait Implementations

impl Clone for Visualtype[src]

impl Copy for Visualtype[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.