Struct x11_dl::xlib::Visual [−][src]
#[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
impl Clone for Visual
[src]
impl Copy for Visual
[src]
impl Debug for Visual
[src]
impl PartialEq<Visual> for Visual
[src]
impl StructuralPartialEq for Visual
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,