Struct brotli::enc::input_pair::InputPair
[−]
[src]
pub struct InputPair<'a>(pub &'a [u8], pub &'a [u8]);
Methods
impl<'a> InputPair<'a>
[src]
pub fn split_at(&self, loc: usize) -> (InputPair<'a>, InputPair<'a>)
[src]
pub fn len(&self) -> usize
[src]
Trait Implementations
impl<'a> Clone for InputPair<'a>
[src]
fn clone(&self) -> InputPair<'a>
[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<'a> Debug for InputPair<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Copy for InputPair<'a>
[src]
impl<'a> PartialEq for InputPair<'a>
[src]
fn eq<'b>(&self, other: &InputPair<'b>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a> Index<usize> for InputPair<'a>
[src]
type Output = u8
The returned type after indexing.
fn index(&self, index: usize) -> &u8
[src]
Performs the indexing (container[index]
) operation.