pub struct NativeBufferANDROIDBuilder<'a> { /* private fields */ }Expand description
Builder for NativeBufferANDROID with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> NativeBufferANDROIDBuilder<'a>
impl<'a> NativeBufferANDROIDBuilder<'a>
pub fn handle(self, value: *const c_void) -> Self
pub fn stride(self, value: c_int) -> Self
pub fn format(self, value: c_int) -> Self
pub fn usage(self, value: c_int) -> Self
pub fn usage2(self, value: NativeBufferUsage2ANDROID) -> Self
Sourcepub fn push_next<T: ExtendsNativeBufferANDROID>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsNativeBufferANDROID>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See NativeBufferANDROID’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for NativeBufferANDROIDBuilder<'a>
impl<'a> Deref for NativeBufferANDROIDBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeBufferANDROIDBuilder<'a>
impl<'a> RefUnwindSafe for NativeBufferANDROIDBuilder<'a>
impl<'a> !Send for NativeBufferANDROIDBuilder<'a>
impl<'a> !Sync for NativeBufferANDROIDBuilder<'a>
impl<'a> Unpin for NativeBufferANDROIDBuilder<'a>
impl<'a> UnsafeUnpin for NativeBufferANDROIDBuilder<'a>
impl<'a> UnwindSafe for NativeBufferANDROIDBuilder<'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