#[repr(C)]pub struct OH_NativeXComponent_ExpectedRateRange {
pub min: i32,
pub max: i32,
pub expected: i32,
}Available on crate feature
api-11 only.Expand description
Defines the expected frame rate range struct.
Available since API-level: 11
Version: 1.0
Fields§
§min: i32The minimum frame rate of dynamical callback rate range.
max: i32The maximum frame rate of dynamical callback rate range.
expected: i32The expected frame rate of dynamical callback rate range.
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_ExpectedRateRange
impl Clone for OH_NativeXComponent_ExpectedRateRange
Source§fn clone(&self) -> OH_NativeXComponent_ExpectedRateRange
fn clone(&self) -> OH_NativeXComponent_ExpectedRateRange
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 moreimpl Copy for OH_NativeXComponent_ExpectedRateRange
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_ExpectedRateRange
impl RefUnwindSafe for OH_NativeXComponent_ExpectedRateRange
impl Send for OH_NativeXComponent_ExpectedRateRange
impl Sync for OH_NativeXComponent_ExpectedRateRange
impl Unpin for OH_NativeXComponent_ExpectedRateRange
impl UnwindSafe for OH_NativeXComponent_ExpectedRateRange
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)