Struct cxx_qt_gen::GeneratedCppBlocks
source · pub struct GeneratedCppBlocks {
pub forward_declares: Vec<String>,
pub includes: BTreeSet<String>,
pub cxx_file_stem: 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
cxx_file_stem: String
Stem of the CXX header to include
qobjects: Vec<GeneratedCppQObject>
Generated QObjects
extern_cxx_qt: Vec<GeneratedCppExternCxxQtBlocks>
Generated extern C++Qt blocks
Implementations§
source§impl GeneratedCppBlocks
impl GeneratedCppBlocks
pub fn from(parser: &Parser) -> Result<GeneratedCppBlocks>
Auto Trait Implementations§
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