pub struct BooleanProperty {
pub key: BooleanPropertyKey,
pub last_value: bool,
/* private fields */
}Expand description
A boolean property that can be refreshed to “check” the property at any point.
Fields§
§key: BooleanPropertyKey§last_value: boolImplementations§
Source§impl BooleanProperty
impl BooleanProperty
pub fn refresh_value(&mut self) -> Result<(), RefreshValueError>
Trait Implementations§
Source§impl Clone for BooleanProperty
impl Clone for BooleanProperty
Source§fn clone(&self) -> BooleanProperty
fn clone(&self) -> BooleanProperty
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BooleanProperty
impl Debug for BooleanProperty
Source§impl PartialEq for BooleanProperty
impl PartialEq for BooleanProperty
impl StructuralPartialEq for BooleanProperty
Auto Trait Implementations§
impl Freeze for BooleanProperty
impl RefUnwindSafe for BooleanProperty
impl Send for BooleanProperty
impl Sync for BooleanProperty
impl Unpin for BooleanProperty
impl UnwindSafe for BooleanProperty
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