pub struct DoubleBlock(pub Vec<f64>);Tuple Fields§
§0: Vec<f64>Implementations§
Source§impl DoubleBlock
impl DoubleBlock
Sourcepub fn offsets(blocks: Vec<Vec<f64>>) -> Offsets<DoubleBlock>
pub fn offsets(blocks: Vec<Vec<f64>>) -> Offsets<DoubleBlock>
Constructs an Offsets of DoubleBlocks from a vector of
vectors of f32 values.
Sourcepub fn single(block: Vec<f64>) -> Offsets<DoubleBlock>
pub fn single(block: Vec<f64>) -> Offsets<DoubleBlock>
Constructs an Offsets from a vector of f64 values (single block).
Sourcepub fn big_offsets(blocks: Vec<Vec<f64>>) -> Offsets<DoubleBlock, u64>
pub fn big_offsets(blocks: Vec<Vec<f64>>) -> Offsets<DoubleBlock, u64>
Constructs a BigTIFF-compatible Offsets of DoubleBlocks.
Sourcepub fn big_single(block: Vec<f64>) -> Offsets<DoubleBlock, u64>
pub fn big_single(block: Vec<f64>) -> Offsets<DoubleBlock, u64>
Constructs a BigTIFF-compatible Offsets from a single block.
Trait Implementations§
Source§impl Datablock for DoubleBlock
impl Datablock for DoubleBlock
Source§fn write_to(self, file: &mut EndianFile) -> Result<()>
fn write_to(self, file: &mut EndianFile) -> Result<()>
Writes this
Datablock to an EndianFile. The number of bytes
written must be exactly same number as returned by size(&self). Read moreAuto Trait Implementations§
impl Freeze for DoubleBlock
impl RefUnwindSafe for DoubleBlock
impl Send for DoubleBlock
impl Sync for DoubleBlock
impl Unpin for DoubleBlock
impl UnwindSafe for DoubleBlock
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