mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
rust: define prelude
Add a module that will contain frequently used traits and occasionally structs. They can be included quickly with "use qemu_api::prelude::*". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c596199f63
commit
28d0ad3d42
3 changed files with 12 additions and 0 deletions
6
rust/qemu-api/src/prelude.rs
Normal file
6
rust/qemu-api/src/prelude.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
// Copyright 2024 Red Hat, Inc.
|
||||
// Author(s): Paolo Bonzini <pbonzini@redhat.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
pub use crate::cell::BqlCell;
|
||||
pub use crate::cell::BqlRefCell;
|
Loading…
Add table
Add a link
Reference in a new issue