pub enum RelayValue {
Single(bool),
DoubleExclusive(RelayDoubleExclusiveValue),
}Variants§
Single(bool)
DoubleExclusive(RelayDoubleExclusiveValue)
Trait Implementations§
Source§impl Clone for RelayValue
impl Clone for RelayValue
Source§fn clone(&self) -> RelayValue
fn clone(&self) -> RelayValue
Returns a duplicate 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 RelayValue
impl Debug for RelayValue
Source§impl Ord for RelayValue
impl Ord for RelayValue
Source§fn cmp(&self, other: &RelayValue) -> Ordering
fn cmp(&self, other: &RelayValue) -> Ordering
1.21.0 · 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 PartialEq for RelayValue
impl PartialEq for RelayValue
Source§impl PartialOrd for RelayValue
impl PartialOrd for RelayValue
impl Copy for RelayValue
impl Eq for RelayValue
impl StructuralPartialEq for RelayValue
Auto Trait Implementations§
impl Freeze for RelayValue
impl RefUnwindSafe for RelayValue
impl Send for RelayValue
impl Sync for RelayValue
impl Unpin for RelayValue
impl UnwindSafe for RelayValue
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