Struct std::net::n16 [] [src]

pub struct n16 {
    pub bytes: [u8; 2],
}

Fields

bytes

Methods

impl n16

fn new(value: u16) -> Self

fn get(&self) -> u16

fn set(&mut self, value: u16)

Trait Implementations

Derived Implementations

impl Clone for n16

fn clone(&self) -> n16

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

impl Copy for n16