#[repr(C)]pub struct xcb_visualtype_t {
pub visual_id: xcb_visualid_t,
pub _class: u8,
pub bits_per_rgb_value: u8,
pub colormap_entries: u16,
pub red_mask: u32,
pub green_mask: u32,
pub blue_mask: u32,
pub pad0: [u8; 4],
}Fields§
§visual_id: xcb_visualid_t§_class: u8§bits_per_rgb_value: u8§colormap_entries: u16§red_mask: u32§green_mask: u32§blue_mask: u32§pad0: [u8; 4]Trait Implementations§
Source§impl Clone for xcb_visualtype_t
impl Clone for xcb_visualtype_t
Source§fn clone(&self) -> xcb_visualtype_t
fn clone(&self) -> xcb_visualtype_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for xcb_visualtype_t
impl Debug for xcb_visualtype_t
impl Copy for xcb_visualtype_t
Auto Trait Implementations§
impl Freeze for xcb_visualtype_t
impl RefUnwindSafe for xcb_visualtype_t
impl Send for xcb_visualtype_t
impl Sync for xcb_visualtype_t
impl Unpin for xcb_visualtype_t
impl UnwindSafe for xcb_visualtype_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more