pub struct LiteralIndex(/* private fields */);Expand description
Position of a literal in a rule body or an aggregate’s inner body.
Implementations§
Trait Implementations§
Source§impl Clone for LiteralIndex
impl Clone for LiteralIndex
impl Copy for LiteralIndex
Source§impl Debug for LiteralIndex
impl Debug for LiteralIndex
Source§impl<'de> Deserialize<'de> for LiteralIndex
impl<'de> Deserialize<'de> for LiteralIndex
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 LiteralIndex
Source§impl Hash for LiteralIndex
impl Hash for LiteralIndex
Source§impl Ord for LiteralIndex
impl Ord for LiteralIndex
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 LiteralIndex
impl PartialEq for LiteralIndex
Source§impl PartialOrd for LiteralIndex
impl PartialOrd for LiteralIndex
Source§impl Serialize for LiteralIndex
impl Serialize for LiteralIndex
impl StructuralPartialEq for LiteralIndex
Auto Trait Implementations§
impl Forget for LiteralIndex
impl Freeze for LiteralIndex
impl Move for LiteralIndex
impl RefUnwindSafe for LiteralIndex
impl Send for LiteralIndex
impl Sync for LiteralIndex
impl Unpin for LiteralIndex
impl UnsafeUnpin for LiteralIndex
impl UnwindSafe for LiteralIndex
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