Struct cpp_common::RustInvocation
source · [−]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
sourceimpl Debug for RustInvocation
impl Debug for RustInvocation
sourceimpl Parse for RustInvocation
impl Parse for RustInvocation
sourcefn parse(input: ParseStream<'_>) -> Result<Self>
fn parse(input: ParseStream<'_>) -> Result<Self>
Parse a rust! macro something looking like rust!(ident [foo : bar as "bar"] { /*...*/ })
Auto Trait Implementations
impl RefUnwindSafe for RustInvocation
impl !Send for RustInvocation
impl !Sync for RustInvocation
impl Unpin for RustInvocation
impl UnwindSafe for RustInvocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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