pub struct PaperStock {
pub id: &'static str,
pub short: &'static str,
pub emulsion: PaperEmulsion,
pub label: &'static str,
pub note: &'static str,
pub channel: CharacteristicCurve,
pub target_mid_reflectance: f64,
pub dyes: &'static [[f64; 71]; 3],
pub layers: &'static [[f64; 71]; 3],
pub provenance: Provenance,
pub measured: &'static [(&'static str, &'static str)],
}Expand description
A paper stock: one curve, because paper only has to record what is on the negative, not sample a scene.
Fields§
§id: &'static strStable identifier used on the command line.
short: &'static strThe name a box or a wall label would use, without the catalogue numbers.
emulsion: PaperEmulsionWhat the paper carries: three dye-forming layers, or one silver image.
label: &'static strHuman-readable name.
note: &'static strWhat this paper is, and what it is not.
channel: CharacteristicCurveThe paper’s characteristic curve.
target_mid_reflectance: f64Linear reflectance a correctly balanced print should reach for an 18 % grey card. This is what the print balance is solved against.
dyes: &'static [[f64; 71]; 3]The paper’s cyan, magenta and yellow dyes, peak-normalised absorption, 380–730 nm at 5 nm. What the spectral scan puts between the light and the eye.
layers: &'static [[f64; 71]; 3]The paper’s three layer sensitivities on one relative scale, 380–730 nm at 5 nm. What the spectral print integrates the enlarger’s light against.
provenance: ProvenanceThe sheet this paper was read from.
measured: &'static [(&'static str, &'static str)]One line per field, as a film’s: measured, borrowed, placeholder or none.
Trait Implementations§
Source§impl Clone for PaperStock
impl Clone for PaperStock
impl Copy for PaperStock
Auto Trait Implementations§
impl Forget for PaperStock
impl Freeze for PaperStock
impl Move for PaperStock
impl RefUnwindSafe for PaperStock
impl Send for PaperStock
impl Sync for PaperStock
impl Unpin for PaperStock
impl UnsafeUnpin for PaperStock
impl UnwindSafe for PaperStock
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
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> ⓘ
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> ⓘ
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