Struct xcb::x::Visualtype [−][src]
pub struct Visualtype { /* fields omitted */ }
Implementations
pub fn new(
visual_id: Visualid,
class: VisualClass,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype
pub fn new(
visual_id: Visualid,
class: VisualClass,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype
Construct a new Visualtype.
Trait Implementations
Compute the length of serialized data of an instance starting by ptr
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Visualtype
impl Send for Visualtype
impl Sync for Visualtype
impl Unpin for Visualtype
impl UnwindSafe for Visualtype
Blanket Implementations
Mutably borrows from an owned value. Read more