pub enum DynamicBoolean {
Literal(bool),
Binding(DataBinding),
Function(FunctionCall),
}Expand description
A value that is either a literal boolean, a data-binding, or a function call.
Variants§
Trait Implementations§
Source§impl Clone for DynamicBoolean
impl Clone for DynamicBoolean
Source§fn clone(&self) -> DynamicBoolean
fn clone(&self) -> DynamicBoolean
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DynamicBoolean
impl Debug for DynamicBoolean
Source§impl<'de> Deserialize<'de> for DynamicBoolean
impl<'de> Deserialize<'de> for DynamicBoolean
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DynamicBoolean
impl PartialEq for DynamicBoolean
Source§fn eq(&self, other: &DynamicBoolean) -> bool
fn eq(&self, other: &DynamicBoolean) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DynamicBoolean
impl Serialize for DynamicBoolean
impl StructuralPartialEq for DynamicBoolean
Auto Trait Implementations§
impl Freeze for DynamicBoolean
impl RefUnwindSafe for DynamicBoolean
impl Send for DynamicBoolean
impl Sync for DynamicBoolean
impl Unpin for DynamicBoolean
impl UnsafeUnpin for DynamicBoolean
impl UnwindSafe for DynamicBoolean
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