Enum nsstring::nsCStringAdapter [] [src]

pub enum nsCStringAdapter<'a> {
    Borrowed(nsCStr<'a>),
    Abstract(&'a nsACString),
}

An adapter type to allow for passing both types which coerce to &[$char_type], and &$AString to a function, while still performing optimized operations when passed the $AString.

Variants

Methods from Deref<Target = nsACString>

[src]

Trait Implementations

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

The resulting type after dereferencing.

[src]

Dereferences the value.