Skip to main content

CsrMatrixSetMethods

Trait CsrMatrixSetMethods 

Source
pub trait CsrMatrixSetMethods<V> {
    // Required method
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

Source

fn len(&self) -> usize

Returns the number of matrices in the set.

Provided Methods§

Source

fn is_empty(&self) -> bool

Returns true if the set contains no matrices.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, T, V> CsrMatrixSetMethods<V> for &'a T
where &'a T: IntoView<View = CsrMatrixSetView<'a, V>>, V: Real,

Source§

fn len(&self) -> usize

Implementors§