[−][src]Struct string::String
Implementations
impl String
[src]
pub fn new() -> Self
[src]
pub fn from_str(s: &str) -> Option<Self>
[src]
pub unsafe fn from_vec_unchecked(x: Vec<u8>) -> Self
[src]
Trait Implementations
impl Borrow<str> for String
[src]
impl BorrowMut<str> for String
[src]
fn borrow_mut(&mut self) -> &mut str
[src]
impl Debug for String
[src]
impl Deref for String
[src]
impl DerefMut for String
[src]
impl Display for String
[src]
impl Eq for String
[src]
impl From<String> for Vec<u8>
[src]
impl Hash for String
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<String> for String
[src]
impl StructuralEq for String
[src]
impl StructuralPartialEq for String
[src]
impl TryFrom<Vec<u8, NullAllocator>> for String
[src]
type Error = FromUtf8Error
The type returned in the event of a conversion error.
fn try_from(bs: Vec<u8>) -> Result<Self, FromUtf8Error>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,