Struct drm_sys::drm_ctx_res
source · #[repr(C)]pub struct drm_ctx_res {
pub count: c_int,
pub contexts: *mut drm_ctx,
}
Fields§
§count: c_int
§contexts: *mut drm_ctx
Trait Implementations§
source§impl Clone for drm_ctx_res
impl Clone for drm_ctx_res
source§fn clone(&self) -> drm_ctx_res
fn clone(&self) -> drm_ctx_res
Returns a copy 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 drm_ctx_res
impl Debug for drm_ctx_res
source§impl Default for drm_ctx_res
impl Default for drm_ctx_res
source§impl Hash for drm_ctx_res
impl Hash for drm_ctx_res
source§impl PartialEq for drm_ctx_res
impl PartialEq for drm_ctx_res
source§fn eq(&self, other: &drm_ctx_res) -> bool
fn eq(&self, other: &drm_ctx_res) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for drm_ctx_res
impl Eq for drm_ctx_res
impl StructuralPartialEq for drm_ctx_res
Auto Trait Implementations§
impl Freeze for drm_ctx_res
impl RefUnwindSafe for drm_ctx_res
impl !Send for drm_ctx_res
impl !Sync for drm_ctx_res
impl Unpin for drm_ctx_res
impl UnwindSafe for drm_ctx_res
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