#[repr(C)]
pub enum DistortionModel {
PlumbBob,
RationalPolynomial,
Equidistant,
}
Variants
PlumbBob
RationalPolynomial
Equidistant
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DistortionModel
impl<'de> Deserialize<'de> for DistortionModel
sourcefn 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
sourceimpl Serialize for DistortionModel
impl Serialize for DistortionModel
Auto Trait Implementations
impl RefUnwindSafe for DistortionModel
impl Send for DistortionModel
impl Sync for DistortionModel
impl Unpin for DistortionModel
impl UnwindSafe for DistortionModel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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