#[repr(C)]pub struct Visual {
pub ext_data: *mut XExtData,
pub visualid: VisualID,
pub class: c_int,
pub red_mask: c_ulong,
pub green_mask: c_ulong,
pub blue_mask: c_ulong,
pub bits_per_rgb: c_int,
pub map_entries: c_int,
}
Fields§
§ext_data: *mut XExtData
§visualid: VisualID
§class: c_int
§red_mask: c_ulong
§green_mask: c_ulong
§blue_mask: c_ulong
§bits_per_rgb: c_int
§map_entries: c_int
Trait Implementations§
source§impl PartialEq for Visual
impl PartialEq for Visual
impl Copy for Visual
impl StructuralPartialEq for Visual
Auto Trait Implementations§
impl Freeze for Visual
impl RefUnwindSafe for Visual
impl !Send for Visual
impl !Sync for Visual
impl Unpin for Visual
impl UnwindSafe for Visual
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