pub struct SparseVectorInfo {
pub size: usize,
pub nonzero_count: usize,
pub indices: DevicePtr,
pub values: DevicePtr,
pub index_type: IndexType,
pub index_base: IndexBase,
}Fields§
§size: usize§nonzero_count: usize§indices: DevicePtr§values: DevicePtr§index_type: IndexType§index_base: IndexBaseTrait Implementations§
Source§impl Clone for SparseVectorInfo
impl Clone for SparseVectorInfo
Source§fn clone(&self) -> SparseVectorInfo
fn clone(&self) -> SparseVectorInfo
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 Copy for SparseVectorInfo
Source§impl Debug for SparseVectorInfo
impl Debug for SparseVectorInfo
impl Eq for SparseVectorInfo
Source§impl PartialEq for SparseVectorInfo
impl PartialEq for SparseVectorInfo
Source§fn eq(&self, other: &SparseVectorInfo) -> bool
fn eq(&self, other: &SparseVectorInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SparseVectorInfo
Auto Trait Implementations§
impl !Send for SparseVectorInfo
impl !Sync for SparseVectorInfo
impl Freeze for SparseVectorInfo
impl RefUnwindSafe for SparseVectorInfo
impl Unpin for SparseVectorInfo
impl UnsafeUnpin for SparseVectorInfo
impl UnwindSafe for SparseVectorInfo
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