Struct dmabuf_token

#[repr(C)]
pub struct dmabuf_token { pub token_start: __u32, pub token_count: __u32 }

Fields

token_start: __u32
token_count: __u32

Trait Implementations

impl Clone for dmabuf_token

fn clone(&self) -> dmabuf_token

impl Copy for dmabuf_token

impl Debug for dmabuf_token

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for dmabuf_token

impl Hash for dmabuf_token

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for dmabuf_token

fn eq(&self, other: &dmabuf_token) -> bool

impl StructuralPartialEq for dmabuf_token

Auto Trait Implementations

impl Freeze for dmabuf_token

impl RefUnwindSafe for dmabuf_token

impl Send for dmabuf_token

impl Sync for dmabuf_token

impl Unpin for dmabuf_token

impl UnsafeUnpin for dmabuf_token

impl UnwindSafe for dmabuf_token

Blanket Implementations

impl<T> Any for dmabuf_token where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for dmabuf_token where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for dmabuf_token where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for dmabuf_token where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for dmabuf_token

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for dmabuf_token where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for dmabuf_token where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for dmabuf_token where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>