Struct rbx_types::SharedString
source · pub struct SharedString { /* private fields */ }
Expand description
A version of BinaryString
used for data that’s commonly repeated.
rbx_types
automatically deduplicates data as it’s loaded into
SharedString
values.
Implementations§
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 from(value: SharedString) -> Self
fn from(value: SharedString) -> Self
Converts to this type from the input type.
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