Struct autocxx_parser::RustPath
source · pub struct RustPath(_);
Expand description
A little like syn::Path
but simpler - contains only identifiers,
no path arguments. Guaranteed to always have at least one identifier.
Implementations§
Trait Implementations§
source§impl Parse for RustPath
impl Parse for RustPath
fn parse(input: ParseStream<'_>) -> ParseResult<Self>
source§impl PartialEq<RustPath> for RustPath
impl PartialEq<RustPath> for RustPath
source§impl ToTokens for RustPath
impl ToTokens for RustPath
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 RustPath
impl StructuralEq for RustPath
impl StructuralPartialEq for RustPath
Auto Trait Implementations§
impl RefUnwindSafe for RustPath
impl !Send for RustPath
impl !Sync for RustPath
impl Unpin for RustPath
impl UnwindSafe for RustPath
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> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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.