pub struct AllSourceDataPowerDataObject {
pub power_data_objects: [SourcePowerRangeDataObject; 13],
}Expand description
Represents all source power data objects for the AP33772S.
Each USB C Power Supply device will have some of these objects.
In the event that it does not the underlying power data objects is_detected methods will be false.
Fields§
§power_data_objects: [SourcePowerRangeDataObject; 13]Implementations§
Source§impl AllSourceDataPowerDataObject
impl AllSourceDataPowerDataObject
Sourcepub fn get_power_data_object(
&self,
index: PowerDataObject,
) -> &SourcePowerRangeDataObject
pub fn get_power_data_object( &self, index: PowerDataObject, ) -> &SourcePowerRangeDataObject
Returns a reference to the power data object at the given index.
Trait Implementations§
Source§impl Clone for AllSourceDataPowerDataObject
impl Clone for AllSourceDataPowerDataObject
Source§fn clone(&self) -> AllSourceDataPowerDataObject
fn clone(&self) -> AllSourceDataPowerDataObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllSourceDataPowerDataObject
impl Debug for AllSourceDataPowerDataObject
Source§impl Format for AllSourceDataPowerDataObject
Available on crate feature defmt only.
impl Format for AllSourceDataPowerDataObject
Available on crate feature
defmt only.impl StructuralPartialEq for AllSourceDataPowerDataObject
Auto Trait Implementations§
impl Freeze for AllSourceDataPowerDataObject
impl RefUnwindSafe for AllSourceDataPowerDataObject
impl Send for AllSourceDataPowerDataObject
impl Sync for AllSourceDataPowerDataObject
impl Unpin for AllSourceDataPowerDataObject
impl UnsafeUnpin for AllSourceDataPowerDataObject
impl UnwindSafe for AllSourceDataPowerDataObject
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