[−][src]Struct rspg::lr1::item::ItemRef
Fields
lr0item: &'r Item
follow: &'r FollowSet
Trait Implementations
impl<'r> Clone for ItemRef<'r>
[src]
impl<'r> Copy for ItemRef<'r>
[src]
impl<'r> Debug for ItemRef<'r>
[src]
impl<'r, N, T> DisplayWith<Grammar<N, T>> for ItemRef<'r> where
N: Display + Ord,
T: Debug + Ord,
[src]
N: Display + Ord,
T: Debug + Ord,
fn fmt(&self, f: &mut Formatter, grammar: &Grammar<N, T>) -> Result
[src]
fn display_with<'t, 'w>(
&'t self,
with: &'w With
) -> DisplayWithMixer<'t, 'w, Self, With>
[src]
&'t self,
with: &'w With
) -> DisplayWithMixer<'t, 'w, Self, With>
impl<'r> Eq for ItemRef<'r>
[src]
impl<'r> Ord for ItemRef<'r>
[src]
fn cmp(&self, other: &ItemRef<'r>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'r> PartialEq<ItemRef<'r>> for ItemRef<'r>
[src]
impl<'r> PartialOrd<ItemRef<'r>> for ItemRef<'r>
[src]
fn partial_cmp(&self, other: &ItemRef<'r>) -> Option<Ordering>
[src]
fn lt(&self, other: &ItemRef<'r>) -> bool
[src]
fn le(&self, other: &ItemRef<'r>) -> bool
[src]
fn gt(&self, other: &ItemRef<'r>) -> bool
[src]
fn ge(&self, other: &ItemRef<'r>) -> bool
[src]
impl<'r> StructuralEq for ItemRef<'r>
[src]
impl<'r> StructuralPartialEq for ItemRef<'r>
[src]
Auto Trait Implementations
impl<'r> RefUnwindSafe for ItemRef<'r>
impl<'r> Send for ItemRef<'r>
impl<'r> Sync for ItemRef<'r>
impl<'r> Unpin for ItemRef<'r>
impl<'r> UnwindSafe for ItemRef<'r>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,