pub enum ExternalTriggerPolarity {
Rising,
Falling,
}
Expand description
External trigger pin trigger polarity.
Variants§
Trait Implementations§
Source§impl Clone for ExternalTriggerPolarity
impl Clone for ExternalTriggerPolarity
Source§fn clone(&self) -> ExternalTriggerPolarity
fn clone(&self) -> ExternalTriggerPolarity
Returns a copy 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 moreSource§impl From<ExternalTriggerPolarity> for Etp
impl From<ExternalTriggerPolarity> for Etp
Source§fn from(mode: ExternalTriggerPolarity) -> Self
fn from(mode: ExternalTriggerPolarity) -> Self
Converts to this type from the input type.
impl Copy for ExternalTriggerPolarity
Auto Trait Implementations§
impl Freeze for ExternalTriggerPolarity
impl RefUnwindSafe for ExternalTriggerPolarity
impl Send for ExternalTriggerPolarity
impl Sync for ExternalTriggerPolarity
impl Unpin for ExternalTriggerPolarity
impl UnwindSafe for ExternalTriggerPolarity
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