Struct libdav1d_sys::Dav1dUserData
source · #[repr(C)]pub struct Dav1dUserData {
pub data: *const u8,
pub ref_: *mut Dav1dRef,
}
Expand description
A reference-counted object wrapper for a user-configurable pointer.
Fields§
§data: *const u8
< data pointer
ref_: *mut Dav1dRef
< allocation origin
Trait Implementations§
source§impl Clone for Dav1dUserData
impl Clone for Dav1dUserData
source§fn clone(&self) -> Dav1dUserData
fn clone(&self) -> Dav1dUserData
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 Dav1dUserData
impl Debug for Dav1dUserData
impl Copy for Dav1dUserData
Auto Trait Implementations§
impl RefUnwindSafe for Dav1dUserData
impl !Send for Dav1dUserData
impl !Sync for Dav1dUserData
impl Unpin for Dav1dUserData
impl UnwindSafe for Dav1dUserData
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