Module musli_zerocopy::endian
source · Expand description
Marker types which define a ByteOrder
to use.
Macros§
- A macro that matches
$expr
to its associated$pat
if the current#[cfg(target_endian = "..")]
matches$endian
and optionally #[cfg(target_pointer_width = “..”)] matches$pointer_width
. - A macro that picks which
$expr
to evaluate to based on if the current#[cfg(target_endian = "..")]
matches$endian
and optionally #[cfg(target_pointer_width = “..”)] matches$pointer_width
.
Structs§
- Marker type indicating that the big endian
ByteOrder
is in use. - Wrapper capable of enforcing a custom
ByteOrder
. - Marker type indicating that the little endian
ByteOrder
is in use.
Traits§
- Defines a byte order to use.
Functions§
Type Aliases§
- Alias for the native endian
ByteOrder
.