pub struct InverseReference {
pub id: u64,
pub index: usize,
}Expand description
One reference to an entity: who holds it and in which attribute.
Fields§
§id: u64The referencing entity.
index: usizeThe zero-based attribute index (STEP slot) of id holding the
reference, directly or inside an aggregate or typed value.
Trait Implementations§
Source§impl Clone for InverseReference
impl Clone for InverseReference
Source§fn clone(&self) -> InverseReference
fn clone(&self) -> InverseReference
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 Copy for InverseReference
Source§impl Debug for InverseReference
impl Debug for InverseReference
impl Eq for InverseReference
Source§impl PartialEq for InverseReference
impl PartialEq for InverseReference
impl StructuralPartialEq for InverseReference
Auto Trait Implementations§
impl Freeze for InverseReference
impl RefUnwindSafe for InverseReference
impl Send for InverseReference
impl Sync for InverseReference
impl Unpin for InverseReference
impl UnsafeUnpin for InverseReference
impl UnwindSafe for InverseReference
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.