pub trait ValueLens: Lens {
// Required method
fn get(&self, source: &Self::Source) -> Self::Target;
}Expand description
A lens that allows the target to be accessed only by cloning or copying the target value.
pub trait ValueLens: Lens {
// Required method
fn get(&self, source: &Self::Source) -> Self::Target;
}A lens that allows the target to be accessed only by cloning or copying the target value.