pub struct PrefixedString(pub String);Expand description
A standard UTF-8 string prefixed by its byte length as a VarInt.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for PrefixedString
impl Clone for PrefixedString
Source§fn clone(&self) -> PrefixedString
fn clone(&self) -> PrefixedString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrefixedString
impl Debug for PrefixedString
Source§impl Default for PrefixedString
impl Default for PrefixedString
Source§fn default() -> PrefixedString
fn default() -> PrefixedString
Returns the “default value” for a type. Read more
impl Eq for PrefixedString
Source§impl Hash for PrefixedString
impl Hash for PrefixedString
Source§impl PartialEq for PrefixedString
impl PartialEq for PrefixedString
impl StructuralPartialEq for PrefixedString
Auto Trait Implementations§
impl Freeze for PrefixedString
impl RefUnwindSafe for PrefixedString
impl Send for PrefixedString
impl Sync for PrefixedString
impl Unpin for PrefixedString
impl UnsafeUnpin for PrefixedString
impl UnwindSafe for PrefixedString
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