Struct gdk_x11_sys::xlib::Visual
[−]#[repr(C)]pub struct Visual {
pub ext_data: *mut XExtData,
pub visualid: u64,
pub class: i32,
pub red_mask: u64,
pub green_mask: u64,
pub blue_mask: u64,
pub bits_per_rgb: i32,
pub map_entries: i32,
}
Fields
ext_data: *mut XExtData
visualid: u64
class: i32
red_mask: u64
green_mask: u64
blue_mask: u64
bits_per_rgb: i32
map_entries: i32
Trait Implementations
impl Copy for Visual
impl StructuralPartialEq for Visual
Auto Trait Implementations
impl RefUnwindSafe for Visual
impl !Send for Visual
impl !Sync for Visual
impl Unpin for Visual
impl UnwindSafe for Visual
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more