Trait adana_script_core::primitive::Array

source ·
pub trait Array {
    // Required methods
    fn index_at(&self, rhs: &Self) -> Self;
    fn len(&self) -> Primitive;
    fn is_empty(&self) -> Primitive;
    fn swap_mem(&mut self, rhs: &mut Self, index: &Primitive) -> Self;
    fn remove(&mut self, key: &Self) -> Result<()>;
}

Required Methods§

source

fn index_at(&self, rhs: &Self) -> Self

source

fn len(&self) -> Primitive

source

fn is_empty(&self) -> Primitive

source

fn swap_mem(&mut self, rhs: &mut Self, index: &Primitive) -> Self

source

fn remove(&mut self, key: &Self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§