pub enum InitComponent {
Form,
Validation,
}Expand description
Дополнительный компонент, подключаемый флагом --with.
Variants§
Form
light-fw-element-form: <checkbox>, <radio>, <select>/<option>.
Validation
light-fw-behavior-validation: required, :validator, @validate.
Implementations§
Source§impl InitComponent
impl InitComponent
Sourcepub fn crate_name(self) -> &'static str
pub fn crate_name(self) -> &'static str
Имя крейта-компонента.
Sourcepub fn light_feature(self) -> &'static str
pub fn light_feature(self) -> &'static str
Фича мета-крейта light, включающая компонент.
Trait Implementations§
Source§impl Clone for InitComponent
impl Clone for InitComponent
impl Copy for InitComponent
Source§impl Debug for InitComponent
impl Debug for InitComponent
impl Eq for InitComponent
Source§impl FromStr for InitComponent
impl FromStr for InitComponent
Source§impl Ord for InitComponent
impl Ord for InitComponent
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InitComponent
impl PartialEq for InitComponent
Source§impl PartialOrd for InitComponent
impl PartialOrd for InitComponent
impl StructuralPartialEq for InitComponent
Auto Trait Implementations§
impl Freeze for InitComponent
impl RefUnwindSafe for InitComponent
impl Send for InitComponent
impl Sync for InitComponent
impl Unpin for InitComponent
impl UnsafeUnpin for InitComponent
impl UnwindSafe for InitComponent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.