pub struct StringContainer {
pub text: &'static str,
/* private fields */
}Expand description
A container that holds the string’s value and character count.
Fields§
§text: &'static strThe string value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StringContainer
impl RefUnwindSafe for StringContainer
impl Send for StringContainer
impl Sync for StringContainer
impl Unpin for StringContainer
impl UnsafeUnpin for StringContainer
impl UnwindSafe for StringContainer
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