pub struct ConBinMap {
pub map: MmapMut,
pub header: ConBinHeader,
pub payload_off: usize,
}Expand description
A mapped CON-bin. The position run and the velocity run are the file.
Fields§
§map: MmapMutMAP_PRIVATE copy-on-write (MmapOptions::map_copy). A store copies
the page and does not write the file.
header: ConBinHeader§payload_off: usizeImplementations§
Source§impl ConBinMap
impl ConBinMap
pub fn positions_f64(&self) -> Result<&[f64], ParseError>
pub fn positions_f64_mut(&mut self) -> Result<&mut [f64], ParseError>
pub fn velocities_f64(&self) -> Result<&[f64], ParseError>
pub fn positions_f32(&self) -> Result<&[f32], ParseError>
pub fn velocities_f32(&self) -> Result<&[f32], ParseError>
Auto Trait Implementations§
impl Forget for ConBinMap
impl Freeze for ConBinMap
impl Move for ConBinMap
impl RefUnwindSafe for ConBinMap
impl Send for ConBinMap
impl Sync for ConBinMap
impl Unpin for ConBinMap
impl UnsafeUnpin for ConBinMap
impl UnwindSafe for ConBinMap
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