pub struct SparseTensorIndexCsfRef<'a>(/* private fields */);Expand description
Reference to a deserialized SparseTensorIndexCsf.
Implementations§
Source§impl<'a> SparseTensorIndexCsfRef<'a>
impl<'a> SparseTensorIndexCsfRef<'a>
Sourcepub fn indptr_type(&self) -> Result<IntRef<'a>>
pub fn indptr_type(&self) -> Result<IntRef<'a>>
Getter for the indptrType field.
Sourcepub fn indptr_buffers(&self) -> Result<Vector<'a, BufferRef<'a>>>
pub fn indptr_buffers(&self) -> Result<Vector<'a, BufferRef<'a>>>
Getter for the indptrBuffers field.
Sourcepub fn indices_type(&self) -> Result<IntRef<'a>>
pub fn indices_type(&self) -> Result<IntRef<'a>>
Getter for the indicesType field.
Sourcepub fn indices_buffers(&self) -> Result<Vector<'a, BufferRef<'a>>>
pub fn indices_buffers(&self) -> Result<Vector<'a, BufferRef<'a>>>
Getter for the indicesBuffers field.
Sourcepub fn axis_order(&self) -> Result<Vector<'a, i32>>
pub fn axis_order(&self) -> Result<Vector<'a, i32>>
Getter for the axisOrder field.
Trait Implementations§
Source§impl<'a> Clone for SparseTensorIndexCsfRef<'a>
impl<'a> Clone for SparseTensorIndexCsfRef<'a>
Source§fn clone(&self) -> SparseTensorIndexCsfRef<'a>
fn clone(&self) -> SparseTensorIndexCsfRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SparseTensorIndexCsfRef<'a>
impl<'a> Debug for SparseTensorIndexCsfRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SparseTensorIndexCsfRef<'a>
impl<'a> ReadAsRoot<'a> for SparseTensorIndexCsfRef<'a>
Source§impl<'a> TryFrom<SparseTensorIndexCsfRef<'a>> for SparseTensorIndexCsf
impl<'a> TryFrom<SparseTensorIndexCsfRef<'a>> for SparseTensorIndexCsf
impl<'a> Copy for SparseTensorIndexCsfRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseTensorIndexCsfRef<'a>
impl<'a> RefUnwindSafe for SparseTensorIndexCsfRef<'a>
impl<'a> Send for SparseTensorIndexCsfRef<'a>
impl<'a> Sync for SparseTensorIndexCsfRef<'a>
impl<'a> Unpin for SparseTensorIndexCsfRef<'a>
impl<'a> UnwindSafe for SparseTensorIndexCsfRef<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more