pub struct LaggedPreparedSample<'a> {
pub n: usize,
pub ncols: usize,
pub values: &'a [f64],
pub columns: &'a [LaggedColumn],
pub dropped: DropSummary,
}Expand description
Borrowed prepared sample (views into a LaggedSampleWorkspace).
Fields§
§n: usizeEffective sample size.
ncols: usizeNumber of lagged columns.
values: &'a [f64]Column-major values (ncols blocks of length n).
columns: &'a [LaggedColumn]Column descriptors aligned with values blocks.
dropped: DropSummaryDrop summary.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for LaggedPreparedSample<'a>
impl<'a> Clone for LaggedPreparedSample<'a>
Source§fn clone(&self) -> LaggedPreparedSample<'a>
fn clone(&self) -> LaggedPreparedSample<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for LaggedPreparedSample<'a>
Auto Trait Implementations§
impl<'a> Freeze for LaggedPreparedSample<'a>
impl<'a> RefUnwindSafe for LaggedPreparedSample<'a>
impl<'a> Send for LaggedPreparedSample<'a>
impl<'a> Sync for LaggedPreparedSample<'a>
impl<'a> Unpin for LaggedPreparedSample<'a>
impl<'a> UnsafeUnpin for LaggedPreparedSample<'a>
impl<'a> UnwindSafe for LaggedPreparedSample<'a>
Blanket Implementations§
impl<T> Allocation for T
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