Struct mentat_ffi::KnownEntid
[−]
[src]
pub struct KnownEntid(pub i64);
An entid that's either already in the store, or newly allocated to a tempid. TODO: we'd like to link this in some way to the lifetime of a particular PartitionMap.
Trait Implementations
impl FromThing<KnownEntid> for Either<TypedValue, Rc<TempId>>
[src]
impl FromThing<KnownEntid> for Either<TypedValue, Rc<TempId>>
fn from_thing(v: KnownEntid) -> Either<TypedValue, Rc<TempId>>
[src]
fn from_thing(v: KnownEntid) -> Either<TypedValue, Rc<TempId>>
impl<'a> FromThing<&'a KnownEntid> for Either<KnownEntid, Rc<TempId>>
[src]
impl<'a> FromThing<&'a KnownEntid> for Either<KnownEntid, Rc<TempId>>
fn from_thing(v: &'a KnownEntid) -> Either<KnownEntid, Rc<TempId>>
[src]
fn from_thing(v: &'a KnownEntid) -> Either<KnownEntid, Rc<TempId>>
impl FromThing<KnownEntid> for Either<KnownEntid, Rc<TempId>>
[src]
impl FromThing<KnownEntid> for Either<KnownEntid, Rc<TempId>>
fn from_thing(v: KnownEntid) -> Either<KnownEntid, Rc<TempId>>
[src]
fn from_thing(v: KnownEntid) -> Either<KnownEntid, Rc<TempId>>
impl Copy for KnownEntid
[src]
impl Copy for KnownEntid
impl PartialOrd<KnownEntid> for KnownEntid
[src]
impl PartialOrd<KnownEntid> for KnownEntid
fn partial_cmp(&self, __arg_0: &KnownEntid) -> Option<Ordering>
[src]
fn partial_cmp(&self, __arg_0: &KnownEntid) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &KnownEntid) -> bool
[src]
fn lt(&self, __arg_0: &KnownEntid) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &KnownEntid) -> bool
[src]
fn le(&self, __arg_0: &KnownEntid) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &KnownEntid) -> bool
[src]
fn gt(&self, __arg_0: &KnownEntid) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &KnownEntid) -> bool
[src]
fn ge(&self, __arg_0: &KnownEntid) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Clone for KnownEntid
[src]
impl Clone for KnownEntid
fn clone(&self) -> KnownEntid
[src]
fn clone(&self) -> KnownEntid
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl From<KnownEntid> for i64
[src]
impl From<KnownEntid> for i64
fn from(k: KnownEntid) -> i64
[src]
fn from(k: KnownEntid) -> i64
Performs the conversion.
impl From<KnownEntid> for TypedValue
[src]
impl From<KnownEntid> for TypedValue
fn from(k: KnownEntid) -> TypedValue
[src]
fn from(k: KnownEntid) -> TypedValue
Performs the conversion.
impl Ord for KnownEntid
[src]
impl Ord for KnownEntid
fn cmp(&self, __arg_0: &KnownEntid) -> Ordering
[src]
fn cmp(&self, __arg_0: &KnownEntid) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for KnownEntid
[src]
impl Hash for KnownEntid
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for KnownEntid
[src]
impl Eq for KnownEntid
impl PartialEq<KnownEntid> for KnownEntid
[src]
impl PartialEq<KnownEntid> for KnownEntid
fn eq(&self, __arg_0: &KnownEntid) -> bool
[src]
fn eq(&self, __arg_0: &KnownEntid) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KnownEntid) -> bool
[src]
fn ne(&self, __arg_0: &KnownEntid) -> bool
This method tests for !=
.
impl Debug for KnownEntid
[src]
impl Debug for KnownEntid
Auto Trait Implementations
impl Send for KnownEntid
impl Send for KnownEntid
impl Sync for KnownEntid
impl Sync for KnownEntid