pub struct Densitometer { /* private fields */ }Expand description
A transmission densitometer, held against one stock.
The instrument has one number per record: what it reads where no dye formed. Everything else is the light a patch lost on top of that.
Implementations§
Source§impl Densitometer
impl Densitometer
Sourcepub fn new(base_density: [f64; 3]) -> Self
pub fn new(base_density: [f64; 3]) -> Self
An instrument whose zero is base_density, in status density.
Sourcepub fn for_stock(stock: &FilmStock) -> Self
pub fn for_stock(stock: &FilmStock) -> Self
The instrument for a stock, with its own unexposed film as the zero.
Sourcepub fn base_density(&self) -> [f64; 3]
pub fn base_density(&self) -> [f64; 3]
What the instrument reads where no dye formed: base, fog and mask.
Trait Implementations§
Source§impl Clone for Densitometer
impl Clone for Densitometer
impl Copy for Densitometer
Source§impl Debug for Densitometer
impl Debug for Densitometer
Source§impl PartialEq for Densitometer
impl PartialEq for Densitometer
impl StructuralPartialEq for Densitometer
Auto Trait Implementations§
impl Forget for Densitometer
impl Freeze for Densitometer
impl Move for Densitometer
impl RefUnwindSafe for Densitometer
impl Send for Densitometer
impl Sync for Densitometer
impl Unpin for Densitometer
impl UnsafeUnpin for Densitometer
impl UnwindSafe for Densitometer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more