#[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§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
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 UnwindSafe for ArkUI_PixelRoundCalcPolicy
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)