Struct vec_cell::ElementRef
source · pub struct ElementRef<'borrow, T: 'borrow> { /* private fields */ }Expand description
A wrapper type for a immutably borrowed element from a VecCell<T>.
Trait Implementations§
source§impl<'borrow, T: Clone + 'borrow> Clone for ElementRef<'borrow, T>
impl<'borrow, T: Clone + 'borrow> Clone for ElementRef<'borrow, T>
source§fn clone(&self) -> ElementRef<'borrow, T>
fn clone(&self) -> ElementRef<'borrow, T>
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 more