#[repr(transparent)]pub struct AndroidHardwareBufferPropertiesANDROIDBuilder<'b> { /* private fields */ }
Expand description
A builder for a AndroidHardwareBufferPropertiesANDROID
.
Implementations§
source§impl<'b> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsAndroidHardwareBufferPropertiesANDROID,
pub fn allocation_size(self, allocation_size: DeviceSize) -> Self
pub fn memory_type_bits(self, memory_type_bits: u32) -> Self
pub fn build(self) -> AndroidHardwareBufferPropertiesANDROID
Trait Implementations§
source§impl<'b> Cast for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Cast for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
§type Target = AndroidHardwareBufferPropertiesANDROID
type Target = AndroidHardwareBufferPropertiesANDROID
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Clone for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
source§fn clone(&self) -> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
fn clone(&self) -> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
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<'b> Debug for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Debug for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
source§impl<'b> Default for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Default for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
source§fn default() -> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
fn default() -> AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Deref for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
source§impl<'b> DerefMut for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> DerefMut for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Copy for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> !Send for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> !Sync for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> Unpin for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
impl<'b> UnwindSafe for AndroidHardwareBufferPropertiesANDROIDBuilder<'b>
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