pub struct PropId(pub u32);Expand description
Opaque integer identifier for a property type.
Distinct from TypeId (which identifies entity/relation types) so that
the type system prevents accidental interchangeability. IDs are assigned
at compile time by the ontology compiler.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for PropId
Source§impl<'de> Deserialize<'de> for PropId
impl<'de> Deserialize<'de> for PropId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PropId
impl StructuralPartialEq for PropId
Auto Trait Implementations§
impl Freeze for PropId
impl RefUnwindSafe for PropId
impl Send for PropId
impl Sync for PropId
impl Unpin for PropId
impl UnsafeUnpin for PropId
impl UnwindSafe for PropId
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.