pub enum DynamicBoolean {
Literal(bool),
Binding(DataBinding),
Function(FunctionCall),
}Expand description
A boolean that can be literal, data-bound, or a function call.
Variants§
Literal(bool)
A static boolean value.
Binding(DataBinding)
A data binding to the data model.
Function(FunctionCall)
A function call returning a boolean.
Trait Implementations§
Source§impl Clone for DynamicBoolean
impl Clone for DynamicBoolean
Source§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§impl Serialize for DynamicBoolean
impl Serialize for DynamicBoolean
impl StructuralPartialEq for DynamicBoolean
Auto Trait Implementations§
impl Forget for DynamicBoolean
impl Freeze for DynamicBoolean
impl Move 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