pub struct FloatPadding { /* private fields */ }Implementations§
Source§impl FloatPadding
impl FloatPadding
pub fn from_dataset( ds: &Part10Dataset<'_>, width: FloatWidth, w: &mut WorkBudget, ) -> Result<Self, PaddingError>
pub fn source_blake3(&self) -> [u8; 32]
pub fn endpoints(&self) -> Option<[FloatBits; 2]>
Sourcepub fn classify(&self, value: FloatBits) -> Result<PaddingMatch, PaddingError>
pub fn classify(&self, value: FloatBits) -> Result<PaddingMatch, PaddingError>
Ordered endpoints use inclusive numeric comparison (including infinities and numerically equal signed zeros). NaN endpoints remain Unordered: DICOM permits these bits but does not define NaN range ordering/payload equality. No finite measurement is guessed from that declaration.
Trait Implementations§
Source§impl Clone for FloatPadding
impl Clone for FloatPadding
impl Copy for FloatPadding
Auto Trait Implementations§
impl Freeze for FloatPadding
impl RefUnwindSafe for FloatPadding
impl Send for FloatPadding
impl Sync for FloatPadding
impl Unpin for FloatPadding
impl UnsafeUnpin for FloatPadding
impl UnwindSafe for FloatPadding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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