Enum nsstring::nsStringAdapter [] [src]

pub enum nsStringAdapter<'a> {
    Borrowed(nsStr<'a>),
    Abstract(&'a nsAString),
}

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 = nsAString>

Trait Implementations

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

The resulting type after dereferencing.

[src]

Dereferences the value.