pub struct Origin;Trait Implementations§
Source§impl Bytes<Origin, Origin> for ()
impl Bytes<Origin, Origin> for ()
const BYTES_SIZE: usize = 0usize
fn from_bytes(_bytes: [u8; 0], _endianness: bool) -> Self
fn to_bytes(&self, _endianness: bool) -> [u8; 0]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const bool
impl Bytes<Origin, Origin> for *const bool
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const char
impl Bytes<Origin, Origin> for *const char
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const f32
impl Bytes<Origin, Origin> for *const f32
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const f64
impl Bytes<Origin, Origin> for *const f64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const i128
impl Bytes<Origin, Origin> for *const i128
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const i16
impl Bytes<Origin, Origin> for *const i16
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const i32
impl Bytes<Origin, Origin> for *const i32
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const i64
impl Bytes<Origin, Origin> for *const i64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const i8
impl Bytes<Origin, Origin> for *const i8
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const isize
impl Bytes<Origin, Origin> for *const isize
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const u128
impl Bytes<Origin, Origin> for *const u128
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const u16
impl Bytes<Origin, Origin> for *const u16
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const u32
impl Bytes<Origin, Origin> for *const u32
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const u64
impl Bytes<Origin, Origin> for *const u64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const u8
impl Bytes<Origin, Origin> for *const u8
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for *const usize
impl Bytes<Origin, Origin> for *const usize
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 32usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 24usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 32usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 40usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 48usize
fn to_bytes(&self, endianness: bool) -> [u8; 48]
fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 24usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for File
impl Bytes<Origin, Origin> for File
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Information
impl Bytes<Origin, Origin> for Information
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 32usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 32usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 40usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 48usize
fn to_bytes(&self, endianness: bool) -> [u8; 48]
fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<File>
impl Bytes<Origin, Origin> for Option<File>
const BYTES_SIZE: usize = 17usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<Information>
impl Bytes<Origin, Origin> for Option<Information>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
impl Bytes<Origin, Origin> for Option<OkSyscallMUnMap>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<Pair>
impl Bytes<Origin, Origin> for Option<Pair>
const BYTES_SIZE: usize = 17usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<bool>
impl Bytes<Origin, Origin> for Option<bool>
const BYTES_SIZE: usize = 2usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<char>
impl Bytes<Origin, Origin> for Option<char>
const BYTES_SIZE: usize = 5usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<f32>
impl Bytes<Origin, Origin> for Option<f32>
const BYTES_SIZE: usize = 5usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<f64>
impl Bytes<Origin, Origin> for Option<f64>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i128>
impl Bytes<Origin, Origin> for Option<i128>
const BYTES_SIZE: usize = 17usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i16>
impl Bytes<Origin, Origin> for Option<i16>
const BYTES_SIZE: usize = 3usize
fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 3]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i32>
impl Bytes<Origin, Origin> for Option<i32>
const BYTES_SIZE: usize = 5usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i64>
impl Bytes<Origin, Origin> for Option<i64>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i8>
impl Bytes<Origin, Origin> for Option<i8>
const BYTES_SIZE: usize = 2usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<isize>
impl Bytes<Origin, Origin> for Option<isize>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u128>
impl Bytes<Origin, Origin> for Option<u128>
const BYTES_SIZE: usize = 17usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u16>
impl Bytes<Origin, Origin> for Option<u16>
const BYTES_SIZE: usize = 3usize
fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 3]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u32>
impl Bytes<Origin, Origin> for Option<u32>
const BYTES_SIZE: usize = 5usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u64>
impl Bytes<Origin, Origin> for Option<u64>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u8>
impl Bytes<Origin, Origin> for Option<u8>
const BYTES_SIZE: usize = 2usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<usize>
impl Bytes<Origin, Origin> for Option<usize>
const BYTES_SIZE: usize = 9usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Pair
impl Bytes<Origin, Origin> for Pair
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Type
impl Bytes<Origin, Origin> for Type
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for TypeUnit
impl Bytes<Origin, Origin> for TypeUnit
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for bool
impl Bytes<Origin, Origin> for bool
const BYTES_SIZE: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for char
impl Bytes<Origin, Origin> for char
const BYTES_SIZE: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for f32
impl Bytes<Origin, Origin> for f32
const BYTES_SIZE: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for f64
impl Bytes<Origin, Origin> for f64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i128
impl Bytes<Origin, Origin> for i128
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i16
impl Bytes<Origin, Origin> for i16
const BYTES_SIZE: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i32
impl Bytes<Origin, Origin> for i32
const BYTES_SIZE: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i64
impl Bytes<Origin, Origin> for i64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i8
impl Bytes<Origin, Origin> for i8
const BYTES_SIZE: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for isize
impl Bytes<Origin, Origin> for isize
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u128
impl Bytes<Origin, Origin> for u128
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u16
impl Bytes<Origin, Origin> for u16
const BYTES_SIZE: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u32
impl Bytes<Origin, Origin> for u32
const BYTES_SIZE: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u64
impl Bytes<Origin, Origin> for u64
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u8
impl Bytes<Origin, Origin> for u8
const BYTES_SIZE: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for usize
impl Bytes<Origin, Origin> for usize
const BYTES_SIZE: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more