pub struct HeadDisjunctIndex(/* private fields */);Expand description
Position of a disjunct in a rule head. Every non-disjunctive head has exactly one disjunct, at position zero.
Implementations§
Trait Implementations§
Source§impl Clone for HeadDisjunctIndex
impl Clone for HeadDisjunctIndex
impl Copy for HeadDisjunctIndex
Source§impl Debug for HeadDisjunctIndex
impl Debug for HeadDisjunctIndex
Source§impl<'de> Deserialize<'de> for HeadDisjunctIndex
impl<'de> Deserialize<'de> for HeadDisjunctIndex
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 HeadDisjunctIndex
Source§impl Hash for HeadDisjunctIndex
impl Hash for HeadDisjunctIndex
Source§impl Ord for HeadDisjunctIndex
impl Ord for HeadDisjunctIndex
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 HeadDisjunctIndex
impl PartialEq for HeadDisjunctIndex
Source§impl PartialOrd for HeadDisjunctIndex
impl PartialOrd for HeadDisjunctIndex
Source§impl Serialize for HeadDisjunctIndex
impl Serialize for HeadDisjunctIndex
impl StructuralPartialEq for HeadDisjunctIndex
Auto Trait Implementations§
impl Forget for HeadDisjunctIndex
impl Freeze for HeadDisjunctIndex
impl Move for HeadDisjunctIndex
impl RefUnwindSafe for HeadDisjunctIndex
impl Send for HeadDisjunctIndex
impl Sync for HeadDisjunctIndex
impl Unpin for HeadDisjunctIndex
impl UnsafeUnpin for HeadDisjunctIndex
impl UnwindSafe for HeadDisjunctIndex
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