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) -> NativeBufferANDROIDBuilder<'a>
pub fn stride(self, value: i32) -> NativeBufferANDROIDBuilder<'a>
pub fn format(self, value: i32) -> NativeBufferANDROIDBuilder<'a>
pub fn usage(self, value: i32) -> NativeBufferANDROIDBuilder<'a>
pub fn usage2( self, value: NativeBufferUsage2ANDROID, ) -> NativeBufferANDROIDBuilder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> NativeBufferANDROIDBuilder<'a>where
T: ExtendsNativeBufferANDROID,
pub fn push_next<T>(self, next: &'a mut T) -> NativeBufferANDROIDBuilder<'a>where
T: ExtendsNativeBufferANDROID,
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>
Source§type Target = NativeBufferANDROID
type Target = NativeBufferANDROID
The resulting type after dereferencing.
Source§impl<'a> DerefMut for NativeBufferANDROIDBuilder<'a>
impl<'a> DerefMut 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