Trait rustz::lense::Lense [] [src]

pub trait Lense {
    type Object;
    type Value;
    fn get(&self, obj: &Self::Object) -> Self::Value;
fn set(&self, obj: &Self::Object, val: &Self::Value) -> Self::Object; }

Associated Types

Required Methods

Implementors