pub struct BasicState {
pub boolean: Value<bool>,
pub number: Value<u32>,
pub string: Value<String>,
}Fields§
§boolean: Value<bool>§number: Value<u32>§string: Value<String>Trait Implementations§
Source§impl AnyMap for BasicState
impl AnyMap for BasicState
Source§impl Debug for BasicState
impl Debug for BasicState
Source§impl Default for BasicState
impl Default for BasicState
Source§fn default() -> BasicState
fn default() -> BasicState
Returns the “default value” for a type. Read more
Source§impl State for BasicState
impl State for BasicState
fn type_info(&self) -> Type
fn as_any_map(&self) -> Option<&dyn AnyMap>
fn as_int(&self) -> Option<i64>
fn as_float(&self) -> Option<f64>
fn as_hex(&self) -> Option<Hex>
fn as_color(&self) -> Option<Color>
fn as_char(&self) -> Option<char>
fn as_str(&self) -> Option<&str>
fn as_bool(&self) -> Option<bool>
fn as_any_list(&self) -> Option<&(dyn AnyList + 'static)>
fn as_maybe(&self) -> Option<&dyn AnyMaybe>
Auto Trait Implementations§
impl Freeze for BasicState
impl RefUnwindSafe for BasicState
impl !Send for BasicState
impl !Sync for BasicState
impl Unpin for BasicState
impl UnwindSafe for BasicState
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