pub trait CostAccessors {
type i32vec: Sized + SliceWrapper<Mem256i> + SliceWrapperMut<Mem256i>;
// Required methods
fn make_nnz_storage() -> Self::i32vec;
fn total_count(&self) -> usize;
fn bit_cost(&self) -> floatX;
fn set_bit_cost(&mut self, cost: floatX);
fn set_total_count(&mut self, count: usize);
}
Required Associated Types§
type i32vec: Sized + SliceWrapper<Mem256i> + SliceWrapperMut<Mem256i>
Required Methods§
fn make_nnz_storage() -> Self::i32vec
fn total_count(&self) -> usize
fn bit_cost(&self) -> floatX
fn set_bit_cost(&mut self, cost: floatX)
fn set_total_count(&mut self, count: usize)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.