Trait ListStoreExt

Source
pub trait ListStoreExt: 'static {
    // Required methods
    fn append<P: IsA<Object>>(&self, item: &P);
    fn insert<P: IsA<Object>>(&self, position: u32, item: &P);
    fn remove(&self, position: u32);
    fn remove_all(&self);
    fn splice(&self, position: u32, n_removals: u32, additions: &[Object]);
}

Required Methods§

Source

fn append<P: IsA<Object>>(&self, item: &P)

Source

fn insert<P: IsA<Object>>(&self, position: u32, item: &P)

Source

fn remove(&self, position: u32)

Source

fn remove_all(&self)

Source

fn splice(&self, position: u32, n_removals: u32, additions: &[Object])

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§