[−][src]Struct rust_warc::CaseString
Case insensitive string
use rust_warc::CaseString; // explicit constructor let s1 = CaseString::from(String::from("HELLO!")); // implicit conversion from String or &str let s2: CaseString = "hello!".into(); assert_eq!(s1, s2);
Methods
impl CaseString
[src]
Trait Implementations
impl Debug for CaseString
[src]
impl Eq for CaseString
[src]
impl<'_> From<&'_ str> for CaseString
[src]
impl From<String> for CaseString
[src]
impl Hash for CaseString
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<String> for CaseString
[src]
impl PartialEq<CaseString> for CaseString
[src]
fn eq(&self, other: &CaseString) -> bool
[src]
fn ne(&self, other: &CaseString) -> bool
[src]
impl PartialEq<String> for CaseString
[src]
impl StructuralEq for CaseString
[src]
impl StructuralPartialEq for CaseString
[src]
Auto Trait Implementations
impl RefUnwindSafe for CaseString
impl Send for CaseString
impl Sync for CaseString
impl Unpin for CaseString
impl UnwindSafe for CaseString
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, 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>,