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 duplicate 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: NetAssetRef) -> Self
fn from(value: NetAssetRef) -> Self
Converts to this type from the input type.
Source§fn from(value: SharedString) -> Self
fn from(value: SharedString) -> Self
Converts to this type from the input type.
Source§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