pub struct IncludeCpp { /* private fields */ }Expand description
Core of the autocxx engine. See generate for most details
on how this works.
Implementations§
Source§impl IncludeCpp
impl IncludeCpp
pub fn new_from_syn(mac: Macro) -> ParseResult<Self>
Sourcepub fn generate_rs(&self) -> TokenStream2
pub fn generate_rs(&self) -> TokenStream2
Generate the Rust bindings.
pub fn get_config(&self) -> &IncludeCppConfig
Trait Implementations§
Source§impl Parse for IncludeCpp
impl Parse for IncludeCpp
fn parse(input: ParseStream<'_>) -> ParseResult<Self>
Auto Trait Implementations§
impl !Send for IncludeCpp
impl !Sync for IncludeCpp
impl Freeze for IncludeCpp
impl RefUnwindSafe for IncludeCpp
impl Unpin for IncludeCpp
impl UnsafeUnpin for IncludeCpp
impl UnwindSafe for IncludeCpp
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more