[−][src]Struct runestick::RawStr
A raw static string.
We define and use this instead of relying on &'static str
(which should
have a similar layout) because we want to allow static construction of the
RawStr
through a C-ffi.
Implementations
impl RawStr
[src]
Trait Implementations
impl Clone for RawStr
[src]
impl Copy for RawStr
[src]
impl Debug for RawStr
[src]
impl Deref for RawStr
[src]
RawStr derefs into a str.
impl Display for RawStr
[src]
impl From<&'static str> for RawStr
[src]
impl IntoComponent for RawStr
[src]
fn as_component_ref(&self) -> ComponentRef<'_>
[src]
fn into_component(self) -> Component
[src]
fn write_component(self, output: &mut Vec<u8>)
[src]
fn hash_component<H>(self, hasher: &mut H) where
H: Hasher,
[src]
H: Hasher,
impl<'_> IntoComponent for &'_ RawStr
[src]
fn as_component_ref(&self) -> ComponentRef<'_>
[src]
fn into_component(self) -> Component
[src]
fn write_component(self, output: &mut Vec<u8>)
[src]
fn hash_component<H>(self, hasher: &mut H) where
H: Hasher,
[src]
H: Hasher,
impl Send for RawStr
[src]
impl Sync for RawStr
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,