Struct query_structure::ast::EnumId
source · pub struct EnumId(/* private fields */);
Expand description
An opaque identifier for an enum in a schema AST.
Trait Implementations§
source§impl From<EnumId> for AttributeContainer
impl From<EnumId> for AttributeContainer
source§fn from(v: EnumId) -> AttributeContainer
fn from(v: EnumId) -> AttributeContainer
Converts to this type from the input type.
source§impl Ord for EnumId
impl Ord for EnumId
source§impl PartialEq for EnumId
impl PartialEq for EnumId
source§impl PartialOrd for EnumId
impl PartialOrd for EnumId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EnumId
impl Eq for EnumId
impl StructuralEq for EnumId
impl StructuralPartialEq for EnumId
Auto Trait Implementations§
impl RefUnwindSafe for EnumId
impl Send for EnumId
impl Sync for EnumId
impl Unpin for EnumId
impl UnwindSafe for EnumId
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.