pub struct ImodInfo {
pub bytes_are_signed: bool,
}Expand description
IMOD-specific metadata parsed from the extra block (bytes 56-63).
IMOD stores metadata in the MRC-2014 extra free-form area at offsets
152-159. The imodStamp at offset 152 spells "IMOD" in ASCII and
identifies the file as IMOD-created. The imodFlags at offset 156
contain bit flags for signedness, origin convention, etc.
Fields§
§bytes_are_signed: boolWhen true, Mode 0 (Int8) bytes are signed (matching MRC-2014).
When false, bytes are unsigned (IMOD legacy convention).
Trait Implementations§
impl Copy for ImodInfo
impl Eq for ImodInfo
impl StructuralPartialEq for ImodInfo
Auto Trait Implementations§
impl Freeze for ImodInfo
impl RefUnwindSafe for ImodInfo
impl Send for ImodInfo
impl Sync for ImodInfo
impl Unpin for ImodInfo
impl UnsafeUnpin for ImodInfo
impl UnwindSafe for ImodInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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