#[repr(C)]pub struct CacheFrame {
pub channel: String,
pub time: f64,
pub filename: String,
pub file_format: CacheFileFormat,
pub mirror_axis: MirrorAxis,
pub scale_factor: Real,
pub data_format: CacheDataFormat,
pub data_encoding: CacheDataEncoding,
pub data_offset: u64,
pub data_count: u32,
pub data_element_bytes: u32,
pub data_total_bytes: u64,
}Fields§
§channel: String§time: f64§filename: String§file_format: CacheFileFormat§mirror_axis: MirrorAxis§scale_factor: Real§data_format: CacheDataFormat§data_encoding: CacheDataEncoding§data_offset: u64§data_count: u32§data_element_bytes: u32§data_total_bytes: u64Implementations§
Source§impl CacheFrame
impl CacheFrame
pub fn read_real( &self, data: &mut [Real], opts: GeometryCacheDataOpts<'_>, ) -> usize
pub fn read_vec3( &self, data: &mut [Vec3], opts: GeometryCacheDataOpts<'_>, ) -> usize
Auto Trait Implementations§
impl !Send for CacheFrame
impl !Sync for CacheFrame
impl Freeze for CacheFrame
impl RefUnwindSafe for CacheFrame
impl Unpin for CacheFrame
impl UnsafeUnpin for CacheFrame
impl UnwindSafe for CacheFrame
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