[][src]Struct string::String

#[repr(transparent)]pub struct 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]

impl Debug for String[src]

impl Deref for String[src]

type Target = str

The resulting type after dereferencing.

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]

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.

Auto Trait Implementations

impl Send for String

impl Sync for String

impl Unpin for String

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.