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
Borrowed(nsStr<'a>)Abstract(&'a nsAString)