pub struct DirectString(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl ByteStreamIo for DirectString
impl ByteStreamIo for DirectString
Source§impl Clone for DirectString
impl Clone for DirectString
Source§fn clone(&self) -> DirectString
fn clone(&self) -> DirectString
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 DirectString
impl Debug for DirectString
Source§impl Default for DirectString
impl Default for DirectString
Source§fn default() -> DirectString
fn default() -> DirectString
Returns the “default value” for a type. Read more
Source§impl Display for DirectString
impl Display for DirectString
Source§impl From<DirectString> for String
impl From<DirectString> for String
Source§fn from(original: DirectString) -> Self
fn from(original: DirectString) -> Self
Converts to this type from the input type.
Source§impl From<String> for DirectString
impl From<String> for DirectString
Source§fn from(original: String) -> DirectString
fn from(original: String) -> DirectString
Converts to this type from the input type.
Source§impl Ord for DirectString
impl Ord for DirectString
Source§fn cmp(&self, other: &DirectString) -> Ordering
fn cmp(&self, other: &DirectString) -> 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 DirectString
impl PartialEq for DirectString
Source§fn eq(&self, other: &DirectString) -> bool
fn eq(&self, other: &DirectString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DirectString
impl PartialOrd for DirectString
impl Eq for DirectString
impl StructuralPartialEq for DirectString
Auto Trait Implementations§
impl Freeze for DirectString
impl RefUnwindSafe for DirectString
impl Send for DirectString
impl Sync for DirectString
impl Unpin for DirectString
impl UnsafeUnpin for DirectString
impl UnwindSafe for DirectString
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