#[repr(transparent)]pub struct OH_PixelmapNative_AntiAliasingLevel(pub c_uint);Available on crate features
api-12 and pixelmap only.Expand description
Defines the anti-aliasing level.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_PixelmapNative_AntiAliasingLevel
impl OH_PixelmapNative_AntiAliasingLevel
Sourcepub const OH_PixelmapNative_AntiAliasing_NONE: OH_PixelmapNative_AntiAliasingLevel
pub const OH_PixelmapNative_AntiAliasing_NONE: OH_PixelmapNative_AntiAliasingLevel
Nearest-neighbor interpolation algorithm
Sourcepub const OH_PixelmapNative_AntiAliasing_LOW: OH_PixelmapNative_AntiAliasingLevel
pub const OH_PixelmapNative_AntiAliasing_LOW: OH_PixelmapNative_AntiAliasingLevel
Bilinear interpolation algorithm
Sourcepub const OH_PixelmapNative_AntiAliasing_MEDIUM: OH_PixelmapNative_AntiAliasingLevel
pub const OH_PixelmapNative_AntiAliasing_MEDIUM: OH_PixelmapNative_AntiAliasingLevel
Bilinear interpolation algorithm with mipmap linear filtering
Sourcepub const OH_PixelmapNative_AntiAliasing_HIGH: OH_PixelmapNative_AntiAliasingLevel
pub const OH_PixelmapNative_AntiAliasing_HIGH: OH_PixelmapNative_AntiAliasingLevel
Cubic interpolation algorithm
Trait Implementations§
Source§impl Clone for OH_PixelmapNative_AntiAliasingLevel
impl Clone for OH_PixelmapNative_AntiAliasingLevel
Source§fn clone(&self) -> OH_PixelmapNative_AntiAliasingLevel
fn clone(&self) -> OH_PixelmapNative_AntiAliasingLevel
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 PartialEq for OH_PixelmapNative_AntiAliasingLevel
impl PartialEq for OH_PixelmapNative_AntiAliasingLevel
Source§fn eq(&self, other: &OH_PixelmapNative_AntiAliasingLevel) -> bool
fn eq(&self, other: &OH_PixelmapNative_AntiAliasingLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OH_PixelmapNative_AntiAliasingLevel
impl StructuralPartialEq for OH_PixelmapNative_AntiAliasingLevel
Auto Trait Implementations§
impl Freeze for OH_PixelmapNative_AntiAliasingLevel
impl RefUnwindSafe for OH_PixelmapNative_AntiAliasingLevel
impl Send for OH_PixelmapNative_AntiAliasingLevel
impl Sync for OH_PixelmapNative_AntiAliasingLevel
impl Unpin for OH_PixelmapNative_AntiAliasingLevel
impl UnsafeUnpin for OH_PixelmapNative_AntiAliasingLevel
impl UnwindSafe for OH_PixelmapNative_AntiAliasingLevel
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