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

Required Methods§

source

fn add(&self, index: usize, value: Self::Type)

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

source

fn subtract(&self, index: usize, value: Self::Type)

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

Object Safety§

This trait is not object safe.

Implementors§