Struct patternfly_yew::ValidationFormContext
source · [−]pub struct ValidationFormContext { /* private fields */ }Implementations
sourceimpl ValidationFormContext
impl ValidationFormContext
pub fn new(callback: Callback<GroupValidationResult>, state: InputState) -> Self
pub fn is_error(&self) -> bool
pub fn push_state(&self, state: GroupValidationResult)
pub fn clear_state(&self, id: String)
Trait Implementations
sourceimpl Clone for ValidationFormContext
impl Clone for ValidationFormContext
sourcefn clone(&self) -> ValidationFormContext
fn clone(&self) -> ValidationFormContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for ValidationFormContext
impl Default for ValidationFormContext
sourcefn default() -> ValidationFormContext
fn default() -> ValidationFormContext
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ValidationFormContext> for ValidationFormContext
impl PartialEq<ValidationFormContext> for ValidationFormContext
sourcefn eq(&self, other: &ValidationFormContext) -> bool
fn eq(&self, other: &ValidationFormContext) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for ValidationFormContext
Auto Trait Implementations
impl !RefUnwindSafe for ValidationFormContext
impl !Send for ValidationFormContext
impl !Sync for ValidationFormContext
impl Unpin for ValidationFormContext
impl !UnwindSafe for ValidationFormContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.