Operations on [u8]

Interface eq

Method eq

fn eq(&&other: self) -> bool

Interface ord

Interfaces used for comparison.

Method lt

fn lt(&&other: self) -> bool

Function cmp

pure fn cmp(&&a: ~[u8], &&b: ~[u8]) -> int

Bytewise string comparison

Function eq

pure fn eq(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise equality

Function ge

pure fn ge(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise greater than or equal

Function gt

pure fn gt(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise greater than

Function hash

fn hash(&&s: ~[u8]) -> uint

String hash function

Function is_ascii

pure fn is_ascii(x: T) -> bool

Function le

pure fn le(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise less than or equal

Function lt

pure fn lt(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise less than or equal

Function ne

pure fn ne(&&a: ~[u8], &&b: ~[u8]) -> bool

Bytewise inequality