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§