pub trait MutableArray {
type Target;
// Required methods
fn push<V>(&mut self, v: V) -> Result<(), AccessError>
where V: Into<Self::Target>;
fn pop(&mut self) -> Result<Option<Self::Target>, AccessError>;
// Provided methods
fn try_push<V>(&mut self, v: V)
where V: Into<Self::Target> { ... }
fn try_pop(&mut self) -> Option<Self::Target> { ... }
}
Expand description
Mutatability for array like values
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.