pub struct OmittedQualityCodec;Expand description
An omitted quality codec that produces and expects empty quality sections.
Trait Implementations§
Source§impl Clone for OmittedQualityCodec
impl Clone for OmittedQualityCodec
Source§fn clone(&self) -> OmittedQualityCodec
fn clone(&self) -> OmittedQualityCodec
Returns a duplicate 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 Debug for OmittedQualityCodec
impl Debug for OmittedQualityCodec
Source§impl Default for OmittedQualityCodec
impl Default for OmittedQualityCodec
Source§fn default() -> OmittedQualityCodec
fn default() -> OmittedQualityCodec
Returns the “default value” for a type. Read more
Source§impl QualityCodec for OmittedQualityCodec
impl QualityCodec for OmittedQualityCodec
Source§fn encode_into(
_quality: &[u8],
_output: &mut Vec<u8>,
) -> Result<(), DryIceError>
fn encode_into( _quality: &[u8], _output: &mut Vec<u8>, ) -> Result<(), DryIceError>
Encode raw quality score bytes, appending the encoded bytes
directly into the provided output buffer. Read more
Source§fn decode_into(
_encoded: &[u8],
_original_len: usize,
_output: &mut Vec<u8>,
) -> Result<(), DryIceError>
fn decode_into( _encoded: &[u8], _original_len: usize, _output: &mut Vec<u8>, ) -> Result<(), DryIceError>
Decode an encoded buffer, appending the decoded quality bytes
directly into the provided output buffer. Read more
Source§const IS_IDENTITY: bool = false
const IS_IDENTITY: bool = false
Whether the encoded form is identical to the raw input bytes.
impl Copy for OmittedQualityCodec
Auto Trait Implementations§
impl Freeze for OmittedQualityCodec
impl RefUnwindSafe for OmittedQualityCodec
impl Send for OmittedQualityCodec
impl Sync for OmittedQualityCodec
impl Unpin for OmittedQualityCodec
impl UnsafeUnpin for OmittedQualityCodec
impl UnwindSafe for OmittedQualityCodec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more