[][src]Struct flac_sys::FLAC__IOCallbacks

#[repr(C)]
pub struct FLAC__IOCallbacks { pub read: FLAC__IOCallback_Read, pub write: FLAC__IOCallback_Write, pub seek: FLAC__IOCallback_Seek, pub tell: FLAC__IOCallback_Tell, pub eof: FLAC__IOCallback_Eof, pub close: FLAC__IOCallback_Close, }

A structure for holding a set of callbacks. Each FLAC interface that requires a FLAC__IOCallbacks structure will describe which of the callbacks are required. The ones that are not required may be set to NULL.

If the seek requirement for an interface is optional, you can signify that a data sorce is not seekable by setting the \a seek field to \c NULL.

Fields

read: FLAC__IOCallback_Readwrite: FLAC__IOCallback_Writeseek: FLAC__IOCallback_Seektell: FLAC__IOCallback_Telleof: FLAC__IOCallback_Eofclose: FLAC__IOCallback_Close

Trait Implementations

impl Clone for FLAC__IOCallbacks[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for FLAC__IOCallbacks[src]

impl Debug for FLAC__IOCallbacks[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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