#[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,
}Expand description
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_Read§write: FLAC__IOCallback_Write§seek: FLAC__IOCallback_Seek§tell: FLAC__IOCallback_Tell§eof: FLAC__IOCallback_Eof§close: FLAC__IOCallback_CloseTrait Implementations§
Source§impl Clone for FLAC__IOCallbacks
impl Clone for FLAC__IOCallbacks
Source§fn clone(&self) -> FLAC__IOCallbacks
fn clone(&self) -> FLAC__IOCallbacks
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 FLAC__IOCallbacks
impl Debug for FLAC__IOCallbacks
impl Copy for FLAC__IOCallbacks
Auto Trait Implementations§
impl Freeze for FLAC__IOCallbacks
impl RefUnwindSafe for FLAC__IOCallbacks
impl Send for FLAC__IOCallbacks
impl Sync for FLAC__IOCallbacks
impl Unpin for FLAC__IOCallbacks
impl UnwindSafe for FLAC__IOCallbacks
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