pub struct Decorators { /* private fields */ }Expand description
editor._decorators (Record<NodeKey, unknown>): what each decorator
the reconciler rendered returned from
decorate, by key, in the order JS’s object
lists its keys (Object.entries): array-index keys ascending, which
every generated key is, then the others in insertion order. A value is
the app’s Rc<dyn Any>, compared by identity (Rc::ptr_eq) as JS
compares the object a decorate returns (===).
Implementations§
Trait Implementations§
Source§impl Clone for Decorators
impl Clone for Decorators
Source§impl Debug for Decorators
impl Debug for Decorators
Auto Trait Implementations§
impl !RefUnwindSafe for Decorators
impl !Send for Decorators
impl !Sync for Decorators
impl !UnwindSafe for Decorators
impl Forget for Decorators
impl Freeze for Decorators
impl Move for Decorators
impl Unpin for Decorators
impl UnsafeUnpin for Decorators
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