Enum fdg_sim::force::ForceValue
source · [−]pub enum ForceValue {
Number(f32, RangeInclusive<f32>),
Bool(bool),
}Expand description
A value that you can change in a Force’s dictionary.
Variants
Number(f32, RangeInclusive<f32>)
Bool(bool)
Implementations
Trait Implementations
sourceimpl Clone for ForceValue
impl Clone for ForceValue
sourcefn clone(&self) -> ForceValue
fn clone(&self) -> ForceValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ForceValue
impl Debug for ForceValue
sourceimpl PartialEq<ForceValue> for ForceValue
impl PartialEq<ForceValue> for ForceValue
sourcefn eq(&self, other: &ForceValue) -> bool
fn eq(&self, other: &ForceValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ForceValue) -> bool
fn ne(&self, other: &ForceValue) -> bool
This method tests for !=.
impl StructuralPartialEq for ForceValue
Auto Trait Implementations
impl RefUnwindSafe for ForceValue
impl Send for ForceValue
impl Sync for ForceValue
impl Unpin for ForceValue
impl UnwindSafe for ForceValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more