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 Freeze for GeneratedCode
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