ValidationRules
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ValidationRules
The validation rules of a PropertyValidationBehavior: a list of objects that implement
IValidationRule.
Deviation (DEVIATIONS.md, Behaviors): the reference types the collection as the generic list of
the framework of IValidationRule<TValue>; here it is a named list of objects of the class
model (as ActionCollection of the interactivity crate), so that markup can add the rules of
a document to it; an object that does not implement the contract is skipped by the validation.
It is a reference object: clones refer to the same collection and compare by identity.
Members
new
fn new() -> Self
Creates an empty collection.
list
fn list(self: &Self) -> &FerroList<Ref<FerroObject>>
The list of the collection.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneStructuralPartialEqPartialEqDefaultDerefDebugMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.