#[repr(C)]pub struct BusState {
pub obj: Object,
pub parent: *mut DeviceState,
pub name: *mut c_char,
pub hotplug_handler: *mut HotplugHandler,
pub max_index: c_int,
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: Object
§parent: *mut DeviceState
§name: *mut c_char
§hotplug_handler: *mut HotplugHandler
§max_index: c_int
§realized: bool
§children: BusState_ChildrenHead
§sibling: BusState__bindgen_ty_1
Trait 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more