[][src]Struct structview::I64

pub struct I64<BO>(_, _);

View of an i64 value.

Implementations

impl<BO: ByteOrder> I64<BO>[src]

pub fn to_int(&self) -> i64[src]

Return the viewed integer value.

Calling this function incurs some runtime cost as the raw bytes have to be parsed according to the view's endianess.

Trait Implementations

impl<BO: Clone> Clone for I64<BO>[src]

impl<BO: Copy> Copy for I64<BO>[src]

impl<BO: Debug> Debug for I64<BO>[src]

impl<BO: ByteOrder> Display for I64<BO>[src]

impl<BO: Eq> Eq for I64<BO>[src]

impl<BO: ByteOrder> From<I64<BO>> for i64[src]

impl<BO: Hash> Hash for I64<BO>[src]

impl<BO: PartialEq> PartialEq<I64<BO>> for I64<BO>[src]

impl<BO> StructuralEq for I64<BO>[src]

impl<BO> StructuralPartialEq for I64<BO>[src]

impl<BO: Copy> View for I64<BO>[src]

Auto Trait Implementations

impl<BO> RefUnwindSafe for I64<BO> where
    BO: RefUnwindSafe

impl<BO> Send for I64<BO> where
    BO: Send

impl<BO> Sync for I64<BO> where
    BO: Sync

impl<BO> Unpin for I64<BO> where
    BO: Unpin

impl<BO> UnwindSafe for I64<BO> where
    BO: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.