pub struct Partner { /* private fields */ }Expand description
A connected partner device.
Implementations§
Source§impl Partner
impl Partner
pub fn usb_power_delivery_revision( &self, ) -> impl PropertyReadable<Read = Revision> + '_
Sourcepub fn identity(&self) -> IdentityPartner<'_>
pub fn identity(&self) -> IdentityPartner<'_>
Returns a handle to the identity information for this partner.
Sourcepub fn alt_modes(&self) -> DeviceCollection<'_, AltMode<PartnerPath>>
pub fn alt_modes(&self) -> DeviceCollection<'_, AltMode<PartnerPath>>
Returns a collection of this partner’s alternate modes.
Sourcepub fn pds(&self) -> DeviceCollection<'_, PowerDelivery>
pub fn pds(&self) -> DeviceCollection<'_, PowerDelivery>
Returns a collection of this partner’s power delivery devices.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Partner
impl RefUnwindSafe for Partner
impl Send for Partner
impl Sync for Partner
impl Unpin for Partner
impl UnwindSafe for Partner
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