#[repr(C)]pub struct Depth {
pub depth: c_int,
pub nvisuals: c_int,
pub visuals: *mut Visual,
}
Fields§
§depth: c_int
§nvisuals: c_int
§visuals: *mut Visual
Trait Implementations§
impl Copy for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl !Send for Depth
impl !Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)