Struct marine_utils::SharedString
source · pub struct SharedString(pub Arc<String>);
Tuple Fields§
§0: Arc<String>
Trait Implementations§
source§fn clone(&self) -> SharedString
fn clone(&self) -> SharedString
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> SharedString
fn default() -> SharedString
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &SharedString) -> bool
fn eq(&self, other: &SharedString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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