pub trait StoredIndexwhere
Self: Debug + Default + Copy + Clone + PartialEq + Eq + PartialOrd + Ord + TryInto<usize> + From<usize> + Add<usize, Output = Self> + Send + Sync,{
// Required methods
fn unwrap_to_usize(self) -> usize;
fn to_usize(self) -> Result<usize>;
fn to_string<'a>() -> &'a str;
fn decremented(self) -> Option<Self>;
}Required Methods§
fn unwrap_to_usize(self) -> usize
fn to_usize(self) -> Result<usize>
fn to_string<'a>() -> &'a str
fn decremented(self) -> Option<Self>
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.