Struct fuchsia_component_test::ChildRef
source · pub struct ChildRef { /* private fields */ }
Expand description
A reference to a child in a realm. This struct will be returned when a child is added to a
realm, and may be used in subsequent calls to RealmBuilder
or SubRealmBuilder
to reference
the child that was added.
Trait Implementations§
source§impl From<&SubRealmBuilder> for ChildRef
impl From<&SubRealmBuilder> for ChildRef
source§fn from(input: &SubRealmBuilder) -> ChildRef
fn from(input: &SubRealmBuilder) -> ChildRef
Converts to this type from the input type.
source§impl PartialEq for ChildRef
impl PartialEq for ChildRef
impl StructuralPartialEq for ChildRef
Auto Trait Implementations§
impl Freeze for ChildRef
impl RefUnwindSafe for ChildRef
impl Send for ChildRef
impl Sync for ChildRef
impl Unpin for ChildRef
impl UnwindSafe for ChildRef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)