[][src]Struct dicom_encoding::encode::EncoderFor

pub struct EncoderFor<T, W: ?Sized> { /* fields omitted */ }

A type binding of an encoder to a target writer.

Implementations

impl<T, W: ?Sized> EncoderFor<T, W>[src]

pub fn new(encoder: T) -> Self[src]

Using a generic encoder, create a new encoder specifically for the given

  • writer of type W.

Trait Implementations

impl<T, W: ?Sized> BasicEncode for EncoderFor<T, W> where
    T: BasicEncode,
    W: Write
[src]

impl<T: Debug, W: ?Sized> Debug for EncoderFor<T, W>[src]

impl<T, W: ?Sized> Default for EncoderFor<T, W> where
    T: Default
[src]

impl<T, W: ?Sized> EncodeTo<W> for EncoderFor<T, W> where
    T: Encode,
    W: Write
[src]

Auto Trait Implementations

impl<T, W: ?Sized> RefUnwindSafe for EncoderFor<T, W> where
    T: RefUnwindSafe,
    W: RefUnwindSafe

impl<T, W: ?Sized> Send for EncoderFor<T, W> where
    T: Send,
    W: Send

impl<T, W: ?Sized> Sync for EncoderFor<T, W> where
    T: Sync,
    W: Sync

impl<T, W: ?Sized> Unpin for EncoderFor<T, W> where
    T: Unpin,
    W: Unpin

impl<T, W: ?Sized> UnwindSafe for EncoderFor<T, W> where
    T: UnwindSafe,
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.