#[repr(C)]pub struct NativeBufferANDROID<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub handle: *const c_void,
pub stride: c_int,
pub format: c_int,
pub usage: c_int,
pub usage2: NativeBufferUsage2ANDROID,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§handle: *const c_void§stride: c_int§format: c_int§usage: c_int§usage2: NativeBufferUsage2ANDROID§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> NativeBufferANDROID<'a>
impl<'a> NativeBufferANDROID<'a>
Trait Implementations§
Source§impl<'a> Clone for NativeBufferANDROID<'a>
impl<'a> Clone for NativeBufferANDROID<'a>
Source§fn clone(&self) -> NativeBufferANDROID<'a>
fn clone(&self) -> NativeBufferANDROID<'a>
Returns a duplicate 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<'a> Debug for NativeBufferANDROID<'a>
impl<'a> Debug for NativeBufferANDROID<'a>
Source§impl Default for NativeBufferANDROID<'_>
impl Default for NativeBufferANDROID<'_>
Source§impl<'a> TaggedStructure for NativeBufferANDROID<'a>
impl<'a> TaggedStructure for NativeBufferANDROID<'a>
const STRUCTURE_TYPE: StructureType = StructureType::NATIVE_BUFFER_ANDROID
impl<'a> Copy for NativeBufferANDROID<'a>
impl Send for NativeBufferANDROID<'_>
impl Sync for NativeBufferANDROID<'_>
Auto Trait Implementations§
impl<'a> Freeze for NativeBufferANDROID<'a>
impl<'a> RefUnwindSafe for NativeBufferANDROID<'a>
impl<'a> Unpin for NativeBufferANDROID<'a>
impl<'a> UnwindSafe for NativeBufferANDROID<'a>
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