Enum PulsePolarityConfig
enum PulsePolarityConfig {
High,
Low,
Both,
}Variants§
Implementations§
§impl PulsePolarityConfig
impl PulsePolarityConfig
const fn build(self) -> PulsePolarity
Trait Implementations§
§impl Clone for PulsePolarityConfig
impl Clone for PulsePolarityConfig
§fn clone(&self) -> PulsePolarityConfig
fn clone(&self) -> PulsePolarityConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Default for PulsePolarityConfig
impl Default for PulsePolarityConfig
§fn default() -> PulsePolarityConfig
fn default() -> PulsePolarityConfig
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for PulsePolarityConfig
impl<'de> Deserialize<'de> for PulsePolarityConfig
§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 Copy for PulsePolarityConfig
Auto Trait Implementations§
impl Freeze for PulsePolarityConfig
impl RefUnwindSafe for PulsePolarityConfig
impl Send for PulsePolarityConfig
impl Sync for PulsePolarityConfig
impl Unpin for PulsePolarityConfig
impl UnwindSafe for PulsePolarityConfig
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