pub enum ParameterValue {
Real(f64),
Integer(i32),
UnsignedShort(u16),
}Expand description
The value of a parameter, of one of the three types MFront supports.
Variants§
Real(f64)
A real parameter, such as epsilon.
Integer(i32)
An integer parameter.
UnsignedShort(u16)
An unsigned short parameter, such as iterMax.
Trait Implementations§
Source§impl Clone for ParameterValue
impl Clone for ParameterValue
impl Copy for ParameterValue
Source§impl Debug for ParameterValue
impl Debug for ParameterValue
Source§impl PartialEq for ParameterValue
impl PartialEq for ParameterValue
impl StructuralPartialEq for ParameterValue
Auto Trait Implementations§
impl Forget for ParameterValue
impl Freeze for ParameterValue
impl Move for ParameterValue
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnsafeUnpin for ParameterValue
impl UnwindSafe for ParameterValue
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