pub struct ExampleInspectData { /* private fields */ }
Implementations§
Source§impl ExampleInspectData
impl ExampleInspectData
Sourcepub fn write_to(&mut self, node: &Node)
pub fn write_to(&mut self, node: &Node)
Allocates a collection of example inspect values for testing.
The allocated data remains visible to other components until this object is dropped.
Sourcepub fn has_node_object(&self) -> bool
pub fn has_node_object(&self) -> bool
Returns an example NodeObject that can used to test fuchsia.inspect.deprecated.inspect.
pub fn get_node_object(&self) -> NodeObject
Trait Implementations§
Source§impl Default for ExampleInspectData
impl Default for ExampleInspectData
Source§fn default() -> ExampleInspectData
fn default() -> ExampleInspectData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExampleInspectData
impl !RefUnwindSafe for ExampleInspectData
impl Send for ExampleInspectData
impl Sync for ExampleInspectData
impl Unpin for ExampleInspectData
impl !UnwindSafe for ExampleInspectData
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