pub struct WritableComputedSlot { /* private fields */ }Expand description
Storage for one settable computed key path pattern.
Ten words rather than Slot’s twelve: there is no External component,
because there is no exported property to defer to — FocusedValues has none
at all. And four words of component rather than three, because a settable one
carries a setter after its getter.
Implementations§
Source§impl WritableComputedSlot
impl WritableComputedSlot
Sourcepub const fn new() -> Self
pub const fn new() -> Self
An empty slot, to be filled by build_writable_computed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WritableComputedSlot
impl RefUnwindSafe for WritableComputedSlot
impl Send for WritableComputedSlot
impl Sync for WritableComputedSlot
impl Unpin for WritableComputedSlot
impl UnsafeUnpin for WritableComputedSlot
impl UnwindSafe for WritableComputedSlot
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