pub struct PreviewSession { /* private fields */ }Expand description
A photograph held on the bench, ready to be printed at any setting.
Implementations§
Source§impl PreviewSession
impl PreviewSession
Sourcepub fn open(request: PreviewRequest) -> Result<Self, Error>
pub fn open(request: PreviewRequest) -> Result<Self, Error>
Read the photograph and meter it, once.
The width is the bench’s: the model’s grain and blur belong to the sampling, so a session is opened at the size it will be looked at, just as a print is rendered at the size it will be exported.
Sourcepub fn frame(
&self,
minutes: f64,
print_ev: f64,
balance_from: Option<f64>,
filters: &str,
heat_glass: Option<&str>,
) -> Result<PreviewFrame, Error>
pub fn frame( &self, minutes: f64, print_ev: f64, balance_from: Option<f64>, filters: &str, heat_glass: Option<&str>, ) -> Result<PreviewFrame, Error>
The frame this session would print at one setting.
balance_from is the strip’s one exposure: when set, the enlarger is
borrowed from that development and only the negative is this frame’s.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PreviewSession
impl Forget for PreviewSession
impl Move for PreviewSession
impl RefUnwindSafe for PreviewSession
impl Send for PreviewSession
impl Sync for PreviewSession
impl Unpin for PreviewSession
impl UnsafeUnpin for PreviewSession
impl UnwindSafe for PreviewSession
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> 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