pub struct GeneratedCppBlocks {
pub forward_declares: Vec<String>,
pub includes: BTreeSet<String>,
pub qobjects: Vec<GeneratedCppQObject>,
pub extern_cxx_qt: Vec<GeneratedCppExternCxxQtBlocks>,
}
Expand description
Representation of the generated C++ code for a group of QObjects
Fields§
§forward_declares: Vec<String>
Forward declarations that aren’t associated with any QObjects (e.g. “free” qenums).
includes: BTreeSet<String>
Additional includes for the CXX bridge
qobjects: Vec<GeneratedCppQObject>
Generated QObjects
extern_cxx_qt: Vec<GeneratedCppExternCxxQtBlocks>
Generated extern C++Qt blocks
Implementations§
Source§impl GeneratedCppBlocks
impl GeneratedCppBlocks
Sourcepub fn from(parser: &Parser) -> Result<GeneratedCppBlocks>
pub fn from(parser: &Parser) -> Result<GeneratedCppBlocks>
Create a GeneratedCppBlocks from the given Parser object
Auto Trait Implementations§
impl Freeze for GeneratedCppBlocks
impl RefUnwindSafe for GeneratedCppBlocks
impl !Send for GeneratedCppBlocks
impl !Sync for GeneratedCppBlocks
impl Unpin for GeneratedCppBlocks
impl UnwindSafe for GeneratedCppBlocks
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