Struct allegro_sys::file::ALLEGRO_FILE_INTERFACE [−][src]
Fields
fi_fopen: Option<unsafe extern "C" fn(path: *const c_char, mode: *const c_char) -> *mut c_void>
fi_fclose: Option<unsafe extern "C" fn(handle: *mut ALLEGRO_FILE) -> c_bool>
fi_fread: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE, ptr: *mut c_void, size: c_ulong) -> c_ulong>
fi_fwrite: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE, ptr: *const c_void, size: c_ulong) -> c_ulong>
fi_fflush: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> c_bool>
fi_ftell: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> i64>
fi_fseek: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE, offset: i64, whence: c_int) -> c_bool>
fi_feof: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> c_bool>
fi_ferror: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> c_int>
fi_ferrmsg: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> *const c_char>
fi_fclearerr: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE)>
fi_fungetc: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE, c: c_int) -> c_int>
fi_fsize: Option<unsafe extern "C" fn(f: *mut ALLEGRO_FILE) -> off_t>
Trait Implementations
impl Clone for ALLEGRO_FILE_INTERFACE
[src]
fn clone(&self) -> ALLEGRO_FILE_INTERFACE
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ALLEGRO_FILE_INTERFACE
[src]
impl Debug for ALLEGRO_FILE_INTERFACE
[src]
Auto Trait Implementations
impl RefUnwindSafe for ALLEGRO_FILE_INTERFACE
impl Send for ALLEGRO_FILE_INTERFACE
impl Sync for ALLEGRO_FILE_INTERFACE
impl Unpin for ALLEGRO_FILE_INTERFACE
impl UnwindSafe for ALLEGRO_FILE_INTERFACE
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,