#[repr(C)]pub struct Agiodisc_s {
pub afread: Option<unsafe extern "C" fn(chan: *mut c_void, buf: *mut c_char, bufsize: c_int) -> c_int>,
pub putstr: Option<unsafe extern "C" fn(chan: *mut c_void, str_: *const c_char) -> c_int>,
pub flush: Option<unsafe extern "C" fn(chan: *mut c_void) -> c_int>,
}Fields§
§afread: Option<unsafe extern "C" fn(chan: *mut c_void, buf: *mut c_char, bufsize: c_int) -> c_int>§putstr: Option<unsafe extern "C" fn(chan: *mut c_void, str_: *const c_char) -> c_int>§flush: Option<unsafe extern "C" fn(chan: *mut c_void) -> c_int>Trait Implementations§
Source§impl Clone for Agiodisc_s
impl Clone for Agiodisc_s
Source§fn clone(&self) -> Agiodisc_s
fn clone(&self) -> Agiodisc_s
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 Agiodisc_s
impl Debug for Agiodisc_s
impl Copy for Agiodisc_s
Auto Trait Implementations§
impl Freeze for Agiodisc_s
impl RefUnwindSafe for Agiodisc_s
impl Send for Agiodisc_s
impl Sync for Agiodisc_s
impl Unpin for Agiodisc_s
impl UnwindSafe for Agiodisc_s
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