Struct unreliable_message::msgqueue::PieceNum [] [src]

pub struct PieceNum(pub u16, pub u16);

Trait Implementations

Derived Implementations

impl Copy for PieceNum

impl Clone for PieceNum

fn clone(&self) -> PieceNum

fn clone_from(&mut self, source: &Self)

impl Decodable for PieceNum

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<PieceNum, __D::Error>

impl Encodable for PieceNum

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for PieceNum

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for PieceNum

fn eq(&self, __arg_0: &PieceNum) -> bool

fn ne(&self, __arg_0: &PieceNum) -> bool

impl Eq for PieceNum

impl PartialOrd for PieceNum

fn partial_cmp(&self, __arg_0: &PieceNum) -> Option<Ordering>

fn lt(&self, __arg_0: &PieceNum) -> bool

fn le(&self, __arg_0: &PieceNum) -> bool

fn gt(&self, __arg_0: &PieceNum) -> bool

fn ge(&self, __arg_0: &PieceNum) -> bool

impl Ord for PieceNum

fn cmp(&self, __arg_0: &PieceNum) -> Ordering

impl Hash for PieceNum

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher