summary refs log tree commit diff stats
path: root/rust/qom/src/prelude.rs
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2025-09-08 12:49:53 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-09-17 19:00:57 +0200
commitfcf4c00b4d73185db9239b1a6f03289f6211e142 (patch)
tree24a07833e4d8f0dc73c71c3719f4e8e3f1f03ded /rust/qom/src/prelude.rs
parentf6b4f0dd9c57079b72ca9ff7569ce4d0dbdcc4d9 (diff)
downloadfocaccia-qemu-fcf4c00b4d73185db9239b1a6f03289f6211e142.tar.gz
focaccia-qemu-fcf4c00b4d73185db9239b1a6f03289f6211e142.zip
rust: split "qom" crate
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250827104147.717203-13-marcandre.lureau@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qom/src/prelude.rs')
-rw-r--r--rust/qom/src/prelude.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/qom/src/prelude.rs b/rust/qom/src/prelude.rs
new file mode 100644
index 0000000000..00a6095977
--- /dev/null
+++ b/rust/qom/src/prelude.rs
@@ -0,0 +1,12 @@
+//! Traits and essential types intended for blanket imports.
+
+pub use crate::qom::InterfaceType;
+pub use crate::qom::IsA;
+pub use crate::qom::Object;
+pub use crate::qom::ObjectCast;
+pub use crate::qom::ObjectClassMethods;
+pub use crate::qom::ObjectDeref;
+pub use crate::qom::ObjectMethods;
+pub use crate::qom::ObjectType;
+
+pub use crate::qom_isa;