#[repr(C)]pub struct OmEncoder_t {
pub dimensions: *const u64,
pub chunks: *const u64,
pub dimension_count: u64,
pub scale_factor: f32,
pub add_offset: f32,
pub data_type: u8,
pub compression: u8,
pub bytes_per_element: u8,
pub bytes_per_element_compressed: u8,
}
Fields§
§dimensions: *const u64
§chunks: *const u64
§dimension_count: u64
§scale_factor: f32
§add_offset: f32
An offset to convert floats to integers while scaling
data_type: u8
The data type of the data
compression: u8
The compression type of the data
bytes_per_element: u8
The size of the elements in bytes
bytes_per_element_compressed: u8
The size of the elements in bytes after compression, e.g. Int16 could be used to scale floats
Trait Implementations§
Source§impl Clone for OmEncoder_t
impl Clone for OmEncoder_t
Source§fn clone(&self) -> OmEncoder_t
fn clone(&self) -> OmEncoder_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OmEncoder_t
impl Debug for OmEncoder_t
impl Copy for OmEncoder_t
Auto Trait Implementations§
impl Freeze for OmEncoder_t
impl RefUnwindSafe for OmEncoder_t
impl !Send for OmEncoder_t
impl !Sync for OmEncoder_t
impl Unpin for OmEncoder_t
impl UnwindSafe for OmEncoder_t
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