[−][src]Struct prolog_parser::ast::SharedOpDesc
Implementations
impl SharedOpDesc
[src]
pub fn new(priority: usize, spec: Specifier) -> Self
[src]
pub fn ptr_eq(lop_desc: &SharedOpDesc, rop_desc: &SharedOpDesc) -> bool
[src]
pub fn arity(&self) -> usize
[src]
pub fn get(&self) -> (usize, Specifier)
[src]
pub fn set(&self, prec: usize, spec: Specifier)
[src]
pub fn prec(&self) -> usize
[src]
pub fn assoc(&self) -> Specifier
[src]
Trait Implementations
impl Clone for SharedOpDesc
[src]
fn clone(&self) -> SharedOpDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SharedOpDesc
[src]
impl Eq for SharedOpDesc
[src]
impl Hash for SharedOpDesc
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SharedOpDesc
[src]
fn cmp(&self, other: &SharedOpDesc) -> 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 PartialEq<SharedOpDesc> for SharedOpDesc
[src]
fn eq(&self, other: &SharedOpDesc) -> bool
[src]
fn ne(&self, other: &SharedOpDesc) -> bool
[src]
impl PartialOrd<SharedOpDesc> for SharedOpDesc
[src]
fn partial_cmp(&self, other: &SharedOpDesc) -> Option<Ordering>
[src]
fn lt(&self, other: &SharedOpDesc) -> bool
[src]
fn le(&self, other: &SharedOpDesc) -> bool
[src]
fn gt(&self, other: &SharedOpDesc) -> bool
[src]
fn ge(&self, other: &SharedOpDesc) -> bool
[src]
impl StructuralEq for SharedOpDesc
[src]
impl StructuralPartialEq for SharedOpDesc
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SharedOpDesc
impl !Send for SharedOpDesc
impl !Sync for SharedOpDesc
impl Unpin for SharedOpDesc
impl !UnwindSafe for SharedOpDesc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
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> CheckedAs for T
[src]
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OverflowingAs for T
[src]
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> SaturatingAs for T
[src]
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WrappingAs for T
[src]
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,