pub struct FocalLength(/* private fields */);Expand description
Focal Length ($f$). Unit: Meters. Constraint: None (can be negative for diverging lens).
Implementations§
Trait Implementations§
Source§impl Clone for FocalLength
impl Clone for FocalLength
Source§fn clone(&self) -> FocalLength
fn clone(&self) -> FocalLength
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 FocalLength
impl Debug for FocalLength
Source§impl Default for FocalLength
impl Default for FocalLength
Source§fn default() -> FocalLength
fn default() -> FocalLength
Returns the “default value” for a type. Read more
Source§impl PartialEq for FocalLength
impl PartialEq for FocalLength
Source§impl PartialOrd for FocalLength
impl PartialOrd for FocalLength
impl Copy for FocalLength
impl StructuralPartialEq for FocalLength
Auto Trait Implementations§
impl Freeze for FocalLength
impl RefUnwindSafe for FocalLength
impl Send for FocalLength
impl Sync for FocalLength
impl Unpin for FocalLength
impl UnwindSafe for FocalLength
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