pub struct Mut<Tag>(/* private fields */);
Expand description
A ResourceTag
that corresponds to a unique reference to the output value of Tag
.
Can also be used as an operator on TypeFn
implementations.
For example: Mut<Value<T>>
implements the following for all 'x, T: 'static
:
ⓘ
TypeFn<Output<Lt!['x]> = &'x mut T> + ResourceTag + TagFor<Lt!['x], Value = &'x mut T>
Trait Implementations§
Source§impl<Tag: ResourceTag> ResourceTag for Mut<Tag>
impl<Tag: ResourceTag> ResourceTag for Mut<Tag>
Auto Trait Implementations§
impl<Tag> Freeze for Mut<Tag>where
Tag: Freeze,
impl<Tag> RefUnwindSafe for Mut<Tag>where
Tag: RefUnwindSafe,
impl<Tag> Send for Mut<Tag>where
Tag: Send,
impl<Tag> Sync for Mut<Tag>where
Tag: Sync,
impl<Tag> Unpin for Mut<Tag>where
Tag: Unpin,
impl<Tag> UnwindSafe for Mut<Tag>where
Tag: UnwindSafe,
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