pub struct ModuleManagementDevice {
pub interfaces: Vec<InterfaceDevice>,
pub module_interface: Option<ModuleInterface>,
}Expand description
Represents the <moduleManagement> block from the Device profile.
Fields§
§interfaces: Vec<InterfaceDevice>A list of interfaces (e.g., bus controllers) on the head module.
module_interface: Option<ModuleInterface>Information about this device if it acts as a module (child).
Trait Implementations§
Source§impl Debug for ModuleManagementDevice
impl Debug for ModuleManagementDevice
Source§impl Default for ModuleManagementDevice
impl Default for ModuleManagementDevice
Source§fn default() -> ModuleManagementDevice
fn default() -> ModuleManagementDevice
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModuleManagementDevice
impl PartialEq for ModuleManagementDevice
impl StructuralPartialEq for ModuleManagementDevice
Auto Trait Implementations§
impl Freeze for ModuleManagementDevice
impl RefUnwindSafe for ModuleManagementDevice
impl Send for ModuleManagementDevice
impl Sync for ModuleManagementDevice
impl Unpin for ModuleManagementDevice
impl UnwindSafe for ModuleManagementDevice
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