Struct immer_rs::FlexVector
[−]
[src]
pub struct FlexVector { /* fields omitted */ }
Methods
impl FlexVector
[src]
pub fn new() -> FlexVector
[src]
pub fn len(&self) -> usize
[src]
pub fn push_back(&self, elem: u8) -> FlexVector
[src]
pub fn push_back_char(&self, elem: char) -> FlexVector
[src]
pub fn push_back_string(&self, string: &str) -> FlexVector
[src]
pub fn push_front(&self, elem: u8) -> FlexVector
[src]
pub fn push_front_char(&self, elem: char) -> FlexVector
[src]
pub fn push_front_string(&self, string: &str) -> FlexVector
[src]
pub fn insert(&self, index: usize, elem: u8) -> Option<FlexVector>
[src]
pub fn insert_char(&self, index: usize, elem: char) -> Option<FlexVector>
[src]
pub fn insert_string(&self, index: usize, string: &str) -> Option<FlexVector>
[src]
pub fn delete(&self, index: usize) -> Option<FlexVector>
[src]
pub fn delete_range(&self, start: usize, end: usize) -> Option<FlexVector>
[src]
pub fn concat(&self, other: &FlexVector) -> FlexVector
[src]
ⓘImportant traits for FlexVectorIterpub fn bytes(&self) -> FlexVectorIter
[src]
ⓘImportant traits for FlexVectorIter
ⓘImportant traits for FlexVectorRIterpub fn reverse_bytes(&self) -> FlexVectorRIter
[src]
ⓘImportant traits for FlexVectorRIter
Trait Implementations
impl Add for FlexVector
[src]
type Output = FlexVector
The resulting type after applying the +
operator.
fn add(self, other: FlexVector) -> Self::Output
[src]
Performs the +
operation.
impl<'a, 'b> Add<&'a FlexVector> for &'b FlexVector
[src]
type Output = FlexVector
The resulting type after applying the +
operator.
fn add(self, other: &FlexVector) -> Self::Output
[src]
Performs the +
operation.
impl<'a> Add<&'a FlexVector> for FlexVector
[src]
type Output = FlexVector
The resulting type after applying the +
operator.
fn add(self, other: &FlexVector) -> Self::Output
[src]
Performs the +
operation.
impl Clone for FlexVector
[src]
fn clone(&self) -> FlexVector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more