pub struct StringConst(pub String);
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Clone for StringConst
impl Clone for StringConst
Source§fn clone(&self) -> StringConst
fn clone(&self) -> StringConst
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§impl Debug for StringConst
impl Debug for StringConst
Auto Trait Implementations§
impl Freeze for StringConst
impl RefUnwindSafe for StringConst
impl Send for StringConst
impl Sync for StringConst
impl Unpin for StringConst
impl UnwindSafe for StringConst
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