[][src]Trait lv2rs_atom::vector::VectorWritingFrame

pub trait VectorWritingFrame<'a, T> where
    T: 'static + AtomBody + Sized + Copy,
    Self: WritingFrame<'a> + WritingFrameExt<'a, Vector<T>>, 
{ fn push(&mut self, value: T) -> Result<(), ()> { ... }
fn append(&mut self, slice: &[T]) -> Result<(), ()> { ... } }

Extension for WritingFrame and WritingFrameExt for vectors.

See the module documentation for more information.

Provided methods

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

Push a value to the end of the vector.

fn append(&mut self, slice: &[T]) -> Result<(), ()>

Append a slice of values to the end of the vector.

Loading content...

Implementors

impl<'a, T, F> VectorWritingFrame<'a, T> for F where
    T: 'static + AtomBody + Sized + Copy,
    F: WritingFrame<'a> + WritingFrameExt<'a, Vector<T>>, 
[src]

fn push(&mut self, value: T) -> Result<(), ()>[src]

fn append(&mut self, slice: &[T]) -> Result<(), ()>[src]

Loading content...