Struct cxx_qt_gen::GeneratedRustBlocks
source · pub struct GeneratedRustBlocks {
pub cxx_mod: ItemMod,
pub cxx_mod_contents: Vec<Item>,
pub cxx_qt_mod_contents: Vec<Item>,
pub namespace: String,
pub qobjects: Vec<GeneratedRustQObject>,
}Expand description
Representation of the generated Rust code for a QObject
Fields
cxx_mod: ItemModModule for the CXX bridge with passthrough items
cxx_mod_contents: Vec<Item>Any global extra items for the CXX bridge
cxx_qt_mod_contents: Vec<Item>Any global passthrough items for the implementation
namespace: StringIdent of the namespace of the QObject
qobjects: Vec<GeneratedRustQObject>Generated QObject blocks
Implementations
sourceimpl GeneratedRustBlocks
impl GeneratedRustBlocks
pub fn from(parser: &Parser) -> Result<GeneratedRustBlocks>
Auto Trait Implementations
impl RefUnwindSafe for GeneratedRustBlocks
impl !Send for GeneratedRustBlocks
impl !Sync for GeneratedRustBlocks
impl Unpin for GeneratedRustBlocks
impl UnwindSafe for GeneratedRustBlocks
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