pub enum BindingCellState {
Uninitialized,
Initialized(Value),
Deleted,
Immutable(Value),
LiveAlias(BindingCell),
}Expand description
The explicit lifecycle and mutation state of a BindingCell.
Variants§
Uninitialized
The binding exists but has not received a value.
Initialized(Value)
A mutable binding holding a value.
Deleted
A binding which has been removed and cannot be read.
Immutable(Value)
A read-only binding holding a value.
LiveAlias(BindingCell)
A binding which forwards reads and writes to another live cell.
Trait Implementations§
Source§impl Clone for BindingCellState
impl Clone for BindingCellState
Source§fn clone(&self) -> BindingCellState
fn clone(&self) -> BindingCellState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for BindingCellState
impl !UnwindSafe for BindingCellState
impl Freeze for BindingCellState
impl Send for BindingCellState
impl Sync for BindingCellState
impl Unpin for BindingCellState
impl UnsafeUnpin for BindingCellState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more