#[repr(C)]pub struct AndroidHardwareBufferPropertiesANDROID {
pub s_type: StructureType,
pub next: *mut c_void,
pub allocation_size: u64,
pub memory_type_bits: u32,
}
Expand description
Fields§
§s_type: StructureType
§next: *mut c_void
§allocation_size: u64
§memory_type_bits: u32
Trait Implementations§
source§impl Cast for AndroidHardwareBufferPropertiesANDROID
impl Cast for AndroidHardwareBufferPropertiesANDROID
§type Target = AndroidHardwareBufferPropertiesANDROID
type Target = AndroidHardwareBufferPropertiesANDROID
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AndroidHardwareBufferPropertiesANDROID
impl Clone for AndroidHardwareBufferPropertiesANDROID
source§fn clone(&self) -> AndroidHardwareBufferPropertiesANDROID
fn clone(&self) -> AndroidHardwareBufferPropertiesANDROID
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 Default for AndroidHardwareBufferPropertiesANDROID
impl Default for AndroidHardwareBufferPropertiesANDROID
source§fn default() -> AndroidHardwareBufferPropertiesANDROID
fn default() -> AndroidHardwareBufferPropertiesANDROID
Returns the “default value” for a type. Read more
source§impl<'b> HasBuilder<'b> for AndroidHardwareBufferPropertiesANDROID
impl<'b> HasBuilder<'b> for AndroidHardwareBufferPropertiesANDROID
source§impl PartialEq<AndroidHardwareBufferPropertiesANDROID> for AndroidHardwareBufferPropertiesANDROID
impl PartialEq<AndroidHardwareBufferPropertiesANDROID> for AndroidHardwareBufferPropertiesANDROID
source§fn eq(&self, other: &AndroidHardwareBufferPropertiesANDROID) -> bool
fn eq(&self, other: &AndroidHardwareBufferPropertiesANDROID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AndroidHardwareBufferPropertiesANDROID
impl Eq for AndroidHardwareBufferPropertiesANDROID
impl StructuralEq for AndroidHardwareBufferPropertiesANDROID
impl StructuralPartialEq for AndroidHardwareBufferPropertiesANDROID
Auto Trait Implementations§
impl RefUnwindSafe for AndroidHardwareBufferPropertiesANDROID
impl !Send for AndroidHardwareBufferPropertiesANDROID
impl !Sync for AndroidHardwareBufferPropertiesANDROID
impl Unpin for AndroidHardwareBufferPropertiesANDROID
impl UnwindSafe for AndroidHardwareBufferPropertiesANDROID
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