pub struct Unaligned;Expand description
No static alignment guarantee.
Represents raw slice memory that might start at any byte boundary. Dispatches to unaligned memory access operations.
Trait Implementations§
impl Copy for Unaligned
impl Eq for Unaligned
impl StructuralPartialEq for Unaligned
Auto Trait Implementations§
impl Freeze for Unaligned
impl RefUnwindSafe for Unaligned
impl Send for Unaligned
impl Sync for Unaligned
impl Unpin for Unaligned
impl UnsafeUnpin for Unaligned
impl UnwindSafe for Unaligned
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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