Enum ftd::ValueWithDefault [−][src]
pub enum ValueWithDefault<T> { Default(T), Found(T), }
Variants
Implementations
impl<T> ValueWithDefault<T>
[src]
impl<T> ValueWithDefault<T>
[src]Trait Implementations
impl<T: Clone> Clone for ValueWithDefault<T>
[src]
impl<T: Clone> Clone for ValueWithDefault<T>
[src]fn clone(&self) -> ValueWithDefault<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for ValueWithDefault<T>
[src]
impl<T: Debug> Debug for ValueWithDefault<T>
[src]impl<T: PartialEq> PartialEq<ValueWithDefault<T>> for ValueWithDefault<T>
[src]
impl<T: PartialEq> PartialEq<ValueWithDefault<T>> for ValueWithDefault<T>
[src]fn eq(&self, other: &ValueWithDefault<T>) -> bool
[src]
fn ne(&self, other: &ValueWithDefault<T>) -> bool
[src]
impl<T> Serialize for ValueWithDefault<T> where
T: Serialize,
[src]
impl<T> Serialize for ValueWithDefault<T> where
T: Serialize,
[src]impl<T> StructuralPartialEq for ValueWithDefault<T>
[src]
impl<T> StructuralPartialEq for ValueWithDefault<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for ValueWithDefault<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for ValueWithDefault<T> where
T: RefUnwindSafe,
impl<T> Send for ValueWithDefault<T> where
T: Send,
impl<T> Send for ValueWithDefault<T> where
T: Send,
impl<T> Sync for ValueWithDefault<T> where
T: Sync,
impl<T> Sync for ValueWithDefault<T> where
T: Sync,
impl<T> Unpin for ValueWithDefault<T> where
T: Unpin,
impl<T> Unpin for ValueWithDefault<T> where
T: Unpin,
impl<T> UnwindSafe for ValueWithDefault<T> where
T: UnwindSafe,
impl<T> UnwindSafe for ValueWithDefault<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,