[][src]Struct qp_trie::wrapper::BString

pub struct BString(_);

A wrapper for String which implements Borrow<[u8]> and hashes in the same way as a byte slice.

Methods from Deref<Target = BStr>

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

Trait Implementations

impl Borrow<[u8]> for BString[src]

impl Borrow<BStr> for BString[src]

impl Break for BString[src]

type Split = BStr

impl Clone for BString[src]

impl Debug for BString[src]

impl Deref for BString[src]

type Target = BStr

The resulting type after dereferencing.

impl Eq for BString[src]

impl<'a> From<&'a str> for BString[src]

impl From<BString> for String[src]

impl From<String> for BString[src]

impl Hash for BString[src]

impl Ord for BString[src]

impl PartialEq<BString> for BString[src]

impl PartialOrd<BString> for BString[src]

impl StructuralEq for BString[src]

impl StructuralPartialEq for BString[src]

Auto Trait Implementations

impl RefUnwindSafe for BString

impl Send for BString

impl Sync for BString

impl Unpin for BString

impl UnwindSafe for BString

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.