Operations on [u8]
eq
ord
- Interfaces used for comparison.cmp
- Bytewise string comparisoneq
- Bytewise equalityge
- Bytewise greater than or equalgt
- Bytewise greater thanhash
- String hash functionis_ascii
le
- Bytewise less than or equallt
- Bytewise less than or equalne
- Bytewise inequalityeq
eq
fn eq(&&other: self) -> bool
ord
Interfaces used for comparison.
lt
fn lt(&&other: self) -> bool
cmp
pure fn cmp(&&a: ~[u8], &&b: ~[u8]) -> int
Bytewise string comparison
eq
pure fn eq(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise equality
ge
pure fn ge(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise greater than or equal
gt
pure fn gt(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise greater than
hash
fn hash(&&s: ~[u8]) -> uint
String hash function
is_ascii
pure fn is_ascii(x: T) -> bool
le
pure fn le(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise less than or equal
lt
pure fn lt(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise less than or equal
ne
pure fn ne(&&a: ~[u8], &&b: ~[u8]) -> bool
Bytewise inequality