[−][src]Enum canonical::ValMut
A mutable value derived from a Repr
Variants
An owned instance of T
Fields of Owned
Borrowed(&'a mut T)
A borrowed instance of T
Trait Implementations
impl<'a, T, S> Deref for ValMut<'a, T, S> where
T: Canon<S>,
S: Store,
[src]
T: Canon<S>,
S: Store,
impl<'a, T, S> DerefMut for ValMut<'a, T, S> where
T: Canon<S>,
S: Store,
[src]
T: Canon<S>,
S: Store,
impl<'a, T, S> Drop for ValMut<'a, T, S> where
S: Store,
T: Canon<S>,
[src]
S: Store,
T: Canon<S>,
Auto Trait Implementations
impl<'a, T, S> RefUnwindSafe for ValMut<'a, T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
<S as Store>::Ident: RefUnwindSafe,
[src]
S: RefUnwindSafe,
T: RefUnwindSafe,
<S as Store>::Ident: RefUnwindSafe,
impl<'a, T, S> Send for ValMut<'a, T, S> where
S: Send,
T: Send,
<S as Store>::Ident: Send,
[src]
S: Send,
T: Send,
<S as Store>::Ident: Send,
impl<'a, T, S> Sync for ValMut<'a, T, S> where
S: Sync,
T: Sync,
<S as Store>::Ident: Sync,
[src]
S: Sync,
T: Sync,
<S as Store>::Ident: Sync,
impl<'a, T, S> Unpin for ValMut<'a, T, S> where
T: Unpin,
[src]
T: Unpin,
impl<'a, T, S> !UnwindSafe for ValMut<'a, T, S>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,