pub struct RelationHandle<'a, T> { /* private fields */ }Expand description
A borrowed view of a relation in the runtime identity graph.
value() is present for both Loaded and loaded-empty collection values.
It is absent for a null to-one relation and for NotLoaded.
Implementations§
Trait Implementations§
Source§impl<'a, T: Clone> Clone for RelationHandle<'a, T>
impl<'a, T: Clone> Clone for RelationHandle<'a, T>
Source§fn clone(&self) -> RelationHandle<'a, T>
fn clone(&self) -> RelationHandle<'a, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, T: Copy> Copy for RelationHandle<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for RelationHandle<'a, T>
impl<'a, T> RefUnwindSafe for RelationHandle<'a, T>
impl<'a, T> Send for RelationHandle<'a, T>
impl<'a, T> Sync for RelationHandle<'a, T>
impl<'a, T> Unpin for RelationHandle<'a, T>
impl<'a, T> UnsafeUnpin for RelationHandle<'a, T>
impl<'a, T> UnwindSafe for RelationHandle<'a, T>
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