pub struct SparseVec {
pub dim: i32,
pub indices: Vec<i32>,
pub values: Vec<f32>,
}Fields§
§dim: i32§indices: Vec<i32>§values: Vec<f32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SparseVec
impl RefUnwindSafe for SparseVec
impl Send for SparseVec
impl Sync for SparseVec
impl Unpin for SparseVec
impl UnwindSafe for SparseVec
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