pub struct VariableSymbol { /* private fields */ }Expand description
Variable symbol used in Datalog terms.
Carries a precomputed FxHash of its name alongside the
Arc<str> so std::collections::HashMap-keyed lookups (notably the forward
engine bindings) hash a single u64 instead of walking
the name bytes on every probe.
Implementations§
Trait Implementations§
Source§impl Clone for VariableSymbol
impl Clone for VariableSymbol
Source§impl Debug for VariableSymbol
impl Debug for VariableSymbol
Source§impl<'de> Deserialize<'de> for VariableSymbol
impl<'de> Deserialize<'de> for VariableSymbol
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VariableSymbol
Source§impl Hash for VariableSymbol
impl Hash for VariableSymbol
Source§impl Ord for VariableSymbol
impl Ord for VariableSymbol
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VariableSymbol
impl PartialEq for VariableSymbol
Source§impl PartialOrd for VariableSymbol
impl PartialOrd for VariableSymbol
Auto Trait Implementations§
impl Freeze for VariableSymbol
impl RefUnwindSafe for VariableSymbol
impl Send for VariableSymbol
impl Sync for VariableSymbol
impl Unpin for VariableSymbol
impl UnsafeUnpin for VariableSymbol
impl UnwindSafe for VariableSymbol
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