pub struct RuleIndex(/* private fields */);Expand description
Position of a rule in Program::rules.
Implementations§
Trait Implementations§
impl Copy for RuleIndex
Source§impl<'de> Deserialize<'de> for RuleIndex
impl<'de> Deserialize<'de> for RuleIndex
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 RuleIndex
Source§impl Ord for RuleIndex
impl Ord for RuleIndex
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 PartialOrd for RuleIndex
impl PartialOrd for RuleIndex
impl StructuralPartialEq for RuleIndex
Auto Trait Implementations§
impl Forget for RuleIndex
impl Freeze for RuleIndex
impl Move for RuleIndex
impl RefUnwindSafe for RuleIndex
impl Send for RuleIndex
impl Sync for RuleIndex
impl Unpin for RuleIndex
impl UnsafeUnpin for RuleIndex
impl UnwindSafe for RuleIndex
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