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
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§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
)