Struct pwasm_std::hash::H264
[−]
[src]
#[repr(C)]pub struct H264(pub [u8; 33]);
Unformatted binary data of fixed length.
Methods
impl H264
[src]
fn new() -> H264
[src]
Create a new, zero-initialised, instance.
fn zero() -> H264
[src]
Synonym for new()
. Prefer to new as it's more readable.
fn len() -> usize
[src]
Get the size of this object in bytes.
fn as_ptr(&self) -> *const u8
[src]
Returns a constant raw pointer to the value
fn as_mut_ptr(&mut self) -> *mut u8
[src]
Returns a mutable raw pointer to the value
fn clone_from_slice(&mut self, src: &[u8]) -> usize
[src]
Assign self to be of the same value as a slice of bytes of length len()
.
fn from_slice(src: &[u8]) -> H264
[src]
Convert a slice of bytes of length len()
to an instance of this type.
fn copy_to(&self, dest: &mut [u8])
[src]
Copy the data of this object into some mutable slice of length len()
.
fn contains(&'a self, b: &'a H264) -> bool
[src]
Returns true
if all bits set in b
are also set in self
.
fn is_zero(&self) -> bool
[src]
Returns true
if no bits are set.
fn low_u64(&self) -> u64
[src]
Returns the lowest 8 bytes interpreted as a BigEndian integer.
Trait Implementations
impl PartialOrd<H264> for H264
[src]
fn partial_cmp(&self, other: &H264) -> Option<Ordering>
[src]
impl PartialEq<H264> for H264
[src]
impl BitOr<H264> for H264
[src]
Moving BitOr
impl<'a> BitOr<&'a H264> for &'a H264
[src]
BitOr
on references
impl BitXor<H264> for H264
[src]
Moving BitXor
impl<'a> BitXor<&'a H264> for &'a H264
[src]
BitXor
on references
impl Deref for H264
[src]
type Target = [u8]
The resulting type after dereferencing.
fn deref(&self) -> &[u8]
[src]
Dereferences the value.
impl Clone for H264
[src]
impl AsMut<[u8]> for H264
[src]
impl Copy for H264
[src]
impl Hash for H264
[src]
impl AsRef<[u8]> for H264
[src]
impl Ord for H264
[src]
impl<'a> From<&'a [u8]> for H264
[src]
impl From<u64> for H264
[src]
impl From<[u8; 33]> for H264
[src]
impl BitAnd<H264> for H264
[src]
Moving BitAnd
impl<'a> BitAnd<&'a H264> for &'a H264
[src]
BitAnd
on references