Struct guion::validation::validated::Validated[][src]

pub struct Validated<E, T> { /* fields omitted */ }

Simple wrapper type for data to track validity

Implementations

impl<E, T> Validated<E, T>[src]

pub fn new(inner: T) -> Self[src]

pub fn into(self) -> T[src]

Trait Implementations

impl<E, T> AsMut<T> for Validated<E, T>[src]

impl<E, T> AsRef<T> for Validated<E, T>[src]

impl<E, T> Borrow<T> for Validated<E, T>[src]

impl<E, T> BorrowMut<T> for Validated<E, T>[src]

impl<E, T> Caption<E> for Validated<E, T> where
    T: Caption<E>, 
[src]

impl<E, T> CaptionMut<E> for Validated<E, T> where
    T: CaptionMut<E>, 
[src]

impl<E, T> Deref for Validated<E, T>[src]

type Target = T

The resulting type after dereferencing.

impl<E, T> DerefMut for Validated<E, T>[src]

impl<E, T> From<T> for Validated<E, T>[src]

impl<E, T> Validation<E> for Validated<E, T>[src]

impl<E, T> ValidationMut<E> for Validated<E, T>[src]

Auto Trait Implementations

impl<E, T> RefUnwindSafe for Validated<E, T> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<E, T> Send for Validated<E, T> where
    E: Send,
    T: Send

impl<E, T> Sync for Validated<E, T> where
    E: Sync,
    T: Sync

impl<E, T> Unpin for Validated<E, T> where
    E: Unpin,
    T: Unpin

impl<E, T> UnwindSafe for Validated<E, T> where
    E: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsRefMut<I> for T where
    T: AsRef<I> + AsMut<I>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.