pub struct IntegerPaddingView<'v, 'a> { /* private fields */ }Expand description
Source-matched integer/native-or-RLE view with stored-domain padding checked BEFORE modality/real-world scaling. Existing stable codecs are unchanged.
Implementations§
Source§impl<'v, 'a> IntegerPaddingView<'v, 'a>
impl<'v, 'a> IntegerPaddingView<'v, 'a>
pub fn bind( ds: &Part10Dataset<'_>, pixels: &'v NativePixelView<'a>, w: &mut WorkBudget, ) -> Result<Self, PaddingError>
pub fn padding(&self) -> IntegerPadding
pub fn sample( &self, frame: u32, row: u16, column: u16, ) -> Result<IntegerSample, PaddingError>
pub fn quantitative_sample<'b>( &self, record: &FrameRecord<'b>, row: u16, column: u16, real_world: bool, ) -> Result<QuantitativeSample<'b>, PaddingError>
Auto Trait Implementations§
impl<'v, 'a> Freeze for IntegerPaddingView<'v, 'a>
impl<'v, 'a> RefUnwindSafe for IntegerPaddingView<'v, 'a>
impl<'v, 'a> Send for IntegerPaddingView<'v, 'a>
impl<'v, 'a> Sync for IntegerPaddingView<'v, 'a>
impl<'v, 'a> Unpin for IntegerPaddingView<'v, 'a>
impl<'v, 'a> UnsafeUnpin for IntegerPaddingView<'v, 'a>
impl<'v, 'a> UnwindSafe for IntegerPaddingView<'v, 'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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