Struct tripcode::hash::FourchanHash [] [src]

pub struct FourchanHash(pub u64);

58-bit hash value that represents a 10-character tripcode i.e. 4chan's tripcode or 2channel's 10-character tripcode (10桁トリップ).

Trait Implementations

impl Copy for FourchanHash
[src]

impl Clone for FourchanHash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FourchanHash
[src]

Formats the value using the given formatter.

impl PartialEq for FourchanHash
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FourchanHash
[src]

impl PartialOrd for FourchanHash
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for FourchanHash
[src]

This method returns an Ordering between self and other. Read more

impl Hash for FourchanHash
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl AsciiTripcodeHash for FourchanHash
[src]

Decodes an ASCII-encoded tripcode into a hash value.

Returns maximum length of resulting tripcode.

Encodes self into an ASCII-encoded tripcode and writes it on a String.

Encodes self into an ASCII-encoded tripcode and writes it to a Write.

Encodes self into an ASCII-encoded tripcode.