pub enum ParameterMapping {
Linear,
Exponential,
Logarithmic,
Inverted,
Custom(Arc<dyn Fn(f64) -> f64 + Send + Sync>),
}Expand description
Тип маппинга значений для сервопривода
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParameterMapping
impl Clone for ParameterMapping
Source§fn clone(&self) -> ParameterMapping
fn clone(&self) -> ParameterMapping
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 moreAuto Trait Implementations§
impl Freeze for ParameterMapping
impl !RefUnwindSafe for ParameterMapping
impl Send for ParameterMapping
impl Sync for ParameterMapping
impl Unpin for ParameterMapping
impl UnsafeUnpin for ParameterMapping
impl !UnwindSafe for ParameterMapping
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