pub struct PreviewRequest {
pub input: PathBuf,
pub encoding: InputEncoding,
pub film: String,
pub paper: String,
pub temp_c: f64,
pub width: u32,
pub spectral: bool,
pub frame_mm: f64,
pub grain: bool,
pub halation: bool,
pub couplers: bool,
pub gpu: bool,
}Expand description
What a preview session is opened on.
Fields§
§input: PathBufThe photograph.
encoding: InputEncodingHow to read an ordinary image.
film: StringFilm stock id.
paper: StringPaper stock id.
temp_c: f64Developer temperature in degrees Celsius.
width: u32The width the bench shows the print at.
spectral: boolExpose through the spectral path.
frame_mm: f64Width of the film frame the image represents, in millimetres.
grain: boolAdd grain.
halation: boolAdd halation.
couplers: boolAdd DIR couplers.
gpu: boolRender on the device when there is one.
Trait Implementations§
Source§impl Clone for PreviewRequest
impl Clone for PreviewRequest
Auto Trait Implementations§
impl Forget for PreviewRequest
impl Freeze for PreviewRequest
impl Move for PreviewRequest
impl RefUnwindSafe for PreviewRequest
impl Send for PreviewRequest
impl Sync for PreviewRequest
impl Unpin for PreviewRequest
impl UnsafeUnpin for PreviewRequest
impl UnwindSafe for PreviewRequest
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