#[repr(C)]pub struct _TidyInputSource {
pub sourceData: *mut c_void,
pub getByte: TidyGetByteFunc,
pub ungetByte: TidyUngetByteFunc,
pub eof: TidyEOFFunc,
}
Expand description
This type defines an input source capable of delivering raw bytes of input.
Fields§
§sourceData: *mut c_void
< Input context. Passed to callbacks.
getByte: TidyGetByteFunc
< Pointer to “get byte” callback.
ungetByte: TidyUngetByteFunc
< Pointer to “unget” callback.
eof: TidyEOFFunc
< Pointer to “eof” callback.
Trait Implementations§
Source§impl Clone for _TidyInputSource
impl Clone for _TidyInputSource
Source§fn clone(&self) -> _TidyInputSource
fn clone(&self) -> _TidyInputSource
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 _TidyInputSource
impl Debug for _TidyInputSource
impl Copy for _TidyInputSource
Auto Trait Implementations§
impl Freeze for _TidyInputSource
impl RefUnwindSafe for _TidyInputSource
impl !Send for _TidyInputSource
impl !Sync for _TidyInputSource
impl Unpin for _TidyInputSource
impl UnwindSafe for _TidyInputSource
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