Enum libreda_sta::models::ndlm_cell_delay::EdgePolarity
source · pub enum EdgePolarity {
Rise,
Fall,
Unknown,
}Expand description
Edge polarity of a changing signal.
Variants§
Implementations§
source§impl EdgePolarity
impl EdgePolarity
sourcepub fn complement(&self) -> EdgePolarity
pub fn complement(&self) -> EdgePolarity
Get the complement/inverse edge type.
Trait Implementations§
source§impl Clone for EdgePolarity
impl Clone for EdgePolarity
source§fn clone(&self) -> EdgePolarity
fn clone(&self) -> EdgePolarity
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 Debug for EdgePolarity
impl Debug for EdgePolarity
source§impl PartialEq<EdgePolarity> for EdgePolarity
impl PartialEq<EdgePolarity> for EdgePolarity
source§fn eq(&self, other: &EdgePolarity) -> bool
fn eq(&self, other: &EdgePolarity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EdgePolarity
impl Eq for EdgePolarity
impl StructuralEq for EdgePolarity
impl StructuralPartialEq for EdgePolarity
Auto Trait Implementations§
impl RefUnwindSafe for EdgePolarity
impl Send for EdgePolarity
impl Sync for EdgePolarity
impl Unpin for EdgePolarity
impl UnwindSafe for EdgePolarity
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.