Enum libreda_sta::traits::timing_library::EdgePolarity
source · pub enum EdgePolarity {
Rise,
Fall,
}Expand description
Type of a signal edge. Either rising (0->1), falling (1->0).
See also SignalTransition which also allows an unspecified signal transition.
Variants§
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 From<EdgePolarity> for SignalTransition
impl From<EdgePolarity> for SignalTransition
source§fn from(p: EdgePolarity) -> Self
fn from(p: EdgePolarity) -> Self
Converts to this type from the input type.
source§impl Hash for EdgePolarity
impl Hash for EdgePolarity
source§impl Into<EdgePolarity> for RiseFall
impl Into<EdgePolarity> for RiseFall
source§fn into(self) -> EdgePolarity
fn into(self) -> EdgePolarity
Converts this type into the (usually inferred) input type.
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.