fuchsia_inspect::types

Trait ArithmeticArrayProperty

Source
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.

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§