Enum deltoid::option::OptionDelta
source · pub enum OptionDelta<T: Core> {
None,
Some(<T as Core>::Delta),
}
Variants§
Trait Implementations§
source§impl<T: Clone + Core> Clone for OptionDelta<T>
impl<T: Clone + Core> Clone for OptionDelta<T>
source§fn clone(&self) -> OptionDelta<T>
fn clone(&self) -> OptionDelta<T>
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<T: Core> Debug for OptionDelta<T>
impl<T: Core> Debug for OptionDelta<T>
source§impl<'de, T> Deserialize<'de> for OptionDelta<T>where
T: Deserialize<'de> + Core,
impl<'de, T> Deserialize<'de> for OptionDelta<T>where T: Deserialize<'de> + Core,
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
source§impl<T: PartialEq + Core> PartialEq<OptionDelta<T>> for OptionDelta<T>
impl<T: PartialEq + Core> PartialEq<OptionDelta<T>> for OptionDelta<T>
source§fn eq(&self, other: &OptionDelta<T>) -> bool
fn eq(&self, other: &OptionDelta<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Core> StructuralPartialEq for OptionDelta<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for OptionDelta<T>where <T as Core>::Delta: RefUnwindSafe,
impl<T> Send for OptionDelta<T>where <T as Core>::Delta: Send,
impl<T> Sync for OptionDelta<T>where <T as Core>::Delta: Sync,
impl<T> Unpin for OptionDelta<T>where <T as Core>::Delta: Unpin,
impl<T> UnwindSafe for OptionDelta<T>where <T as Core>::Delta: UnwindSafe,
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