Trait guion::validation::Validation [−][src]
Trait for querying/updating revision on trait data
Required methods
Loading content...Trait Implementations
impl<'w, E> Traitcast<dyn Validation<E> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn Validation<E> + 'static
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<'w, E> TraitcastMut<dyn Validation<E> + 'w, E> for dyn WidgetMut<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn Validation<E> + 'static
unsafe fn _traitcast_mut<'s>(
senf: &'s mut dyn WidgetMut<E>
) -> Result<&'s mut T, GuionError<E>>
[src]
senf: &'s mut dyn WidgetMut<E>
) -> Result<&'s mut T, GuionError<E>>
unsafe fn _try_traitcast_mut<'s>(
senf: &'s mut dyn WidgetMut<E>
) -> Result<&'s mut T, ()>
[src]
senf: &'s mut dyn WidgetMut<E>
) -> Result<&'s mut T, ()>
Implementations on Foreign Types
impl<E, T> Validation<E> for &T where
T: Validation<E>,
[src]
T: Validation<E>,
impl<E, T> Validation<E> for &mut T where
T: Validation<E>,
[src]
T: Validation<E>,
impl<E, T> Validation<E> for Box<T> where
T: Validation<E>,
[src]
T: Validation<E>,