pub struct RefMut<'t>(_);
Expand description
Reference to mutably borrowed guarded String
Implementations§
source§impl RefMut<'_>
impl RefMut<'_>
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn as_str(&self) -> &str
pub fn chars(&self) -> Chars<'_>
pub fn reserve(&mut self, capacity: usize)
pub fn reserve_exact(&mut self, capacity: usize)
pub fn push(&mut self, ch: char)
pub fn push_str(&mut self, string: &str)
pub fn pop(&mut self) -> Option<char>
Trait Implementations§
source§impl PartialEq<Ref<'_>> for RefMut<'_>
impl PartialEq<Ref<'_>> for RefMut<'_>
source§impl PartialEq<RefMut<'_>> for Ref<'_>
impl PartialEq<RefMut<'_>> for Ref<'_>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for RefMut<'t>
impl<'t> Send for RefMut<'t>
impl<'t> Sync for RefMut<'t>
impl<'t> Unpin for RefMut<'t>
impl<'t> !UnwindSafe for RefMut<'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