[−][src]Struct xcb::xproto::Visualtype
Fields
base: xcb_visualtype_tMethods
impl Visualtype[src]
pub fn new(
visual_id: Visualid,
class: u8,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype[src]
visual_id: Visualid,
class: u8,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype
pub fn visual_id(&self) -> Visualid[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 Copy for Visualtype[src]
impl Clone for Visualtype[src]
fn clone(&self) -> Visualtype[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Unpin for Visualtype
impl Sync for Visualtype
impl Send for Visualtype
impl UnwindSafe for Visualtype
impl RefUnwindSafe for Visualtype
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,