Struct fuchsia_inspect::types::DoubleProperty
source · pub struct DoubleProperty { /* private fields */ }
Expand description
Inspect double property type.
NOTE: do not rely on PartialEq implementation for true comparison. Instead leverage the reader.
NOTE: Operations on a Default value are no-ops.
Trait Implementations§
source§impl Debug for DoubleProperty
impl Debug for DoubleProperty
source§impl Default for DoubleProperty
impl Default for DoubleProperty
source§fn default() -> DoubleProperty
fn default() -> DoubleProperty
Returns the “default value” for a type. Read more
source§impl NumericProperty<'_> for DoubleProperty
impl NumericProperty<'_> for DoubleProperty
source§impl PartialEq for DoubleProperty
impl PartialEq for DoubleProperty
source§fn eq(&self, other: &DoubleProperty) -> bool
fn eq(&self, other: &DoubleProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'t> Property<'t> for DoubleProperty
impl<'t> Property<'t> for DoubleProperty
source§fn atomic_update<R, F: FnOnce(&Self) -> R>(&self, update_fn: F) -> R
fn atomic_update<R, F: FnOnce(&Self) -> R>(&self, update_fn: F) -> R
Takes a function to execute as under a single lock of the Inspect VMO. This function
receives a reference to the
Property
on which it is called.impl Eq for DoubleProperty
impl InspectType for DoubleProperty
impl StructuralPartialEq for DoubleProperty
Auto Trait Implementations§
impl Freeze for DoubleProperty
impl !RefUnwindSafe for DoubleProperty
impl Send for DoubleProperty
impl Sync for DoubleProperty
impl Unpin for DoubleProperty
impl !UnwindSafe for DoubleProperty
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