pub struct FrameSpec {
pub path: PathBuf,
pub illumination_index: Option<usize>,
pub exposure_time: f64,
pub weight: f64,
pub label: Option<String>,
}Expand description
Path and acquisition metadata for one measurement frame.
Fields§
§path: PathBufImage path, interpreted relative to the manifest directory when not absolute.
illumination_index: Option<usize>Optional individual source index associated with this acquisition frame.
exposure_time: f64Positive exposure time in caller-defined units; defaults to 1.0.
weight: f64Non-negative reconstruction weight; defaults to 1.0.
label: Option<String>Optional human-readable acquisition label.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FrameSpec
impl<'de> Deserialize<'de> for FrameSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FrameSpec
impl RefUnwindSafe for FrameSpec
impl Send for FrameSpec
impl Sync for FrameSpec
impl Unpin for FrameSpec
impl UnsafeUnpin for FrameSpec
impl UnwindSafe for FrameSpec
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