pub struct ZlibString(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl ByteStreamIo for ZlibString
Compresses a string to zlib then writes it to the writer.
impl ByteStreamIo for ZlibString
Compresses a string to zlib then writes it to the writer.
Source§impl Clone for ZlibString
impl Clone for ZlibString
Source§fn clone(&self) -> ZlibString
fn clone(&self) -> ZlibString
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 ZlibString
impl Debug for ZlibString
Source§impl Default for ZlibString
impl Default for ZlibString
Source§fn default() -> ZlibString
fn default() -> ZlibString
Returns the “default value” for a type. Read more
Source§impl Display for ZlibString
impl Display for ZlibString
Source§impl From<String> for ZlibString
impl From<String> for ZlibString
Source§fn from(original: String) -> ZlibString
fn from(original: String) -> ZlibString
Converts to this type from the input type.
Source§impl From<ZlibString> for String
impl From<ZlibString> for String
Source§fn from(original: ZlibString) -> Self
fn from(original: ZlibString) -> Self
Converts to this type from the input type.
Source§impl Ord for ZlibString
impl Ord for ZlibString
Source§fn cmp(&self, other: &ZlibString) -> Ordering
fn cmp(&self, other: &ZlibString) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ZlibString
impl PartialEq for ZlibString
Source§fn eq(&self, other: &ZlibString) -> bool
fn eq(&self, other: &ZlibString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ZlibString
impl PartialOrd for ZlibString
impl Eq for ZlibString
impl StructuralPartialEq for ZlibString
Auto Trait Implementations§
impl Freeze for ZlibString
impl RefUnwindSafe for ZlibString
impl Send for ZlibString
impl Sync for ZlibString
impl Unpin for ZlibString
impl UnsafeUnpin for ZlibString
impl UnwindSafe for ZlibString
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