pub enum ShutterProblem {
Angle,
Phase,
Samples,
}Expand description
The Shutter field a crate::ModelError::InvalidShutter names.
Variants§
Angle
Shutter::angle_degrees is not above 0 and at most MAX_SHUTTER_ANGLE_DEGREES.
Phase
Shutter::phase_degrees is beyond MAX_SHUTTER_PHASE_DEGREES either way.
Samples
Shutter::samples is not a power of two from MIN_SHUTTER_SAMPLES to
MAX_SHUTTER_SAMPLES.
Trait Implementations§
Source§impl Clone for ShutterProblem
impl Clone for ShutterProblem
impl Copy for ShutterProblem
Source§impl Debug for ShutterProblem
impl Debug for ShutterProblem
Source§impl Display for ShutterProblem
impl Display for ShutterProblem
impl Eq for ShutterProblem
Source§impl PartialEq for ShutterProblem
impl PartialEq for ShutterProblem
impl StructuralPartialEq for ShutterProblem
Auto Trait Implementations§
impl Forget for ShutterProblem
impl Freeze for ShutterProblem
impl Move for ShutterProblem
impl RefUnwindSafe for ShutterProblem
impl Send for ShutterProblem
impl Sync for ShutterProblem
impl Unpin for ShutterProblem
impl UnsafeUnpin for ShutterProblem
impl UnwindSafe for ShutterProblem
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