Trait std::ascii::OwnedAsciiCast

pub trait OwnedAsciiCast {
    fn into_ascii(self) -> ~[Ascii];
    unsafe fn into_ascii_nocheck(self) -> ~[Ascii];
}

Trait for copyless casting to an ascii vector.

Required Methods

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.

Implementors