Enum dicom_encoding::adapters::NeverPixelAdapter
source · [−]pub enum NeverPixelAdapter {}Expand description
An immaterial type representing an adapter which is never required.
Trait Implementations
sourceimpl Clone for NeverPixelAdapter
impl Clone for NeverPixelAdapter
sourcefn clone(&self) -> NeverPixelAdapter
fn clone(&self) -> NeverPixelAdapter
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for NeverPixelAdapter
impl Debug for NeverPixelAdapter
sourceimpl Hash for NeverPixelAdapter
impl Hash for NeverPixelAdapter
sourceimpl Ord for NeverPixelAdapter
impl Ord for NeverPixelAdapter
sourcefn cmp(&self, other: &NeverPixelAdapter) -> Ordering
fn cmp(&self, other: &NeverPixelAdapter) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NeverPixelAdapter> for NeverPixelAdapter
impl PartialEq<NeverPixelAdapter> for NeverPixelAdapter
sourcefn eq(&self, other: &NeverPixelAdapter) -> bool
fn eq(&self, other: &NeverPixelAdapter) -> bool
sourceimpl PartialOrd<NeverPixelAdapter> for NeverPixelAdapter
impl PartialOrd<NeverPixelAdapter> for NeverPixelAdapter
sourcefn partial_cmp(&self, other: &NeverPixelAdapter) -> Option<Ordering>
fn partial_cmp(&self, other: &NeverPixelAdapter) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl PixelRWAdapter for NeverPixelAdapter
impl PixelRWAdapter for NeverPixelAdapter
sourcefn 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 moresourcefn 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
impl Copy for NeverPixelAdapter
impl Eq for NeverPixelAdapter
impl StructuralEq for NeverPixelAdapter
impl StructuralPartialEq for NeverPixelAdapter
Auto Trait Implementations
impl RefUnwindSafe for NeverPixelAdapter
impl Send for NeverPixelAdapter
impl Sync for NeverPixelAdapter
impl Unpin for NeverPixelAdapter
impl UnwindSafe for NeverPixelAdapter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more