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