pub struct UiPropKey;
Expand description
Standard Property Keys for component state.
Implementations§
Source§impl UiPropKey
impl UiPropKey
Sourcepub const IS_VISIBLE: &'static str = "isVisible"
pub const IS_VISIBLE: &'static str = "isVisible"
The visibility state of a component (boolean).
Sourcepub const IS_DISABLED: &'static str = "isDisabled"
pub const IS_DISABLED: &'static str = "isDisabled"
The disabled state of a component (boolean).
Sourcepub const VALUE: &'static str = "value"
pub const VALUE: &'static str = "value"
The value of an input component (string, number, etc.).
Sourcepub const ERROR: &'static str = "error"
pub const ERROR: &'static str = "error"
The error message associated with a component (string).
Sourcepub const IS_LOADING: &'static str = "isLoading"
pub const IS_LOADING: &'static str = "isLoading"
The loading state of a component (boolean).
Auto Trait Implementations§
impl Freeze for UiPropKey
impl RefUnwindSafe for UiPropKey
impl Send for UiPropKey
impl Sync for UiPropKey
impl Unpin for UiPropKey
impl UnwindSafe for UiPropKey
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