Trait grafix_toolbox::lib::InspectCell

source ·
pub trait InspectCell<T> {
    // Required method
    fn inspect<R>(&self, f: impl Fn(&T) -> R) -> R;
}

Required Methods§

source

fn inspect<R>(&self, f: impl Fn(&T) -> R) -> R

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> InspectCell<T> for Cell<T>