#[repr(transparent)]pub struct ArkUI_PixelRoundCalcPolicy(pub c_uint);Available on crate features
api-12 and api-21 only.Expand description
Enumerates the PixelRoundPolicy.
Available since API-level: 21
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_PixelRoundCalcPolicy
impl ArkUI_PixelRoundCalcPolicy
Sourcepub const ARKUI_PIXELROUNDCALCPOLICY_NOFORCEROUND: ArkUI_PixelRoundCalcPolicy
pub const ARKUI_PIXELROUNDCALCPOLICY_NOFORCEROUND: ArkUI_PixelRoundCalcPolicy
No Force round the component boundary coordinates to integer pixel.
Sourcepub const ARKUI_PIXELROUNDCALCPOLICY_FORCECEIL: ArkUI_PixelRoundCalcPolicy
pub const ARKUI_PIXELROUNDCALCPOLICY_FORCECEIL: ArkUI_PixelRoundCalcPolicy
Force ceil the component boundary coordinates to integer pixel.
Sourcepub const ARKUI_PIXELROUNDCALCPOLICY_FORCEFLOOR: ArkUI_PixelRoundCalcPolicy
pub const ARKUI_PIXELROUNDCALCPOLICY_FORCEFLOOR: ArkUI_PixelRoundCalcPolicy
Force floor the component boundary coordinates to integer pixel.
Trait Implementations§
Source§impl Clone for ArkUI_PixelRoundCalcPolicy
impl Clone for ArkUI_PixelRoundCalcPolicy
Source§fn clone(&self) -> ArkUI_PixelRoundCalcPolicy
fn clone(&self) -> ArkUI_PixelRoundCalcPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArkUI_PixelRoundCalcPolicy
impl Debug for ArkUI_PixelRoundCalcPolicy
Source§impl Hash for ArkUI_PixelRoundCalcPolicy
impl Hash for ArkUI_PixelRoundCalcPolicy
Source§impl PartialEq for ArkUI_PixelRoundCalcPolicy
impl PartialEq for ArkUI_PixelRoundCalcPolicy
Source§fn eq(&self, other: &ArkUI_PixelRoundCalcPolicy) -> bool
fn eq(&self, other: &ArkUI_PixelRoundCalcPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_PixelRoundCalcPolicy
impl Eq for ArkUI_PixelRoundCalcPolicy
impl StructuralPartialEq for ArkUI_PixelRoundCalcPolicy
Auto Trait Implementations§
impl Freeze for ArkUI_PixelRoundCalcPolicy
impl RefUnwindSafe for ArkUI_PixelRoundCalcPolicy
impl Send for ArkUI_PixelRoundCalcPolicy
impl Sync for ArkUI_PixelRoundCalcPolicy
impl Unpin for ArkUI_PixelRoundCalcPolicy
impl UnsafeUnpin for ArkUI_PixelRoundCalcPolicy
impl UnwindSafe for ArkUI_PixelRoundCalcPolicy
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