pub enum ConstrainBoolean {
Exact(bool),
Ideal(bool),
}
Expand description
Representation of a ConstrainBoolean.
Can set exact (must be the parameter’s value) and ideal (should be used if possible) constrain.
Variants§
Exact(bool)
Exact value required for this property.
Ideal(bool)
Ideal (target) value for this property.
Trait Implementations§
Source§impl Clone for ConstrainBoolean
impl Clone for ConstrainBoolean
Source§fn clone(&self) -> ConstrainBoolean
fn clone(&self) -> ConstrainBoolean
Returns a copy 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 ConstrainBoolean
impl Debug for ConstrainBoolean
Source§impl IntoDart for ConstrainBoolean
impl IntoDart for ConstrainBoolean
Source§impl IntoIntoDart<ConstrainBoolean> for ConstrainBoolean
impl IntoIntoDart<ConstrainBoolean> for ConstrainBoolean
fn into_into_dart(self) -> ConstrainBoolean
Source§impl PartialEq for ConstrainBoolean
impl PartialEq for ConstrainBoolean
impl Copy for ConstrainBoolean
impl Eq for ConstrainBoolean
impl IntoDartExceptPrimitive for ConstrainBoolean
impl StructuralPartialEq for ConstrainBoolean
Auto Trait Implementations§
impl Freeze for ConstrainBoolean
impl RefUnwindSafe for ConstrainBoolean
impl Send for ConstrainBoolean
impl Sync for ConstrainBoolean
impl Unpin for ConstrainBoolean
impl UnwindSafe for ConstrainBoolean
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)