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
sourceimpl Parse for RustPath
impl Parse for RustPath
fn parse(input: ParseStream<'_>) -> ParseResult<Self>
sourceimpl ToTokens for RustPath
impl ToTokens for RustPath
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
sourcefn 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. Read more