[][src]Trait rmodbus::VectorTrait

pub trait VectorTrait<T: Copy> {
    fn add(&mut self, value: T) -> Result<(), ErrorKind>;
fn add_bulk(&mut self, other: &[T]) -> Result<(), ErrorKind>;
fn get_len(&self) -> usize;
fn clear_all(&mut self);
fn cut_end(&mut self, len_to_cut: usize, value: T);
fn get_slice(&self) -> &[T]; }

Required methods

fn add(&mut self, value: T) -> Result<(), ErrorKind>

fn add_bulk(&mut self, other: &[T]) -> Result<(), ErrorKind>

fn get_len(&self) -> usize

fn clear_all(&mut self)

fn cut_end(&mut self, len_to_cut: usize, value: T)

fn get_slice(&self) -> &[T]

Loading content...

Implementations on Foreign Types

impl<T: Copy> VectorTrait<T> for Vec<T>

Loading content...

Implementors

Loading content...