pub struct DriveStrengthPair {
pub s0: DriveStrength,
pub s1: DriveStrength,
}Expand description
A driver’s own strength for each value it might drive (state.md §4):
s0 applies when this driver is driving 0, s1 when driving 1;
driving X reduces to min(s0, s1) (see [effective_strength]).
Fields§
§s0: DriveStrength§s1: DriveStrengthImplementations§
Source§impl DriveStrengthPair
impl DriveStrengthPair
Sourcepub const STRONG: DriveStrengthPair
pub const STRONG: DriveStrengthPair
The default drive strength: (strong0, strong1) (LRM 28.11).
Trait Implementations§
Source§impl Clone for DriveStrengthPair
impl Clone for DriveStrengthPair
impl Copy for DriveStrengthPair
Source§impl Debug for DriveStrengthPair
impl Debug for DriveStrengthPair
Source§impl<'de> Deserialize<'de> for DriveStrengthPair
impl<'de> Deserialize<'de> for DriveStrengthPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DriveStrengthPair
Source§impl PartialEq for DriveStrengthPair
impl PartialEq for DriveStrengthPair
Source§impl Serialize for DriveStrengthPair
impl Serialize for DriveStrengthPair
impl StructuralPartialEq for DriveStrengthPair
Auto Trait Implementations§
impl Freeze for DriveStrengthPair
impl RefUnwindSafe for DriveStrengthPair
impl Send for DriveStrengthPair
impl Sync for DriveStrengthPair
impl Unpin for DriveStrengthPair
impl UnsafeUnpin for DriveStrengthPair
impl UnwindSafe for DriveStrengthPair
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.