[][src]Struct qp_trie::wrapper::BStr

pub struct BStr(_);

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

Implementations

impl BStr[src]

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

Trait Implementations

impl AsRef<BStr> for str[src]

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

impl Borrow<BStr> for BString[src]

impl Break for BStr[src]

type Split = BStr

impl Debug for BStr[src]

impl Eq for BStr[src]

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

impl Hash for BStr[src]

impl Ord for BStr[src]

impl PartialEq<BStr> for BStr[src]

impl PartialOrd<BStr> for BStr[src]

impl StructuralEq for BStr[src]

impl StructuralPartialEq for BStr[src]

impl ToOwned for BStr[src]

type Owned = BString

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for BStr

impl Send for BStr

impl Sync for BStr

impl Unpin for BStr

impl UnwindSafe for BStr

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

type Owned = T

The resulting type after obtaining ownership.