pub enum ShutterSpeed {
Bytes(u8, u8),
DefaultValue,
Increment,
Decrement,
PAL,
NTSC,
Value(u16),
AutoShutter,
Index(u8),
}
Expand description
Argument type for shutter speed.
Bytes can be manually given to the function using Bytes
.
Other variants are provided for convenience, but should be used in
accordance to the target device capabilities.
Variants§
Bytes(u8, u8)
Manual bytes input (byte 5, byte 6)
DefaultValue
Spectra II and older
Increment
Spectra II and older
Decrement
Spectra II and older
PAL
Spectra II and older
NTSC
Spectra II and older
Value(u16)
Spectra II and older
AutoShutter
Spectra III and newer
Index(u8)
Spectra III and newer
Trait Implementations§
Source§impl Clone for ShutterSpeed
impl Clone for ShutterSpeed
Source§fn clone(&self) -> ShutterSpeed
fn clone(&self) -> ShutterSpeed
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 moreSource§impl Debug for ShutterSpeed
impl Debug for ShutterSpeed
Source§impl PartialEq for ShutterSpeed
impl PartialEq for ShutterSpeed
impl Copy for ShutterSpeed
impl StructuralPartialEq for ShutterSpeed
Auto Trait Implementations§
impl Freeze for ShutterSpeed
impl RefUnwindSafe for ShutterSpeed
impl Send for ShutterSpeed
impl Sync for ShutterSpeed
impl Unpin for ShutterSpeed
impl UnwindSafe for ShutterSpeed
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