pub struct RefMut<'lib, T: 'lib> { /* private fields */ }
Available on crate feature
symbor
only.Expand description
Safe wrapper around mutable reference.
This type is intended to be used only inside structures implementing SymBorApi
trait.
In other cases you can as well use normal Rust reference.
Implementations§
Trait Implementations§
source§impl<'lib, T> FromRawResult for RefMut<'lib, T>
impl<'lib, T> FromRawResult for RefMut<'lib, T>
impl<'lib, T: Send> Send for RefMut<'lib, T>
impl<'lib, T: Sync> Sync for RefMut<'lib, T>
Auto Trait Implementations§
impl<'lib, T> RefUnwindSafe for RefMut<'lib, T>where
T: RefUnwindSafe,
impl<'lib, T> Unpin for RefMut<'lib, T>
impl<'lib, T> !UnwindSafe for RefMut<'lib, T>
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