pub struct DataBlock {
pub location: Location,
pub byte_order: ByteOrder,
pub checksum: Option<Checksum>,
pub compression: Option<Compression>,
}Expand description
The XISF file format’s representation of any kind of binary data
Most commonly used for images, this type is essentially a reference to a file or part of a file where the raw data can be read from.
Fields§
§location: LocationWhere this data block can be found
byte_order: ByteOrderThe byte order/endianness of this data block
checksum: Option<Checksum>A checksum that the data must match, if one exists
compression: Option<Compression>The type of compression that was used, if any
Trait Implementations§
impl StructuralPartialEq for DataBlock
Auto Trait Implementations§
impl Freeze for DataBlock
impl RefUnwindSafe for DataBlock
impl Send for DataBlock
impl Sync for DataBlock
impl Unpin for DataBlock
impl UnwindSafe for DataBlock
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