Trait ConstrainedSet

Source
pub trait ConstrainedSet<Index, Constrained, Inspected>
where Index: Copy,
{ // Required methods fn get(&self, _: Index) -> (Constrained, Inspected); fn set(&mut self, _: Index, _: Constrained); }
Expand description

A type that can be indexed and return some information. Constrained is information that can be returned and set, while Inspected is information that can only be returned.

Required Methods§

Source

fn get(&self, _: Index) -> (Constrained, Inspected)

Source

fn set(&mut self, _: Index, _: Constrained)

Implementors§