pub enum PositioningRef {
    FullPath(String),
    Name(String),
}Variants§
Trait Implementations§
source§impl Clone for PositioningRef
 
impl Clone for PositioningRef
source§fn clone(&self) -> PositioningRef
 
fn clone(&self) -> PositioningRef
Returns a copy 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 PositioningRef
 
impl Debug for PositioningRef
source§impl Display for PositioningRef
 
impl Display for PositioningRef
source§impl Hash for PositioningRef
 
impl Hash for PositioningRef
source§impl Ord for PositioningRef
 
impl Ord for PositioningRef
source§fn cmp(&self, other: &PositioningRef) -> Ordering
 
fn cmp(&self, other: &PositioningRef) -> 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 Parse for PositioningRef
 
impl Parse for PositioningRef
source§impl PartialEq for PositioningRef
 
impl PartialEq for PositioningRef
source§fn eq(&self, other: &PositioningRef) -> bool
 
fn eq(&self, other: &PositioningRef) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PositioningRef
 
impl PartialOrd for PositioningRef
source§fn partial_cmp(&self, other: &PositioningRef) -> Option<Ordering>
 
fn partial_cmp(&self, other: &PositioningRef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl ToTokens for PositioningRef
 
impl ToTokens for PositioningRef
source§fn to_tokens(&self, tokens: &mut TokenStream)
 
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
 
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
    Self: Sized,
 
fn into_token_stream(self) -> TokenStreamwhere
    Self: Sized,
impl Eq for PositioningRef
impl StructuralPartialEq for PositioningRef
Auto Trait Implementations§
impl Freeze for PositioningRef
impl RefUnwindSafe for PositioningRef
impl Send for PositioningRef
impl Sync for PositioningRef
impl Unpin for PositioningRef
impl UnwindSafe for PositioningRef
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
source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.source§impl<T> Spanned for Twhere
    T: Spanned + ?Sized,
 
impl<T> Spanned for Twhere
    T: Spanned + ?Sized,
source§fn span(&self) -> Span
 
fn span(&self) -> Span
Returns a 
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.