Struct orbtk::cell::CloneCell
[−]
[src]
pub struct CloneCell<T: Clone + 'static> { /* fields omitted */ }
Methods
impl<T: Clone> CloneCell<T>
[src]
fn new(value: T) -> Self
[src]
fn borrow(&self) -> Ref<T>
[src]
fn borrow_mut(&self) -> RefMut<T>
[src]
fn get(&self) -> T
[src]
fn set(&self, value: T)
[src]
fn bind(&self, other: &CloneCell<T>)
[src]
fn on_changed<F: Fn(T) + 'static>(&self, func: F) -> &Self
[src]
Trait Implementations
impl<T: Copy> CheckSet<T> for CloneCell<T> where
T: PartialOrd,
[src]
T: PartialOrd,