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