pub enum NikonAfSystem {
Points11,
Points39,
Points51,
Points153,
Points105,
Points405,
Unknown,
}
Expand description
AF system types for different Nikon camera generations ExifTool: Various AF point hash references in Nikon.pm
Variants§
Points11
11-point AF system (older DSLRs)
Points39
39-point AF system (D7000 series)
Points51
51-point AF system (D7100, D7200, D750, etc.)
Points153
153-point AF system (D500, D850)
Points105
105-point AF system (D6)
Points405
405-point AF system (Z8, Z9)
Unknown
Unknown or unsupported AF system
Implementations§
Source§impl NikonAfSystem
impl NikonAfSystem
Sourcepub fn from_camera_model(model: &str) -> Self
pub fn from_camera_model(model: &str) -> Self
Determine AF system from camera model ExifTool: Model-specific AF system detection logic
Sourcepub fn point_count(&self) -> usize
pub fn point_count(&self) -> usize
Get the number of AF points for this system
Trait Implementations§
Source§impl Clone for NikonAfSystem
impl Clone for NikonAfSystem
Source§fn clone(&self) -> NikonAfSystem
fn clone(&self) -> NikonAfSystem
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 NikonAfSystem
impl Debug for NikonAfSystem
Source§impl PartialEq for NikonAfSystem
impl PartialEq for NikonAfSystem
impl StructuralPartialEq for NikonAfSystem
Auto Trait Implementations§
impl Freeze for NikonAfSystem
impl RefUnwindSafe for NikonAfSystem
impl Send for NikonAfSystem
impl Sync for NikonAfSystem
impl Unpin for NikonAfSystem
impl UnwindSafe for NikonAfSystem
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