pub trait OwnedAsciiCast { fn into_ascii(self) -> ~[Ascii]; unsafe fn into_ascii_nocheck(self) -> ~[Ascii]; }
Trait for copyless casting to an ascii vector.
fn into_ascii(self) -> ~[Ascii]
Take ownership and cast to an ascii vector without trailing zero element.
unsafe fn into_ascii_nocheck(self) -> ~[Ascii]
Take ownership and cast to an ascii vector without trailing zero element. Does not perform validation checks.
impl OwnedAsciiCast for ~[u8]
impl OwnedAsciiCast for ~str
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).