pub struct FuchsiaInspector<'a, D> { /* private fields */ }
Expand description
Provides a Fuchsia implementation of Inspector
.
Implementations§
Source§impl<'a, D> FuchsiaInspector<'a, D>
impl<'a, D> FuchsiaInspector<'a, D>
Trait Implementations§
Source§impl<'a, D> Inspector for FuchsiaInspector<'a, D>
impl<'a, D> Inspector for FuchsiaInspector<'a, D>
Source§type ChildInspector<'l> = FuchsiaInspector<'l, D>
type ChildInspector<'l> = FuchsiaInspector<'l, D>
The type given to record contained children.
Source§fn record_child<F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
name: &str,
f: F,
)
fn record_child<F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, name: &str, f: F, )
Source§fn record_unnamed_child<F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
f: F,
)
fn record_unnamed_child<F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, f: F, )
Records a child without a name. Read more
Source§fn record_usize<T: Into<usize>>(&mut self, name: &str, value: T)
fn record_usize<T: Into<usize>>(&mut self, name: &str, value: T)
Records anything that can be represented by a usize.
Source§fn record_uint<T: Into<u64>>(&mut self, name: &str, value: T)
fn record_uint<T: Into<u64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a u64.
Source§fn record_int<T: Into<i64>>(&mut self, name: &str, value: T)
fn record_int<T: Into<i64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a i64.
Source§fn record_double<T: Into<f64>>(&mut self, name: &str, value: T)
fn record_double<T: Into<f64>>(&mut self, name: &str, value: T)
Records anything that can be represented by a f64.
Source§fn record_str(&mut self, name: &str, value: &str)
fn record_str(&mut self, name: &str, value: &str)
Records a str value.
Source§fn record_string(&mut self, name: &str, value: String)
fn record_string(&mut self, name: &str, value: String)
Records an owned string.
Source§fn record_bool(&mut self, name: &str, value: bool)
fn record_bool(&mut self, name: &str, value: bool)
Records a boolean.
Source§fn record_display_child<T: Display, F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
name: T,
f: F,
)
fn record_display_child<T: Display, F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, name: T, f: F, )
Records a child whose name is the display implementation of
T
.Source§fn record_debug_child<T: Debug, F: FnOnce(&mut Self::ChildInspector<'_>)>(
&mut self,
name: T,
f: F,
)
fn record_debug_child<T: Debug, F: FnOnce(&mut Self::ChildInspector<'_>)>( &mut self, name: T, f: F, )
Records a child whose name is the Debug implementation of
T
.Source§fn record_display<T: Display>(&mut self, name: &str, value: T)
fn record_display<T: Display>(&mut self, name: &str, value: T)
Records a
value
that implements Display
as its display string.Source§fn record_debug<T: Debug>(&mut self, name: &str, value: T)
fn record_debug<T: Debug>(&mut self, name: &str, value: T)
Records a
value
that implements Debug
as its debug string.Source§fn record_ip_addr<A: IpAddress>(&mut self, name: &str, value: A)
fn record_ip_addr<A: IpAddress>(&mut self, name: &str, value: A)
Records an IP address.
Source§fn record_inspectable_value<V: InspectableValue>(
&mut self,
name: &str,
value: &V,
)
fn record_inspectable_value<V: InspectableValue>( &mut self, name: &str, value: &V, )
Records an implementor of
InspectableValue
.Source§fn record_instant<V: InspectableInstant>(
&mut self,
name: InstantPropertyName,
value: &V,
)
fn record_instant<V: InspectableInstant>( &mut self, name: InstantPropertyName, value: &V, )
Records an implementor of
InspectableInstant
.Source§fn record_inspectable<V: Inspectable>(&mut self, name: &str, value: &V)
fn record_inspectable<V: Inspectable>(&mut self, name: &str, value: &V)
Records an implementor of
Inspectable
under name
.Source§fn delegate_inspectable<V: Inspectable>(&mut self, value: &V)
fn delegate_inspectable<V: Inspectable>(&mut self, value: &V)
Delegates more fields to be added by an
Inspectable
implementation.Source§impl<'a, D, P: InspectorDeviceIdProvider<D>> InspectorDeviceExt<D> for FuchsiaInspector<'a, P>
impl<'a, D, P: InspectorDeviceIdProvider<D>> InspectorDeviceExt<D> for FuchsiaInspector<'a, P>
Auto Trait Implementations§
impl<'a, D> Freeze for FuchsiaInspector<'a, D>
impl<'a, D> !RefUnwindSafe for FuchsiaInspector<'a, D>
impl<'a, D> Send for FuchsiaInspector<'a, D>where
D: Send,
impl<'a, D> Sync for FuchsiaInspector<'a, D>where
D: Sync,
impl<'a, D> Unpin for FuchsiaInspector<'a, D>where
D: Unpin,
impl<'a, D> !UnwindSafe for FuchsiaInspector<'a, D>
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more