Enum pem_iterator::body::Bytes
[−]
[src]
pub enum Bytes { One([u8; 1]), Two([u8; 2]), Three([u8; 3]), }
Variants
One([u8; 1])
Two([u8; 2])
Three([u8; 3])
Trait Implementations
impl Clone for Bytes
[src]
fn clone(&self) -> Bytes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Bytes
[src]
impl Debug for Bytes
[src]
impl PartialEq for Bytes
[src]
fn eq(&self, __arg_0: &Bytes) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bytes) -> bool
[src]
This method tests for !=
.
impl Eq for Bytes
[src]
impl Hash for Bytes
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl AsRef<[u8]> for Bytes
[src]
impl AsMut<[u8]> for Bytes
[src]
impl Borrow<[u8]> for Bytes
[src]
impl BorrowMut<[u8]> for Bytes
[src]
impl IntoIterator for Bytes
[src]
type Item = u8
The type of the elements being iterated over.
type IntoIter = BytesIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more
impl<'a> IntoIterator for &'a Bytes
[src]
type Item = &'a u8
The type of the elements being iterated over.
type IntoIter = Iter<'a, u8>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more