pub enum PulseWidth {
Short,
Long,
Unknown,
}Expand description
Possible values for pulse width
Variants§
Trait Implementations§
Source§impl Clone for PulseWidth
impl Clone for PulseWidth
Source§fn clone(&self) -> PulseWidth
fn clone(&self) -> PulseWidth
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 moreimpl Copy for PulseWidth
Source§impl Debug for PulseWidth
impl Debug for PulseWidth
impl Eq for PulseWidth
Source§impl Hash for PulseWidth
impl Hash for PulseWidth
Source§impl PartialEq for PulseWidth
impl PartialEq for PulseWidth
Source§fn eq(&self, other: &PulseWidth) -> bool
fn eq(&self, other: &PulseWidth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PulseWidth
Auto Trait Implementations§
impl Freeze for PulseWidth
impl RefUnwindSafe for PulseWidth
impl Send for PulseWidth
impl Sync for PulseWidth
impl Unpin for PulseWidth
impl UnsafeUnpin for PulseWidth
impl UnwindSafe for PulseWidth
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