Trait ArithmeticArrayProperty

Source
pub trait ArithmeticArrayProperty: ArrayProperty {
    // Required methods
    fn add<'a>(&self, index: usize, value: Self::Type<'a>)
       where Self: 'a;
    fn subtract<'a>(&self, index: usize, value: Self::Type<'a>)
       where Self: 'a;
}

Required Methods§

Source

fn add<'a>(&self, index: usize, value: Self::Type<'a>)
where Self: 'a,

Adds the given value to the property current value at the given index.

Source

fn subtract<'a>(&self, index: usize, value: Self::Type<'a>)
where Self: 'a,

Subtracts the given value to the property current value at the given index.

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§