[−][src]Struct pwasm_std::hash::H264
Unformatted binary data of fixed length.
Methods
impl H264[src]
impl H264pub fn new() -> H264[src]
pub fn new() -> H264Create a new, zero-initialised, instance.
pub fn zero() -> H264[src]
pub fn zero() -> H264Synonym for new(). Prefer to new as it's more readable.
pub fn len() -> usize[src]
pub fn len() -> usizeGet the size of this object in bytes.
pub fn as_ptr(&self) -> *const u8[src]
pub fn as_ptr(&self) -> *const u8Returns a constant raw pointer to the value
pub fn as_mut_ptr(&mut self) -> *mut u8[src]
pub fn as_mut_ptr(&mut self) -> *mut u8Returns a mutable raw pointer to the value
pub fn clone_from_slice(&mut self, src: &[u8]) -> usize[src]
pub fn clone_from_slice(&mut self, src: &[u8]) -> usizeAssign self to be of the same value as a slice of bytes of length len().
pub fn from_slice(src: &[u8]) -> H264[src]
pub fn from_slice(src: &[u8]) -> H264Convert a slice of bytes of length len() to an instance of this type.
pub fn copy_to(&self, dest: &mut [u8])[src]
pub fn copy_to(&self, dest: &mut [u8])Copy the data of this object into some mutable slice of length len().
pub fn contains(&'a self, b: &'a H264) -> bool[src]
pub fn contains(&'a self, b: &'a H264) -> boolReturns true if all bits set in b are also set in self.
pub fn is_zero(&self) -> bool[src]
pub fn is_zero(&self) -> boolReturns true if no bits are set.
pub fn low_u64(&self) -> u64[src]
pub fn low_u64(&self) -> u64Returns the lowest 8 bytes interpreted as a BigEndian integer.
Trait Implementations
impl IndexMut<usize> for H264[src]
impl IndexMut<usize> for H264fn index_mut(&mut self, index: usize) -> &mut u8[src]
fn index_mut(&mut self, index: usize) -> &mut u8Performs the mutable indexing (container[index]) operation.
impl IndexMut<RangeFull> for H264[src]
impl IndexMut<RangeFull> for H264fn index_mut(&mut self, _index: RangeFull) -> &mut [u8][src]
fn index_mut(&mut self, _index: RangeFull) -> &mut [u8]Performs the mutable indexing (container[index]) operation.
impl IndexMut<Range<usize>> for H264[src]
impl IndexMut<Range<usize>> for H264fn index_mut(&mut self, index: Range<usize>) -> &mut [u8][src]
fn index_mut(&mut self, index: Range<usize>) -> &mut [u8]Performs the mutable indexing (container[index]) operation.
impl Eq for H264[src]
impl Eq for H264impl BitOr<H264> for H264[src]
impl BitOr<H264> for H264Moving BitOr
type Output = H264
The resulting type after applying the | operator.
fn bitor(self, rhs: H264) -> <H264 as BitOr<H264>>::Output[src]
fn bitor(self, rhs: H264) -> <H264 as BitOr<H264>>::OutputPerforms the | operation.
impl<'a> BitOr<&'a H264> for &'a H264[src]
impl<'a> BitOr<&'a H264> for &'a H264BitOr on references
type Output = H264
The resulting type after applying the | operator.
fn bitor(self, rhs: &'a H264) -> <&'a H264 as BitOr<&'a H264>>::Output[src]
fn bitor(self, rhs: &'a H264) -> <&'a H264 as BitOr<&'a H264>>::OutputPerforms the | operation.
impl Index<usize> for H264[src]
impl Index<usize> for H264type Output = u8
The returned type after indexing.
fn index(&self, index: usize) -> &u8[src]
fn index(&self, index: usize) -> &u8Performs the indexing (container[index]) operation.
impl Index<Range<usize>> for H264[src]
impl Index<Range<usize>> for H264type Output = [u8]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[u8][src]
fn index(&self, index: Range<usize>) -> &[u8]Performs the indexing (container[index]) operation.
impl Index<RangeFull> for H264[src]
impl Index<RangeFull> for H264type Output = [u8]
The returned type after indexing.
fn index(&self, _index: RangeFull) -> &[u8][src]
fn index(&self, _index: RangeFull) -> &[u8]Performs the indexing (container[index]) operation.
impl AsMut<[u8]> for H264[src]
impl AsMut<[u8]> for H264impl BitAnd<H264> for H264[src]
impl BitAnd<H264> for H264Moving BitAnd
type Output = H264
The resulting type after applying the & operator.
fn bitand(self, rhs: H264) -> <H264 as BitAnd<H264>>::Output[src]
fn bitand(self, rhs: H264) -> <H264 as BitAnd<H264>>::OutputPerforms the & operation.
impl<'a> BitAnd<&'a H264> for &'a H264[src]
impl<'a> BitAnd<&'a H264> for &'a H264BitAnd on references
type Output = H264
The resulting type after applying the & operator.
fn bitand(self, rhs: &'a H264) -> <&'a H264 as BitAnd<&'a H264>>::Output[src]
fn bitand(self, rhs: &'a H264) -> <&'a H264 as BitAnd<&'a H264>>::OutputPerforms the & operation.
impl Default for H264[src]
impl Default for H264impl Copy for H264[src]
impl Copy for H264impl Ord for H264[src]
impl Ord for H264fn cmp(&self, other: &H264) -> Ordering[src]
fn cmp(&self, other: &H264) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl AsRef<[u8]> for H264[src]
impl AsRef<[u8]> for H264impl PartialOrd<H264> for H264[src]
impl PartialOrd<H264> for H264fn partial_cmp(&self, other: &H264) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &H264) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Clone for H264[src]
impl Clone for H264fn clone(&self) -> H264[src]
fn clone(&self) -> H264Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Hash for H264[src]
impl Hash for H264fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq<H264> for H264[src]
impl PartialEq<H264> for H264fn eq(&self, other: &H264) -> bool[src]
fn eq(&self, other: &H264) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl DerefMut for H264[src]
impl DerefMut for H264impl<'a> BitXor<&'a H264> for &'a H264[src]
impl<'a> BitXor<&'a H264> for &'a H264BitXor on references
type Output = H264
The resulting type after applying the ^ operator.
fn bitxor(self, rhs: &'a H264) -> <&'a H264 as BitXor<&'a H264>>::Output[src]
fn bitxor(self, rhs: &'a H264) -> <&'a H264 as BitXor<&'a H264>>::OutputPerforms the ^ operation.
impl BitXor<H264> for H264[src]
impl BitXor<H264> for H264Moving BitXor
type Output = H264
The resulting type after applying the ^ operator.
fn bitxor(self, rhs: H264) -> <H264 as BitXor<H264>>::Output[src]
fn bitxor(self, rhs: H264) -> <H264 as BitXor<H264>>::OutputPerforms the ^ operation.
impl Deref for H264[src]
impl Deref for H264type Target = [u8]
The resulting type after dereferencing.
fn deref(&self) -> &[u8][src]
fn deref(&self) -> &[u8]Dereferences the value.
impl<'a> From<&'a [u8]> for H264[src]
impl<'a> From<&'a [u8]> for H264impl From<[u8; 33]> for H264[src]
impl From<[u8; 33]> for H264impl From<u64> for H264[src]
impl From<u64> for H264Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more