[][src]Struct cpp_common::RustInvocation

pub struct RustInvocation {
    pub begin: Span,
    pub end: Span,
    pub id: Ident,
    pub return_type: Option<String>,
    pub arguments: Vec<(Ident, String)>,
}

Fields

begin: Spanend: Spanid: Identreturn_type: Option<String>arguments: Vec<(Ident, String)>

Trait Implementations

impl Debug for RustInvocation[src]

impl Parse for RustInvocation[src]

pub fn parse(input: ParseStream<'_>) -> Result<Self>[src]

Parse a rust! macro something looking like rust!(ident [foo : bar as "bar"] { /*...*/ })

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.