pub struct PaperChart {
pub id: String,
pub short: String,
pub emulsion: String,
pub d_min: f64,
pub d_max: f64,
pub gamma: f64,
pub log_e0: f64,
pub target_mid_reflectance: f64,
pub log_e: Vec<f64>,
pub density: Vec<f64>,
}Expand description
A paper’s characteristic curve, sampled for a panel to draw.
Fields§
§id: StringStable id.
short: StringThe name on the box.
emulsion: Stringcolour or silver.
d_min: f64Density of the unexposed paper.
d_max: f64Density at full exposure.
gamma: f64The straight-line slope.
log_e0: f64log10 exposure at the middle of the straight line.
target_mid_reflectance: f64Linear reflectance a balanced print reaches for an 18 % grey card.
log_e: Vec<f64>The log10 exposures the curve was sampled at.
density: Vec<f64>The paper’s density at each sample.
Trait Implementations§
Source§impl Clone for PaperChart
impl Clone for PaperChart
Auto Trait Implementations§
impl Forget for PaperChart
impl Freeze for PaperChart
impl Move for PaperChart
impl RefUnwindSafe for PaperChart
impl Send for PaperChart
impl Sync for PaperChart
impl Unpin for PaperChart
impl UnsafeUnpin for PaperChart
impl UnwindSafe for PaperChart
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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