Skip to content

lazymatrix::IndexedRawColumn ​

LazyMatrix for Rust · 0.9.0

Source

rust
pub struct IndexedRawColumn<'a, C>

A borrowed raw column filtered to local selected row indices.

Traversal preserves source order and duplicates, takes O(parent stored entries * log(k + 1)) time, and allocates nothing. stored_len traverses the column with the same cost. The logical length is the number of selected rows.

Implementation of Clone ​

Source

rust
impl<'a, C: core::clone::Clone> Clone for IndexedRawColumn<'a, C>

clone ​

rust
fn clone(&self) -> Self

Source

Implementation of Copy ​

Source

rust
impl<'a, C: core::marker::Copy> Copy for IndexedRawColumn<'a, C>

Implementation of Debug ​

Source

rust
impl<'a, C: core::fmt::Debug> Debug for IndexedRawColumn<'a, C>

fmt ​

rust
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result

Source

Implementation of RawColumn ​

Source

rust
impl<F: Scalar, C: RawColumn<F>> RawColumn<F> for IndexedRawColumn<'_, C>

for_each_stored ​

rust
fn for_each_stored(&self, visit: impl FnMut(usize, F))

Source

len ​

rust
fn len(&self) -> usize

Source

stored_len ​

rust
fn stored_len(&self) -> usize

Source

Implementation of Freeze ​

rust
impl<'a, C> Freeze for IndexedRawColumn<'a, C> where C: Freeze

Implementation of RefUnwindSafe ​

rust
impl<'a, C> RefUnwindSafe for IndexedRawColumn<'a, C> where C: RefUnwindSafe

Implementation of Send ​

rust
impl<'a, C> Send for IndexedRawColumn<'a, C> where C: Send

Implementation of Sync ​

rust
impl<'a, C> Sync for IndexedRawColumn<'a, C> where C: Sync

Implementation of Unpin ​

rust
impl<'a, C> Unpin for IndexedRawColumn<'a, C> where C: Unpin

Implementation of UnsafeUnpin ​

rust
impl<'a, C> UnsafeUnpin for IndexedRawColumn<'a, C> where C: UnsafeUnpin

Implementation of UnwindSafe ​

rust
impl<'a, C> UnwindSafe for IndexedRawColumn<'a, C> where C: UnwindSafe

Implementation of Any ​

rust
impl<T> Any for T where T: 'static + ?Sized

Implementation of Borrow ​

rust
impl<T> Borrow<T> for T where T: ?Sized

Implementation of BorrowMut ​

rust
impl<T> BorrowMut<T> for T where T: ?Sized

Implementation of ByRef ​

rust
impl<T> ByRef<T> for T

Implementation of CastableFrom ​

rust
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT where ST: ?Sized, DT: ?Sized

Implementation of CastableFrom ​

rust
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT where ST: ?Sized, DT: ?Sized

Implementation of CloneToUninit ​

rust
impl<T> CloneToUninit for T where T: Clone

Implementation of From ​

rust
impl<T> From<T> for T

Implementation of Imply ​

rust
impl<T, U> Imply<T> for U where T: ?Sized, U: ?Sized

Implementation of Into ​

rust
impl<T, U> Into<U> for T where U: From<T>

Implementation of IntoEither ​

rust
impl<T> IntoEither for T

Implementation of Pointable ​

rust
impl<T> Pointable for T

Implementation of Read ​

rust
impl<T> Read<Exclusive, BecauseExclusive> for T where T: ?Sized

Implementation of Same ​

rust
impl<T> Same for T

Implementation of SupersetOf ​

rust
impl<SS, SP> SupersetOf<SS> for SP where SS: SubsetOf<SP>

Implementation of ToOwned ​

rust
impl<T> ToOwned for T where T: Clone

Implementation of TryFrom ​

rust
impl<T, U> TryFrom<U> for T where U: Into<T>

Implementation of TryInto ​

rust
impl<T, U> TryInto<U> for T where U: TryFrom<T>

Released under the MIT and Apache 2.0 licenses.