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:
Paolo Bonzini 2024-12-05 13:42:33 +01:00
parent c596199f63
commit 28d0ad3d42
3 changed files with 12 additions and 0 deletions

View 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;