Enum glory_core::reflow::Lotus
source · pub enum Lotus<T>where
T: Debug + 'static,{
Bare {
holder_id: Rc<Cell<Option<HolderId>>>,
data: Rc<RefCell<T>>,
},
Cage(Cage<T>),
Bond(Bond<T>),
}Variants§
Implementations§
Trait Implementations§
source§impl<T> Revisable for Lotus<T>where
T: Debug + 'static,
impl<T> Revisable for Lotus<T>where T: Debug + 'static,
fn id(&self) -> RevisableId
fn holder_id(&self) -> Option<HolderId>
fn version(&self) -> usize
fn view_ids(&self) -> Rc<RefCell<IndexSet<ViewId>>>
fn bind_view(&self, view_id: &ViewId)
fn unbind_view(&self, view_id: &ViewId)
fn unlace_view(&self, view_id: &ViewId, loose: usize)
fn is_revising(&self) -> bool
fn clone_boxed(&self) -> Box<dyn Revisable>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Lotus<T>
impl<T> !Send for Lotus<T>
impl<T> !Sync for Lotus<T>
impl<T> Unpin for Lotus<T>
impl<T> !UnwindSafe for Lotus<T>
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