#[repr(C)]pub struct NativeBufferUsageOHOS<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub ohos_native_buffer_usage: u64,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§ohos_native_buffer_usage: u64§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> NativeBufferUsageOHOS<'a>
impl<'a> NativeBufferUsageOHOS<'a>
pub fn ohos_native_buffer_usage(self, ohos_native_buffer_usage: u64) -> Self
Trait Implementations§
Source§impl<'a> Clone for NativeBufferUsageOHOS<'a>
impl<'a> Clone for NativeBufferUsageOHOS<'a>
Source§fn clone(&self) -> NativeBufferUsageOHOS<'a>
fn clone(&self) -> NativeBufferUsageOHOS<'a>
Returns a duplicate 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<'a> Debug for NativeBufferUsageOHOS<'a>
impl<'a> Debug for NativeBufferUsageOHOS<'a>
Source§impl Default for NativeBufferUsageOHOS<'_>
impl Default for NativeBufferUsageOHOS<'_>
Source§impl<'a> TaggedStructure for NativeBufferUsageOHOS<'a>
impl<'a> TaggedStructure for NativeBufferUsageOHOS<'a>
const STRUCTURE_TYPE: StructureType = StructureType::NATIVE_BUFFER_USAGE_OHOS
impl<'a> Copy for NativeBufferUsageOHOS<'a>
impl ExtendsImageFormatProperties2 for NativeBufferUsageOHOS<'_>
impl Send for NativeBufferUsageOHOS<'_>
impl Sync for NativeBufferUsageOHOS<'_>
Auto Trait Implementations§
impl<'a> Freeze for NativeBufferUsageOHOS<'a>
impl<'a> RefUnwindSafe for NativeBufferUsageOHOS<'a>
impl<'a> Unpin for NativeBufferUsageOHOS<'a>
impl<'a> UnwindSafe for NativeBufferUsageOHOS<'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