pub struct Element3Id(/* private fields */);Expand description
Generational index into Domain3’s element store. Distinct from
ElementId for the same reason Node3Id is distinct from NodeId
(see its doc comment).
Trait Implementations§
Source§impl Clone for Element3Id
impl Clone for Element3Id
Source§fn clone(&self) -> Element3Id
fn clone(&self) -> Element3Id
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 Element3Id
Source§impl Debug for Element3Id
impl Debug for Element3Id
Source§impl Default for Element3Id
impl Default for Element3Id
Source§fn default() -> Element3Id
fn default() -> Element3Id
Returns the “default value” for a type. Read more
impl Eq for Element3Id
Source§impl From<KeyData> for Element3Id
impl From<KeyData> for Element3Id
Source§impl Hash for Element3Id
impl Hash for Element3Id
Source§impl Key for Element3Id
impl Key for Element3Id
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for Element3Id
impl Ord for Element3Id
Source§fn cmp(&self, other: &Element3Id) -> Ordering
fn cmp(&self, other: &Element3Id) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Element3Id
impl PartialEq for Element3Id
Source§impl PartialOrd for Element3Id
impl PartialOrd for Element3Id
impl StructuralPartialEq for Element3Id
Auto Trait Implementations§
impl Freeze for Element3Id
impl RefUnwindSafe for Element3Id
impl Send for Element3Id
impl Sync for Element3Id
impl Unpin for Element3Id
impl UnsafeUnpin for Element3Id
impl UnwindSafe for Element3Id
Blanket Implementations§
impl<T> Boilerplate for T
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,
impl<T, U> Imply<T> for U
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.