value_trait::base

Trait ValueAsMutArray

source
pub trait ValueAsMutArray {
    type Array;

    // Required method
    fn as_array_mut(&mut self) -> Option<&mut Self::Array>;
}
Expand description

Mutatability for Array values

Required Associated Types§

source

type Array

The type for Arrays

Required Methods§

source

fn as_array_mut(&mut self) -> Option<&mut Self::Array>

Tries to represent the value as an array and returns a mutable reference to it

Implementors§