Struct cxx_gen::GeneratedCode
source · [−]Expand description
Results of code generation.
Fields
header: Vec<u8>
The bytes of a C++ header file.
implementation: Vec<u8>
The bytes of a C++ implementation file (e.g. .cc, cpp etc.)
Trait Implementations
sourceimpl Default for GeneratedCode
impl Default for GeneratedCode
sourcefn default() -> GeneratedCode
fn default() -> GeneratedCode
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GeneratedCode
impl Send for GeneratedCode
impl Sync for GeneratedCode
impl Unpin for GeneratedCode
impl UnwindSafe for GeneratedCode
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