#[repr(C, packed(1))]pub struct char_ube(/* private fields */);
Expand description
A big-endian unaligned u32
with a guaranteed size of 4
and alignment of 1
.
Implementations§
Trait Implementations§
Source§impl IntoBytes for char_ubewhere
u32: IntoBytes,
impl IntoBytes for char_ubewhere
u32: IntoBytes,
Source§impl KnownLayout for char_ubewhere
u32: KnownLayout,
impl KnownLayout for char_ubewhere
u32: KnownLayout,
Source§type PointerMetadata = <u32 as KnownLayout>::PointerMetadata
type PointerMetadata = <u32 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self
. Read moreSource§impl Ord for char_ube
impl Ord for char_ube
Source§impl PartialOrd<char> for char_ube
impl PartialOrd<char> for char_ube
Source§impl PartialOrd for char_ube
impl PartialOrd for char_ube
impl Copy for char_ube
impl Eq for char_ube
impl Immutable for char_ubewhere
u32: Immutable,
impl Unaligned for char_ube
Auto Trait Implementations§
impl Freeze for char_ube
impl RefUnwindSafe for char_ube
impl Send for char_ube
impl Sync for char_ube
impl Unpin for char_ube
impl UnwindSafe for char_ube
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)