#[repr(u8)]pub enum RootKind {
Unknown = 0,
Expression = 1,
Document = 2,
}Expand description
Origin category for a root’s scalar identity.
Variants§
Unknown = 0
No root identity was supplied.
Expression = 1
Root production evaluates a source expression.
Document = 2
Root production binds a supplied document.
Trait Implementations§
impl Copy for RootKind
impl Eq for RootKind
impl StructuralPartialEq for RootKind
Auto Trait Implementations§
impl Forget for RootKind
impl Freeze for RootKind
impl Move for RootKind
impl RefUnwindSafe for RootKind
impl Send for RootKind
impl Sync for RootKind
impl Unpin for RootKind
impl UnsafeUnpin for RootKind
impl UnwindSafe for RootKind
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,
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.