pub struct SparseTensorIndexCooRef<'a>(/* private fields */);Expand description
Reference to a deserialized SparseTensorIndexCoo.
Implementations§
Source§impl<'a> SparseTensorIndexCooRef<'a>
impl<'a> SparseTensorIndexCooRef<'a>
Sourcepub fn indices_type(&self) -> Result<IntRef<'a>>
pub fn indices_type(&self) -> Result<IntRef<'a>>
Getter for the indicesType field.
Sourcepub fn indices_strides(&self) -> Result<Option<Vector<'a, i64>>>
pub fn indices_strides(&self) -> Result<Option<Vector<'a, i64>>>
Getter for the indicesStrides field.
Sourcepub fn indices_buffer(&self) -> Result<BufferRef<'a>>
pub fn indices_buffer(&self) -> Result<BufferRef<'a>>
Getter for the indicesBuffer field.
Sourcepub fn is_canonical(&self) -> Result<bool>
pub fn is_canonical(&self) -> Result<bool>
Getter for the isCanonical field.
Trait Implementations§
Source§impl<'a> Clone for SparseTensorIndexCooRef<'a>
impl<'a> Clone for SparseTensorIndexCooRef<'a>
Source§fn clone(&self) -> SparseTensorIndexCooRef<'a>
fn clone(&self) -> SparseTensorIndexCooRef<'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 SparseTensorIndexCooRef<'a>
impl<'a> Debug for SparseTensorIndexCooRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SparseTensorIndexCooRef<'a>
impl<'a> ReadAsRoot<'a> for SparseTensorIndexCooRef<'a>
Source§impl<'a> TryFrom<SparseTensorIndexCooRef<'a>> for SparseTensorIndexCoo
impl<'a> TryFrom<SparseTensorIndexCooRef<'a>> for SparseTensorIndexCoo
impl<'a> Copy for SparseTensorIndexCooRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseTensorIndexCooRef<'a>
impl<'a> RefUnwindSafe for SparseTensorIndexCooRef<'a>
impl<'a> Send for SparseTensorIndexCooRef<'a>
impl<'a> Sync for SparseTensorIndexCooRef<'a>
impl<'a> Unpin for SparseTensorIndexCooRef<'a>
impl<'a> UnwindSafe for SparseTensorIndexCooRef<'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