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.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)