Struct bytes_cast::unaligned::I64Be[][src]

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

Big-endian i64, without alignment requirement.

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

Implementations

impl I64Be[src]

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

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

Trait Implementations

impl BytesCast for I64Be[src]

impl Clone for I64Be[src]

impl Copy for I64Be[src]

impl Debug for I64Be[src]

impl Eq for I64Be[src]

impl From<i64> for I64Be[src]

Converts from native-endian

impl Hash for I64Be[src]

impl PartialEq<I64Be> for I64Be[src]

impl StructuralEq for I64Be[src]

impl StructuralPartialEq for I64Be[src]

Auto Trait Implementations

impl Send for I64Be

impl Sync for I64Be

impl Unpin for I64Be

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.