[][src]Struct rkyv::std_impl::ArchivedString

#[repr(transparent)]pub struct ArchivedString(_);

An archived String.

Uses ArchivedStringSlice under the hood.

Implementations

impl ArchivedString[src]

pub fn as_str(&self) -> &str[src]

Extracts a string slice containing the entire ArchivedString.

pub fn as_mut_str(&mut self) -> &mut str[src]

Converts an ArchivedString into a mutable string slice.

pub fn str_pin(self: Pin<&mut Self>) -> Pin<&mut str>[src]

Gets the value of this archived string as a pinned mutable reference.

Trait Implementations

impl Borrow<str> for ArchivedString[src]

impl<C> CheckBytes<C> for ArchivedString where
    ArchivedStringSlice: CheckBytes<C>, 
[src]

type Error = <ArchivedStringSlice as CheckBytes<C>>::Error

The error that may result from validating the type.

impl Debug for ArchivedString[src]

impl Deref for ArchivedString[src]

type Target = str

The resulting type after dereferencing.

impl DerefMut for ArchivedString[src]

impl Display for ArchivedString[src]

impl Eq for ArchivedString[src]

impl Hash for ArchivedString[src]

impl Ord for ArchivedString[src]

impl<'_> PartialEq<&'_ str> for ArchivedString[src]

impl PartialEq<ArchivedString> for ArchivedString[src]

impl<'_> PartialEq<ArchivedString> for &'_ str[src]

impl PartialEq<ArchivedString> for String[src]

impl PartialEq<String> for ArchivedString[src]

impl PartialOrd<ArchivedString> for ArchivedString[src]

impl StructuralEq for ArchivedString[src]

impl StructuralPartialEq for ArchivedString[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.