pub struct InspectableDebugStringWatcher { /* private fields */ }
Expand description
Exports via an Inspect StringProperty
the Debug
representation of
the wrapped value
.
Trait Implementations§
Source§impl<V> Watch<V> for InspectableDebugStringWatcherwhere
V: Debug,
impl<V> Watch<V> for InspectableDebugStringWatcherwhere
V: Debug,
Source§fn new(value: &V, node: &Node, name: impl Into<StringReference>) -> Self
fn new(value: &V, 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: &V)
fn watch(&mut self, value: &V)
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 InspectableDebugStringWatcher
impl !RefUnwindSafe for InspectableDebugStringWatcher
impl Send for InspectableDebugStringWatcher
impl Sync for InspectableDebugStringWatcher
impl Unpin for InspectableDebugStringWatcher
impl !UnwindSafe for InspectableDebugStringWatcher
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