Struct string_cache::atom::BorrowedAtom [] [src]

pub struct BorrowedAtom<'a>(pub &'a Atom);

Methods from Deref<Target=Atom>

fn get_hash(&self) -> u32

fn with_str<F, Output>(&self, cb: F) -> Output where F: FnOnce(&str) -> Output

fn to_ascii_uppercase(&self) -> Atom

fn to_ascii_lowercase(&self) -> Atom

fn eq_ignore_ascii_case(&self, other: &Self) -> bool

fn eq_str_ignore_ascii_case(&self, other: &str) -> bool

Trait Implementations

impl<'a> Deref for BorrowedAtom<'a>
[src]

type Target = Atom

The resulting type after dereferencing

fn deref(&self) -> &Atom

The method called to dereference a value

impl<'a> PartialEq<Atom> for BorrowedAtom<'a>
[src]

fn eq(&self, other: &Atom) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.