Struct cxx_gen::GeneratedCode
source · pub struct GeneratedCode {
pub header: Vec<u8>,
pub implementation: Vec<u8>,
}
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§
source§impl Default for GeneratedCode
impl Default for GeneratedCode
source§fn 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§
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