Trait big_int::GetBackMut

source ·
pub trait GetBackMut {
    type Item;

    // Required method
    fn get_back_mut(&mut self, index: usize) -> Option<&mut Self::Item>;
}
Expand description

Safely retrieve a mutable reference from a collection with negative indexing.

Required Associated Types§

Required Methods§

source

fn get_back_mut(&mut self, index: usize) -> Option<&mut Self::Item>

Safely retrieve a mutable reference from a collection with negative indexing. Returns None if the index is larger than the length of the collection.

Implementations on Foreign Types§

source§

impl<T> GetBackMut for Vec<T>

§

type Item = T

source§

fn get_back_mut(&mut self, index: usize) -> Option<&mut Self::Item>

Implementors§