#[repr(C)]pub struct NativeBufferANDROID {
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,
}
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
Implementations§
Source§impl NativeBufferANDROID
impl NativeBufferANDROID
pub fn builder<'a>() -> NativeBufferANDROIDBuilder<'a>
Trait Implementations§
Source§impl Clone for NativeBufferANDROID
impl Clone for NativeBufferANDROID
Source§fn clone(&self) -> NativeBufferANDROID
fn clone(&self) -> NativeBufferANDROID
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 NativeBufferANDROID
impl Debug for NativeBufferANDROID
Source§impl Default for NativeBufferANDROID
impl Default for NativeBufferANDROID
Source§impl TaggedStructure for NativeBufferANDROID
impl TaggedStructure for NativeBufferANDROID
const STRUCTURE_TYPE: StructureType = StructureType::NATIVE_BUFFER_ANDROID
impl Copy for NativeBufferANDROID
Auto Trait Implementations§
impl Freeze for NativeBufferANDROID
impl RefUnwindSafe for NativeBufferANDROID
impl !Send for NativeBufferANDROID
impl !Sync for NativeBufferANDROID
impl Unpin for NativeBufferANDROID
impl UnwindSafe for NativeBufferANDROID
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)