pub enum ResolutionOrType {
Resolution(Resolution),
Type(Function, String, RightParen),
}Variants§
Resolution(Resolution)
Type(Function, String, RightParen)
Trait Implementations§
Source§impl Clone for ResolutionOrType
impl Clone for ResolutionOrType
Source§fn clone(&self) -> ResolutionOrType
fn clone(&self) -> ResolutionOrType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolutionOrType
impl Debug for ResolutionOrType
Source§impl Hash for ResolutionOrType
impl Hash for ResolutionOrType
Source§impl Ord for ResolutionOrType
impl Ord for ResolutionOrType
Source§fn cmp(&self, other: &ResolutionOrType) -> Ordering
fn cmp(&self, other: &ResolutionOrType) -> Ordering
1.21.0 · 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
Source§impl<'a> Parse<'a> for ResolutionOrType
impl<'a> Parse<'a> for ResolutionOrType
Source§impl PartialEq for ResolutionOrType
impl PartialEq for ResolutionOrType
Source§impl PartialOrd for ResolutionOrType
impl PartialOrd for ResolutionOrType
Source§impl<'a> Peek<'a> for ResolutionOrType
impl<'a> Peek<'a> for ResolutionOrType
Source§impl ToCursors for ResolutionOrType
impl ToCursors for ResolutionOrType
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ResolutionOrType
impl StructuralPartialEq for ResolutionOrType
Auto Trait Implementations§
impl Freeze for ResolutionOrType
impl RefUnwindSafe for ResolutionOrType
impl Send for ResolutionOrType
impl Sync for ResolutionOrType
impl Unpin for ResolutionOrType
impl UnwindSafe for ResolutionOrType
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