Struct panda_sys::BusClass [−][src]
#[repr(C)]pub struct BusClass {
pub parent_class: ObjectClass,
pub print_dev: Option<unsafe extern "C" fn(mon: *mut Monitor, dev: *mut DeviceState, indent: c_int)>,
pub get_dev_path: Option<unsafe extern "C" fn(dev: *mut DeviceState) -> *mut c_char>,
pub get_fw_dev_path: Option<unsafe extern "C" fn(dev: *mut DeviceState) -> *mut c_char>,
pub reset: Option<unsafe extern "C" fn(bus: *mut BusState)>,
pub realize: BusRealize,
pub unrealize: BusUnrealize,
pub max_dev: c_int,
pub automatic_ids: c_int,
}
Fields
parent_class: ObjectClass
print_dev: Option<unsafe extern "C" fn(mon: *mut Monitor, dev: *mut DeviceState, indent: c_int)>
get_dev_path: Option<unsafe extern "C" fn(dev: *mut DeviceState) -> *mut c_char>
get_fw_dev_path: Option<unsafe extern "C" fn(dev: *mut DeviceState) -> *mut c_char>
reset: Option<unsafe extern "C" fn(bus: *mut BusState)>
realize: BusRealize
unrealize: BusUnrealize
max_dev: c_int
automatic_ids: c_int
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BusClass
impl UnwindSafe for BusClass
Blanket Implementations
Mutably borrows from an owned value. Read more