pub struct DeviceTemplate {
pub self_address: u16,
pub self_mask: u16,
pub peer_address: u16,
pub peer_mask: u16,
pub name_localized_text_index: LocalizedTextIndex,
}Expand description
Contains information about a VBus device.
Fields§
§self_address: u16The VBus address of the device itself.
self_mask: u16The mask applied to the VBus address of the device itself.
peer_address: u16The VBus address of a potential peer device.
peer_mask: u16The mask applied to the VBus address of the potential peer device.
name_localized_text_index: LocalizedTextIndexThe LocalizedTextIndex of the device’s name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceTemplate
impl RefUnwindSafe for DeviceTemplate
impl Send for DeviceTemplate
impl Sync for DeviceTemplate
impl Unpin for DeviceTemplate
impl UnwindSafe for DeviceTemplate
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