Origin

Struct Origin 

Source
pub struct Origin {}

Trait Implementations§

Source§

impl Allocatable<Origin> for Allocator

Source§

type Ok = Ok

Source§

type Error = Error

Source§

fn allocate(numerosity_of_bytes: usize) -> Result

Allocates memory according to the provided layout
Source§

fn deallocate(ptr: *mut Self, numerosity_of_bytes: usize) -> Result

Deallocates memory at the given pointer with the specified layout
Source§

fn allocate_zeroed(numerosity: usize) -> Result<Self::Ok, Self::Error>

Allocates zeroed memory according to the provided layout
Source§

impl<const N: usize> Bytes<Origin, Origin> for [(); N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [bool; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [char; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [f32; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [f64; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [i128; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [i16; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [i32; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [i64; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [i8; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [isize; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [u128; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [u16; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [u32; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [u64; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [u8; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<const N: usize> Bytes<Origin, Origin> for [usize; N]

Source§

const BYTES_SIZE: usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
where [(); { _ }]:,

Source§

fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
where [(); { _ }]:,

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for ()

Source§

const BYTES_SIZE: usize = 0usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(_bytes_pointer: *const u8, _endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<B> Bytes<Origin, Origin> for *const B
where B: Bytes<Origin, Origin>,

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<B> Bytes<Origin, Origin> for *mut B
where B: Bytes<Origin, Origin>,

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Addr

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Addr

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Allocator

Source§

const BYTES_SIZE: usize = 0usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Arch

Source§

const BYTES_SIZE: usize = 0usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for ArgumentNode

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for AtFlag

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Class

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Endianness

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Entry

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Entry

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Entry

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 40usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 40usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 48usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 56usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 64usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Error

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for File

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Flag

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Flag

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Half

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Half

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Identifier

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Index

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Information

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Magic

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Mode

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Null

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Null

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Off

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Off

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 40usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 32usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 40usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 48usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 56usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Ok

Source§

const BYTES_SIZE: usize = 24usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Option<()>

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 5usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 5usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 9usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 17usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 3usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 5usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 9usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 9usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 17usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 3usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 5usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 9usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

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

Source§

const BYTES_SIZE: usize = 9usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

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

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Origin

Source§

const BYTES_SIZE: usize = 0usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for OsABI

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Pair

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl<T> Bytes<Origin, Origin> for PhantomData<T>

Source§

const BYTES_SIZE: usize = 0usize

Source§

const BYTES_ALIGN: usize = 0usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(_bytes_pointer: *const u8, _endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Pointer

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Prot

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for SWord

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for SWord

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for SXWord

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for SXWord

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for StackNode

Source§

const BYTES_SIZE: usize = 12usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Type

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for TypeUnit

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for UChar

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for UChar

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Word

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for Word

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for XWord

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for XWord

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for bool

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, _endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for char

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for f32

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for f64

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for i128

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for i16

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for i32

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for i64

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for i8

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for isize

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for u128

Source§

const BYTES_SIZE: usize = 16usize

Source§

const BYTES_ALIGN: usize = 16usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for u16

Source§

const BYTES_SIZE: usize = 2usize

Source§

const BYTES_ALIGN: usize = 2usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for u32

Source§

const BYTES_SIZE: usize = 4usize

Source§

const BYTES_ALIGN: usize = 4usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for u64

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for u8

Source§

const BYTES_SIZE: usize = 1usize

Source§

const BYTES_ALIGN: usize = 1usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Bytes<Origin, Origin> for usize

Source§

const BYTES_SIZE: usize = 8usize

Source§

const BYTES_ALIGN: usize = 8usize

Source§

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

Source§

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

Source§

fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self

Source§

fn to_le_bytes(&self) -> [u8; { _ }]

Source§

fn to_be_bytes(&self) -> [u8; { _ }]

Source§

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

Source§

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

Source§

impl Clone for Origin

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Origin

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Origin

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Labeled<Origin> for Class

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Labeled<Origin> for Endianness

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Labeled<Origin> for Index

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Labeled<Origin> for Magic

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

Source§

impl Labeled<Origin> for OsABI

Source§

fn description(&self) -> &str

Source§

fn acronym(&self) -> &str

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 NonPrimitive<Origin> for Allocator

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Arch

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for ArgumentNode

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for File

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Identifier

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Information

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Origin

Source§

const IS_PRIMITIVE: bool = false

Source§

impl NonPrimitive<Origin> for Pair

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for ()

Source§

impl Primitive<Origin> for Addr

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Addr

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Allocator

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Arch

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for ArgumentNode

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Entry

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for File

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Half

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Half

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Identifier

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Information

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Null

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Null

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Off

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Off

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Origin

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Pair

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for SWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for SWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for SXWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for SXWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for UChar

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for UChar

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Word

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for Word

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for XWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for XWord

Source§

const IS_PRIMITIVE: bool = false

Source§

impl Primitive<Origin> for bool

Source§

impl Primitive<Origin> for char

Source§

impl Primitive<Origin> for f32

Source§

impl Primitive<Origin> for f64

Source§

impl Primitive<Origin> for i128

Source§

impl Primitive<Origin> for i16

Source§

impl Primitive<Origin> for i32

Source§

impl Primitive<Origin> for i64

Source§

impl Primitive<Origin> for i8

Source§

impl Primitive<Origin> for isize

Source§

impl Primitive<Origin> for u128

Source§

impl Primitive<Origin> for u16

Source§

impl Primitive<Origin> for u32

Source§

impl Primitive<Origin> for u64

Source§

impl Primitive<Origin> for u8

Source§

impl Primitive<Origin> for usize

Source§

impl Copy for Origin

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> Allocating<T> for T
where T: Bytes<Origin, Origin> + Default,

Source§

fn deallocate(ptr: *mut T, numerosity: usize) -> bool

Deallocate an array previously allocated with allocate_array

Source§

fn allocate_slice(numerosity: usize) -> &'static mut [T]

Allocate and initialize a slice

Source§

fn allocate(numerosity: usize) -> *mut T

Source§

fn deallocate_slice(slice: &mut [T]) -> bool

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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<U> Readable<Origin> for U
where U: Bytes<Origin, Origin> + Default,

Source§

type Origin = Origin

Source§

fn read_from_path( file_path: &str, offset: usize, endianness: bool, ) -> (U, usize)

Source§

fn read_from_descriptor( file_descriptor: isize, offset: usize, endianness: bool, ) -> (U, usize)
where U: Bytes<Origin, Origin>,

Source§

fn read_from_pointer( bytes_pointer: *const u8, offset: usize, endianness: bool, ) -> (U, usize)

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.
Source§

impl<U> Userspace for U
where U: Bytes<Origin, Origin>,