Struct pwasm_std::hash::H32 [] [src]

#[repr(C)]
pub struct H32(pub [u8; 4]);

Unformatted binary data of fixed length.

Methods

impl H32
[src]

[src]

Create a new, zero-initialised, instance.

[src]

Synonym for new(). Prefer to new as it's more readable.

[src]

Get the size of this object in bytes.

[src]

Returns a constant raw pointer to the value

[src]

Returns a mutable raw pointer to the value

[src]

Assign self to be of the same value as a slice of bytes of length len().

[src]

Convert a slice of bytes of length len() to an instance of this type.

[src]

Copy the data of this object into some mutable slice of length len().

[src]

Returns true if all bits set in b are also set in self.

[src]

Returns true if no bits are set.

[src]

Returns the lowest 8 bytes interpreted as a BigEndian integer.

Trait Implementations

impl PartialOrd<H32> for H32
[src]

[src]

impl PartialEq<H32> for H32
[src]

[src]

impl<'a> BitOr<&'a H32> for &'a H32
[src]

BitOr on references

[src]

impl BitOr<H32> for H32
[src]

Moving BitOr

[src]

impl<'a> BitXor<&'a H32> for &'a H32
[src]

BitXor on references

[src]

impl BitXor<H32> for H32
[src]

Moving BitXor

[src]

impl Deref for H32
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl Clone for H32
[src]

[src]

impl AsMut<[u8]> for H32
[src]

[src]

impl Copy for H32
[src]

impl Hash for H32
[src]

[src]

impl AsRef<[u8]> for H32
[src]

[src]

Performs the conversion.

impl Ord for H32
[src]

[src]

impl<'a> From<&'a [u8]> for H32
[src]

[src]

impl From<[u8; 4]> for H32
[src]

[src]

impl From<u64> for H32
[src]

[src]

impl<'a> BitAnd<&'a H32> for &'a H32
[src]

BitAnd on references

[src]

impl BitAnd<H32> for H32
[src]

Moving BitAnd

[src]

impl Eq for H32
[src]

impl Default for H32
[src]

[src]

impl DerefMut for H32
[src]

[src]

impl IndexMut<usize> for H32
[src]

[src]

impl IndexMut<RangeFull> for H32
[src]

[src]

impl IndexMut<Range<usize>> for H32
[src]

[src]

impl Index<usize> for H32
[src]

[src]

impl Index<RangeFull> for H32
[src]

[src]

impl Index<Range<usize>> for H32
[src]

[src]