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