pub struct InspectableU64Watcher { /* private fields */ }
Expand description
Exports via an Inspect UintProperty
a u64
. Useful because the wrapped u64
value can be read.
Trait Implementations§
Source§impl Debug for InspectableU64Watcher
impl Debug for InspectableU64Watcher
Source§impl Watch<u64> for InspectableU64Watcher
impl Watch<u64> for InspectableU64Watcher
Source§fn new(value: &u64, node: &Node, name: impl Into<StringReference>) -> Self
fn new(value: &u64, node: &Node, name: impl Into<StringReference>) -> Self
Used by
Inspectable::new()
to create a Watch
er that exports via
Inspect the Inspectable
’s wrapped value
.Source§fn watch(&mut self, value: &u64)
fn watch(&mut self, value: &u64)
Called by
InspectableGuard
when the guard is dropped, letting the
Watch
er update its state with the updated value
.Auto Trait Implementations§
impl Freeze for InspectableU64Watcher
impl !RefUnwindSafe for InspectableU64Watcher
impl Send for InspectableU64Watcher
impl Sync for InspectableU64Watcher
impl Unpin for InspectableU64Watcher
impl !UnwindSafe for InspectableU64Watcher
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