Origin

Struct Origin 

Source
pub struct Origin;

Trait Implementations§

Source§

impl Bytes<Origin, Origin> for ()

Source§

const BYTES_SIZE: usize = 0usize

Source§

fn from_bytes(_bytes: [u8; 0], _endianness: bool) -> Self

Source§

fn to_bytes(&self, _endianness: bool) -> [u8; 0]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const bool

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const char

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const f32

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const f64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const i128

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const i16

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const i32

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const i64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const i8

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const isize

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const u128

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const u16

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const u32

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const u64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const u8

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for *const usize

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 32usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 32]

Source§

fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 24usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 24]

Source§

fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 32usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 32]

Source§

fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 40usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 40]

Source§

fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 48usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 48]

Source§

fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 24usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 24]

Source§

fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for File

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Information

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 32usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 32]

Source§

fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 24]

Source§

fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 32usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 32]

Source§

fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 40usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 40]

Source§

fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 48usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 48]

Source§

fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 24]

Source§

fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<File>

Source§

const BYTES_SIZE: usize = 17usize

Source§

fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 17]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<Information>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<Pair>

Source§

const BYTES_SIZE: usize = 17usize

Source§

fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 17]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<bool>

Source§

const BYTES_SIZE: usize = 2usize

Source§

fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 2]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<char>

Source§

const BYTES_SIZE: usize = 5usize

Source§

fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 5]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<f32>

Source§

const BYTES_SIZE: usize = 5usize

Source§

fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 5]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<f64>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<i128>

Source§

const BYTES_SIZE: usize = 17usize

Source§

fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 17]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<i16>

Source§

const BYTES_SIZE: usize = 3usize

Source§

fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 3]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<i32>

Source§

const BYTES_SIZE: usize = 5usize

Source§

fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 5]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<i64>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<i8>

Source§

const BYTES_SIZE: usize = 2usize

Source§

fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 2]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<isize>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<u128>

Source§

const BYTES_SIZE: usize = 17usize

Source§

fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 17]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<u16>

Source§

const BYTES_SIZE: usize = 3usize

Source§

fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 3]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<u32>

Source§

const BYTES_SIZE: usize = 5usize

Source§

fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 5]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<u64>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<u8>

Source§

const BYTES_SIZE: usize = 2usize

Source§

fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 2]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Option<usize>

Source§

const BYTES_SIZE: usize = 9usize

Source§

fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 9]

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Pair

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for Type

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for TypeUnit

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for bool

Source§

const BYTES_SIZE: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 1]

Source§

fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for char

Source§

const BYTES_SIZE: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 4]

Source§

fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for f32

Source§

const BYTES_SIZE: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 4]

Source§

fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for f64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for i128

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for i16

Source§

const BYTES_SIZE: usize = 2usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 2]

Source§

fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for i32

Source§

const BYTES_SIZE: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 4]

Source§

fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for i64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for i8

Source§

const BYTES_SIZE: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 1]

Source§

fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for isize

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for u128

Source§

const BYTES_SIZE: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 16]

Source§

fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for u16

Source§

const BYTES_SIZE: usize = 2usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 2]

Source§

fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for u32

Source§

const BYTES_SIZE: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 4]

Source§

fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for u64

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for u8

Source§

const BYTES_SIZE: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 1]

Source§

fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Bytes<Origin, Origin> for usize

Source§

const BYTES_SIZE: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; 8]

Source§

fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]

Source§

fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Self
where Self: Sized,

Source§

impl Labeled<Origin> for Type

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Labeled<Origin> for TypeUnit

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Primitive<Origin, Origin> for bool

Source§

impl Primitive<Origin, Origin> for char

Source§

impl Primitive<Origin, Origin> for f32

Source§

impl Primitive<Origin, Origin> for f64

Source§

impl Primitive<Origin, Origin> for i128

Source§

impl Primitive<Origin, Origin> for i16

Source§

impl Primitive<Origin, Origin> for i32

Source§

impl Primitive<Origin, Origin> for i64

Source§

impl Primitive<Origin, Origin> for i8

Source§

impl Primitive<Origin, Origin> for isize

Source§

impl Primitive<Origin, Origin> for u128

Source§

impl Primitive<Origin, Origin> for u16

Source§

impl Primitive<Origin, Origin> for u32

Source§

impl Primitive<Origin, Origin> for u64

Source§

impl Primitive<Origin, Origin> for u8

Source§

impl Primitive<Origin, Origin> for usize

Auto Trait Implementations§

§

impl Freeze for Origin

§

impl RefUnwindSafe for Origin

§

impl Send for Origin

§

impl Sync for Origin

§

impl Unpin for Origin

§

impl UnwindSafe for Origin

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.