pub enum NeverPixelAdapter {}Expand description
An immaterial type representing an adapter which is never required.
Trait Implementations§
source§impl Clone for NeverPixelAdapter
impl Clone for NeverPixelAdapter
source§fn clone(&self) -> NeverPixelAdapter
fn clone(&self) -> NeverPixelAdapter
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 Debug for NeverPixelAdapter
impl Debug for NeverPixelAdapter
source§impl Hash for NeverPixelAdapter
impl Hash for NeverPixelAdapter
source§impl Ord for NeverPixelAdapter
impl Ord for NeverPixelAdapter
source§fn cmp(&self, other: &NeverPixelAdapter) -> Ordering
fn cmp(&self, other: &NeverPixelAdapter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NeverPixelAdapter> for NeverPixelAdapter
impl PartialEq<NeverPixelAdapter> for NeverPixelAdapter
source§fn eq(&self, other: &NeverPixelAdapter) -> bool
fn eq(&self, other: &NeverPixelAdapter) -> bool
source§impl PartialOrd<NeverPixelAdapter> for NeverPixelAdapter
impl PartialOrd<NeverPixelAdapter> for NeverPixelAdapter
source§fn partial_cmp(&self, other: &NeverPixelAdapter) -> Option<Ordering>
fn partial_cmp(&self, other: &NeverPixelAdapter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PixelRWAdapter for NeverPixelAdapter
impl PixelRWAdapter for NeverPixelAdapter
source§fn decode(
&self,
_src: &dyn PixelDataObject,
_dst: &mut Vec<u8>
) -> DecodeResult<()>
fn decode(
&self,
_src: &dyn PixelDataObject,
_dst: &mut Vec<u8>
) -> DecodeResult<()>
Decode the given DICOM object
containing encapsulated pixel data
into native pixel data as a byte stream in little endian,
resizing the given vector
dst to contain exactly these bytes. Read moresource§fn encode(
&self,
_src: &dyn PixelDataObject,
_options: EncodeOptions,
_dst: &mut Vec<u8>
) -> EncodeResult<()>
fn encode(
&self,
_src: &dyn PixelDataObject,
_options: EncodeOptions,
_dst: &mut Vec<u8>
) -> EncodeResult<()>
Encode a DICOM object’s image into the format supported by this adapter,
writing a byte stream of pixel data fragment values
into the given destination. Read more