[−][src]Struct structview::U32
View of an u32
value.
Implementations
impl<BO: ByteOrder> U32<BO>
[src]
pub fn to_int(&self) -> u32
[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 U32<BO>
[src]
impl<BO: Copy> Copy for U32<BO>
[src]
impl<BO: Debug> Debug for U32<BO>
[src]
impl<BO: ByteOrder> Display for U32<BO>
[src]
impl<BO: Eq> Eq for U32<BO>
[src]
impl<BO: ByteOrder> From<U32<BO>> for u32
[src]
impl<BO: Hash> Hash for U32<BO>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<BO: PartialEq> PartialEq<U32<BO>> for U32<BO>
[src]
impl<BO> StructuralEq for U32<BO>
[src]
impl<BO> StructuralPartialEq for U32<BO>
[src]
impl<BO: Copy> View for U32<BO>
[src]
Auto Trait Implementations
impl<BO> RefUnwindSafe for U32<BO> where
BO: RefUnwindSafe,
BO: RefUnwindSafe,
impl<BO> Send for U32<BO> where
BO: Send,
BO: Send,
impl<BO> Sync for U32<BO> where
BO: Sync,
BO: Sync,
impl<BO> Unpin for U32<BO> where
BO: Unpin,
BO: Unpin,
impl<BO> UnwindSafe for U32<BO> where
BO: UnwindSafe,
BO: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,