pub struct CubeLayout {
pub header: Vec<u8>,
pub datastart: u64,
}Expand description
The byte layout of a freshly built cube: the complete primary header padded to a 2880-byte block, and the byte offset where the data unit begins.
Fields§
§header: Vec<u8>Full primary header, padded with spaces to datastart bytes.
datastart: u64Byte offset of the data unit (== header.len()).
Auto Trait Implementations§
impl Freeze for CubeLayout
impl RefUnwindSafe for CubeLayout
impl Send for CubeLayout
impl Sync for CubeLayout
impl Unpin for CubeLayout
impl UnsafeUnpin for CubeLayout
impl UnwindSafe for CubeLayout
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