Struct fuchsia_component_test::CollectionRef
source · pub struct CollectionRef { /* private fields */ }
Expand description
A reference to a collection in a realm. This struct will be returned when a collection is added to a
realm, and may be used in subsequent calls to RealmBuilder
or SubRealmBuilder
to reference
the collection that was added.
Trait Implementations§
source§impl Clone for CollectionRef
impl Clone for CollectionRef
source§fn clone(&self) -> CollectionRef
fn clone(&self) -> CollectionRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CollectionRef
impl Debug for CollectionRef
source§impl From<&CollectionRef> for CollectionRef
impl From<&CollectionRef> for CollectionRef
source§fn from(input: &CollectionRef) -> CollectionRef
fn from(input: &CollectionRef) -> CollectionRef
Converts to this type from the input type.
source§impl From<&CollectionRef> for Ref
impl From<&CollectionRef> for Ref
source§fn from(input: &CollectionRef) -> Ref
fn from(input: &CollectionRef) -> Ref
Converts to this type from the input type.
source§impl From<&SubRealmBuilder> for CollectionRef
impl From<&SubRealmBuilder> for CollectionRef
source§fn from(input: &SubRealmBuilder) -> CollectionRef
fn from(input: &SubRealmBuilder) -> CollectionRef
Converts to this type from the input type.
source§impl From<&str> for CollectionRef
impl From<&str> for CollectionRef
source§fn from(input: &str) -> CollectionRef
fn from(input: &str) -> CollectionRef
Converts to this type from the input type.
source§impl From<String> for CollectionRef
impl From<String> for CollectionRef
source§fn from(input: String) -> CollectionRef
fn from(input: String) -> CollectionRef
Converts to this type from the input type.
source§impl PartialEq for CollectionRef
impl PartialEq for CollectionRef
source§fn eq(&self, other: &CollectionRef) -> bool
fn eq(&self, other: &CollectionRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectionRef
Auto Trait Implementations§
impl Freeze for CollectionRef
impl RefUnwindSafe for CollectionRef
impl Send for CollectionRef
impl Sync for CollectionRef
impl Unpin for CollectionRef
impl UnwindSafe for CollectionRef
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
)