pub struct Origin {}Trait Implementations§
Source§impl Allocatable<Origin> for Allocator
impl Allocatable<Origin> for Allocator
Source§impl<const N: usize> Bytes<Origin, Origin> for [(); N]
impl<const N: usize> Bytes<Origin, Origin> for [(); N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [bool; N]
impl<const N: usize> Bytes<Origin, Origin> for [bool; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [char; N]
impl<const N: usize> Bytes<Origin, Origin> for [char; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [f32; N]
impl<const N: usize> Bytes<Origin, Origin> for [f32; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [f64; N]
impl<const N: usize> Bytes<Origin, Origin> for [f64; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [i128; N]
impl<const N: usize> Bytes<Origin, Origin> for [i128; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [i16; N]
impl<const N: usize> Bytes<Origin, Origin> for [i16; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [i32; N]
impl<const N: usize> Bytes<Origin, Origin> for [i32; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [i64; N]
impl<const N: usize> Bytes<Origin, Origin> for [i64; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [i8; N]
impl<const N: usize> Bytes<Origin, Origin> for [i8; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [isize; N]
impl<const N: usize> Bytes<Origin, Origin> for [isize; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [u128; N]
impl<const N: usize> Bytes<Origin, Origin> for [u128; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [u16; N]
impl<const N: usize> Bytes<Origin, Origin> for [u16; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [u32; N]
impl<const N: usize> Bytes<Origin, Origin> for [u32; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [u64; N]
impl<const N: usize> Bytes<Origin, Origin> for [u64; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [u8; N]
impl<const N: usize> Bytes<Origin, Origin> for [u8; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<const N: usize> Bytes<Origin, Origin> for [usize; N]
impl<const N: usize> Bytes<Origin, Origin> for [usize; N]
const BYTES_SIZE: usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for ()
impl Bytes<Origin, Origin> for ()
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 1usize
fn from_bytes(_bytes: [u8; 0], _endianness: bool) -> Self
fn to_bytes(&self, _endianness: bool) -> [u8; 0]
fn from_bytes_pointer(_bytes_pointer: *const u8, _endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<B> Bytes<Origin, Origin> for *const B
impl<B> Bytes<Origin, Origin> for *const B
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<B> Bytes<Origin, Origin> for *mut B
impl<B> Bytes<Origin, Origin> for *mut B
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; { _ }]
fn from_bytes(bytes: [u8; { _ }], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Addr
impl Bytes<Origin, Origin> for Addr
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Addr
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Addr
impl Bytes<Origin, Origin> for Addr
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Addr
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Allocator
impl Bytes<Origin, Origin> for Allocator
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 0]
fn from_bytes(bytes: [u8; 0], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Arch
impl Bytes<Origin, Origin> for Arch
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 0]
fn from_bytes(bytes: [u8; 0], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for ArgumentNode
impl Bytes<Origin, Origin> for ArgumentNode
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for AtFlag
impl Bytes<Origin, Origin> for AtFlag
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Class
impl Bytes<Origin, Origin> for Class
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Endianness
impl Bytes<Origin, Origin> for Endianness
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Entry
impl Bytes<Origin, Origin> for Entry
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Entry
impl Bytes<Origin, Origin> for Entry
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Entry
impl Bytes<Origin, Origin> for Entry
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 40usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 40usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 48usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 48]
fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 56usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 56]
fn from_bytes(bytes: [u8; 56], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 64usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 64]
fn from_bytes(bytes: [u8; 64], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Error
impl Bytes<Origin, Origin> for Error
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for File
impl Bytes<Origin, Origin> for File
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Flag
impl Bytes<Origin, Origin> for Flag
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Flag
impl Bytes<Origin, Origin> for Flag
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Half
impl Bytes<Origin, Origin> for Half
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Half
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Half
impl Bytes<Origin, Origin> for Half
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Half
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Identifier
impl Bytes<Origin, Origin> for Identifier
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Index
impl Bytes<Origin, Origin> for Index
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Information
impl Bytes<Origin, Origin> for Information
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Magic
impl Bytes<Origin, Origin> for Magic
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Mode
impl Bytes<Origin, Origin> for Mode
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Null
impl Bytes<Origin, Origin> for Null
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Null
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Null
impl Bytes<Origin, Origin> for Null
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Null
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Off
impl Bytes<Origin, Origin> for Off
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Off
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Off
impl Bytes<Origin, Origin> for Off
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Off
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 40usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 32usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 32]
fn from_bytes(bytes: [u8; 32], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 40usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 40]
fn from_bytes(bytes: [u8; 40], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 48usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 48]
fn from_bytes(bytes: [u8; 48], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 56usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 56]
fn from_bytes(bytes: [u8; 56], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Ok
impl Bytes<Origin, Origin> for Ok
const BYTES_SIZE: usize = 24usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<()>
impl Bytes<Origin, Origin> for Option<()>
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<bool>
impl Bytes<Origin, Origin> for Option<bool>
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 1usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<char>
impl Bytes<Origin, Origin> for Option<char>
const BYTES_SIZE: usize = 5usize
const BYTES_ALIGN: usize = 4usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<f32>
impl Bytes<Origin, Origin> for Option<f32>
const BYTES_SIZE: usize = 5usize
const BYTES_ALIGN: usize = 4usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<f64>
impl Bytes<Origin, Origin> for Option<f64>
const BYTES_SIZE: usize = 9usize
const BYTES_ALIGN: usize = 8usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i128>
impl Bytes<Origin, Origin> for Option<i128>
const BYTES_SIZE: usize = 17usize
const BYTES_ALIGN: usize = 16usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i16>
impl Bytes<Origin, Origin> for Option<i16>
const BYTES_SIZE: usize = 3usize
const BYTES_ALIGN: usize = 2usize
fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 3]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i32>
impl Bytes<Origin, Origin> for Option<i32>
const BYTES_SIZE: usize = 5usize
const BYTES_ALIGN: usize = 4usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i64>
impl Bytes<Origin, Origin> for Option<i64>
const BYTES_SIZE: usize = 9usize
const BYTES_ALIGN: usize = 8usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<i8>
impl Bytes<Origin, Origin> for Option<i8>
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 1usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<isize>
impl Bytes<Origin, Origin> for Option<isize>
const BYTES_SIZE: usize = 9usize
const BYTES_ALIGN: usize = 8usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u128>
impl Bytes<Origin, Origin> for Option<u128>
const BYTES_SIZE: usize = 17usize
const BYTES_ALIGN: usize = 16usize
fn from_bytes(bytes: [u8; 17], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 17]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u16>
impl Bytes<Origin, Origin> for Option<u16>
const BYTES_SIZE: usize = 3usize
const BYTES_ALIGN: usize = 2usize
fn from_bytes(bytes: [u8; 3], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 3]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u32>
impl Bytes<Origin, Origin> for Option<u32>
const BYTES_SIZE: usize = 5usize
const BYTES_ALIGN: usize = 4usize
fn from_bytes(bytes: [u8; 5], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 5]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u64>
impl Bytes<Origin, Origin> for Option<u64>
const BYTES_SIZE: usize = 9usize
const BYTES_ALIGN: usize = 8usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<u8>
impl Bytes<Origin, Origin> for Option<u8>
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 1usize
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Option<usize>
impl Bytes<Origin, Origin> for Option<usize>
const BYTES_SIZE: usize = 9usize
const BYTES_ALIGN: usize = 8usize
fn from_bytes(bytes: [u8; 9], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_bytes(&self, endianness: bool) -> [u8; 9]
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Origin
impl Bytes<Origin, Origin> for Origin
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 0]
fn from_bytes(bytes: [u8; 0], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for OsABI
impl Bytes<Origin, Origin> for OsABI
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Pair
impl Bytes<Origin, Origin> for Pair
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl<T> Bytes<Origin, Origin> for PhantomData<T>
impl<T> Bytes<Origin, Origin> for PhantomData<T>
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 0usize
fn to_bytes(&self, _endianness: bool) -> [u8; { _ }]
fn from_bytes(_bytes: [u8; { _ }], _endianness: bool) -> Self
fn from_bytes_pointer(_bytes_pointer: *const u8, _endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Pointer
impl Bytes<Origin, Origin> for Pointer
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Pointer
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Prot
impl Bytes<Origin, Origin> for Prot
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for SWord
impl Bytes<Origin, Origin> for SWord
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> SWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for SWord
impl Bytes<Origin, Origin> for SWord
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> SWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for SXWord
impl Bytes<Origin, Origin> for SXWord
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> SXWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for SXWord
impl Bytes<Origin, Origin> for SXWord
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> SXWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for StackNode
impl Bytes<Origin, Origin> for StackNode
const BYTES_SIZE: usize = 12usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 12]
fn from_bytes(bytes: [u8; 12], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Type
impl Bytes<Origin, Origin> for Type
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for TypeUnit
impl Bytes<Origin, Origin> for TypeUnit
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for UChar
impl Bytes<Origin, Origin> for UChar
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> UChar
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for UChar
impl Bytes<Origin, Origin> for UChar
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> UChar
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Word
impl Bytes<Origin, Origin> for Word
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Word
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for Word
impl Bytes<Origin, Origin> for Word
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Word
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for XWord
impl Bytes<Origin, Origin> for XWord
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> XWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for XWord
impl Bytes<Origin, Origin> for XWord
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> XWord
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for bool
impl Bytes<Origin, Origin> for bool
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, _endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], _endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, _endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for char
impl Bytes<Origin, Origin> for char
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for f32
impl Bytes<Origin, Origin> for f32
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for f64
impl Bytes<Origin, Origin> for f64
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i128
impl Bytes<Origin, Origin> for i128
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i16
impl Bytes<Origin, Origin> for i16
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i32
impl Bytes<Origin, Origin> for i32
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i64
impl Bytes<Origin, Origin> for i64
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for i8
impl Bytes<Origin, Origin> for i8
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for isize
impl Bytes<Origin, Origin> for isize
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u128
impl Bytes<Origin, Origin> for u128
const BYTES_SIZE: usize = 16usize
const BYTES_ALIGN: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u16
impl Bytes<Origin, Origin> for u16
const BYTES_SIZE: usize = 2usize
const BYTES_ALIGN: usize = 2usize
fn to_bytes(&self, endianness: bool) -> [u8; 2]
fn from_bytes(bytes: [u8; 2], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u32
impl Bytes<Origin, Origin> for u32
const BYTES_SIZE: usize = 4usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 4]
fn from_bytes(bytes: [u8; 4], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u64
impl Bytes<Origin, Origin> for u64
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for u8
impl Bytes<Origin, Origin> for u8
const BYTES_SIZE: usize = 1usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 1]
fn from_bytes(bytes: [u8; 1], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Bytes<Origin, Origin> for usize
impl Bytes<Origin, Origin> for usize
const BYTES_SIZE: usize = 8usize
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 8]
fn from_bytes(bytes: [u8; 8], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Labeled<Origin> for Endianness
impl Labeled<Origin> for Endianness
Source§impl NonPrimitive<Origin> for Allocator
impl NonPrimitive<Origin> for Allocator
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Arch
impl NonPrimitive<Origin> for Arch
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for ArgumentNode
impl NonPrimitive<Origin> for ArgumentNode
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Entry
impl NonPrimitive<Origin> for Entry
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Entry
impl NonPrimitive<Origin> for Entry
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Entry
impl NonPrimitive<Origin> for Entry
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for File
impl NonPrimitive<Origin> for File
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Identifier
impl NonPrimitive<Origin> for Identifier
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Information
impl NonPrimitive<Origin> for Information
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Origin
impl NonPrimitive<Origin> for Origin
const IS_PRIMITIVE: bool = false
Source§impl NonPrimitive<Origin> for Pair
impl NonPrimitive<Origin> for Pair
const IS_PRIMITIVE: bool = false
Source§impl Primitive<Origin> for ArgumentNode
impl Primitive<Origin> for ArgumentNode
const IS_PRIMITIVE: bool = false
Source§impl Primitive<Origin> for Identifier
impl Primitive<Origin> for Identifier
const IS_PRIMITIVE: bool = false
Source§impl Primitive<Origin> for Information
impl Primitive<Origin> for Information
const IS_PRIMITIVE: bool = false
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
impl<T> Allocating<T> for T
Source§fn deallocate(ptr: *mut T, numerosity: usize) -> bool
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]
fn allocate_slice(numerosity: usize) -> &'static mut [T]
Allocate and initialize a slice
fn allocate(numerosity: usize) -> *mut T
fn deallocate_slice(slice: &mut [T]) -> bool
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more