#[repr(C)]pub struct OH_Drawing_GpuContextOptions {
pub allowPathMaskCaching: bool,
}Expand description
@brief Defines the options about GPU context.
@since 12 @version 1.0 @deprecated since 18
Fields§
§allowPathMaskCaching: boolIf true this allows path mask textures to be cached
Trait Implementations§
Source§impl Clone for OH_Drawing_GpuContextOptions
impl Clone for OH_Drawing_GpuContextOptions
Source§fn clone(&self) -> OH_Drawing_GpuContextOptions
fn clone(&self) -> OH_Drawing_GpuContextOptions
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 Debug for OH_Drawing_GpuContextOptions
impl Debug for OH_Drawing_GpuContextOptions
impl Copy for OH_Drawing_GpuContextOptions
Auto Trait Implementations§
impl Freeze for OH_Drawing_GpuContextOptions
impl RefUnwindSafe for OH_Drawing_GpuContextOptions
impl Send for OH_Drawing_GpuContextOptions
impl Sync for OH_Drawing_GpuContextOptions
impl Unpin for OH_Drawing_GpuContextOptions
impl UnsafeUnpin for OH_Drawing_GpuContextOptions
impl UnwindSafe for OH_Drawing_GpuContextOptions
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