Struct bytes_cast::unaligned::I128Ne[][src]

#[repr(transparent)]pub struct I128Ne(_);

CPU-native-endian i128, without alignment requirement.

Implements the BytesCast trait to reinterpret &[u8] byte slices, and the From and Into traits to convert to and from i128.

The byte order depends on the target CPU architecture.

Implementations

impl I128Ne[src]

Converts to native-endian. Same as .into(), but .into() may need a type annotation.

pub fn get(self) -> i128[src]

Trait Implementations

impl BytesCast for I128Ne[src]

impl Clone for I128Ne[src]

impl Copy for I128Ne[src]

impl Debug for I128Ne[src]

impl Eq for I128Ne[src]

impl From<i128> for I128Ne[src]

Converts from native-endian

impl Hash for I128Ne[src]

impl PartialEq<I128Ne> for I128Ne[src]

impl StructuralEq for I128Ne[src]

impl StructuralPartialEq for I128Ne[src]

Auto Trait Implementations

impl Send for I128Ne

impl Sync for I128Ne

impl Unpin for I128Ne

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.