pub struct ComputedSlot { /* private fields */ }Expand description
Storage for one get-only computed key path pattern.
Nine words rather than Slot’s twelve: there is no External component,
because there is no resilient framework property to defer to. The whole key
path is the local computed component.
Implementations§
Source§impl ComputedSlot
impl ComputedSlot
Sourcepub const fn new() -> Self
pub const fn new() -> Self
An empty slot, to be filled by build_computed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComputedSlot
impl RefUnwindSafe for ComputedSlot
impl Send for ComputedSlot
impl Sync for ComputedSlot
impl Unpin for ComputedSlot
impl UnsafeUnpin for ComputedSlot
impl UnwindSafe for ComputedSlot
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