pub struct BorrowString;Trait Implementations§
Source§impl<'a> Borrow<'a, BorrowString> for &str
impl<'a> Borrow<'a, BorrowString> for &str
Source§fn borrow<'b>(&'a self) -> Borrowed<'b, BorrowString>where
'a: 'b,
fn borrow<'b>(&'a self) -> Borrowed<'b, BorrowString>where
'a: 'b,
Create a borrowed version of this type.
Source§impl<'a> Borrow<'a, BorrowString> for String
Available on crate feature std only.
impl<'a> Borrow<'a, BorrowString> for String
Available on crate feature
std only.Source§fn borrow<'b>(&'a self) -> Borrowed<'b, BorrowString>where
'a: 'b,
fn borrow<'b>(&'a self) -> Borrowed<'b, BorrowString>where
'a: 'b,
Create a borrowed version of this type.
Auto Trait Implementations§
impl Freeze for BorrowString
impl RefUnwindSafe for BorrowString
impl Send for BorrowString
impl Sync for BorrowString
impl Unpin for BorrowString
impl UnsafeUnpin for BorrowString
impl UnwindSafe for BorrowString
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