pub trait SwapBytes {
// Required method
fn swap_bytes_mut(&mut self);
}Expand description
Trait implement by things that can swap their byte ordering
Required Methods§
Sourcefn swap_bytes_mut(&mut self)
fn swap_bytes_mut(&mut self)
Swaps the byte ordering of a value in-place