pub struct TriggerSet<A> {
pub clock: A,
pub resets: Vec<A>,
}Fields§
§clock: A§resets: Vec<A>Trait Implementations§
Source§impl<A: Clone> Clone for TriggerSet<A>
impl<A: Clone> Clone for TriggerSet<A>
Source§fn clone(&self) -> TriggerSet<A>
fn clone(&self) -> TriggerSet<A>
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 moreSource§impl<A: Debug> Debug for TriggerSet<A>
impl<A: Debug> Debug for TriggerSet<A>
Source§impl<'de, A> Deserialize<'de> for TriggerSet<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for TriggerSet<A>where
A: Deserialize<'de>,
Source§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<A: Eq> Eq for TriggerSet<A>
Source§impl<A: Hash> Hash for TriggerSet<A>
impl<A: Hash> Hash for TriggerSet<A>
Source§impl<A: Ord> Ord for TriggerSet<A>
impl<A: Ord> Ord for TriggerSet<A>
Source§fn cmp(&self, other: &TriggerSet<A>) -> Ordering
fn cmp(&self, other: &TriggerSet<A>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<A: PartialEq> PartialEq for TriggerSet<A>
impl<A: PartialEq> PartialEq for TriggerSet<A>
Source§impl<A: PartialOrd> PartialOrd for TriggerSet<A>
impl<A: PartialOrd> PartialOrd for TriggerSet<A>
Source§impl<A> Serialize for TriggerSet<A>where
A: Serialize,
impl<A> Serialize for TriggerSet<A>where
A: Serialize,
impl<A: PartialEq> StructuralPartialEq for TriggerSet<A>
Auto Trait Implementations§
impl<A> Freeze for TriggerSet<A>
impl<A> RefUnwindSafe for TriggerSet<A>
impl<A> Send for TriggerSet<A>
impl<A> Sync for TriggerSet<A>
impl<A> Unpin for TriggerSet<A>
impl<A> UnsafeUnpin for TriggerSet<A>
impl<A> UnwindSafe for TriggerSet<A>
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