Struct brotli::enc::input_pair::InputReference
source · pub struct InputReference<'a> {
pub data: &'a [u8],
pub orig_offset: usize,
}
Fields§
§data: &'a [u8]
§orig_offset: usize
Trait Implementations§
source§impl<'a> Clone for InputReference<'a>
impl<'a> Clone for InputReference<'a>
source§fn clone(&self) -> InputReference<'a>
fn clone(&self) -> InputReference<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for InputReference<'a>
impl<'a> Debug for InputReference<'a>
source§impl<'a> Default for InputReference<'a>
impl<'a> Default for InputReference<'a>
source§fn default() -> InputReference<'a>
fn default() -> InputReference<'a>
Returns the “default value” for a type. Read more
source§impl<'a> Freezable for InputReference<'a>
impl<'a> Freezable for InputReference<'a>
fn freeze(&self) -> SliceOffset
source§impl<'a> From<&'a InputReferenceMut<'a>> for InputReference<'a>
impl<'a> From<&'a InputReferenceMut<'a>> for InputReference<'a>
source§fn from(val: &'a InputReferenceMut<'a>) -> InputReference<'a>
fn from(val: &'a InputReferenceMut<'a>) -> InputReference<'a>
Converts to this type from the input type.
source§impl<'a> From<InputReference<'a>> for SliceOffset
impl<'a> From<InputReference<'a>> for SliceOffset
source§fn from(f: InputReference<'a>) -> Self
fn from(f: InputReference<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<InputReferenceMut<'a>> for InputReference<'a>
impl<'a> From<InputReferenceMut<'a>> for InputReference<'a>
source§fn from(val: InputReferenceMut<'a>) -> InputReference<'a>
fn from(val: InputReferenceMut<'a>) -> InputReference<'a>
Converts to this type from the input type.
source§impl<'a> SliceWrapper<u8> for InputReference<'a>
impl<'a> SliceWrapper<u8> for InputReference<'a>
impl<'a> Copy for InputReference<'a>
Auto Trait Implementations§
impl<'a> Freeze for InputReference<'a>
impl<'a> RefUnwindSafe for InputReference<'a>
impl<'a> Send for InputReference<'a>
impl<'a> Sync for InputReference<'a>
impl<'a> Unpin for InputReference<'a>
impl<'a> UnwindSafe for InputReference<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more