#[repr(C)]pub struct BusState {
pub obj: Object,
pub parent: *mut DeviceState,
pub name: *mut i8,
pub hotplug_handler: *mut HotplugHandler,
pub max_index: i32,
pub realized: bool,
pub children: BusState_ChildrenHead,
pub sibling: BusState__bindgen_ty_1,
}Expand description
BusState: @hotplug_device: link to a hotplug device associated with bus.
Fields
obj: Objectparent: *mut DeviceStatename: *mut i8hotplug_handler: *mut HotplugHandlermax_index: i32realized: boolchildren: BusState_ChildrenHeadsibling: BusState__bindgen_ty_1Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BusState
impl !Send for BusState
impl !Sync for BusState
impl Unpin for BusState
impl UnwindSafe for BusState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more