Struct dexalt_lib::file::raw::DexaltFile
source · pub struct DexaltFile {
pub filepath: CString,
pub filemode: CString,
pub file: *mut FILE,
pub instance: *mut DexaltFile,
}Fields§
§filepath: CString§filemode: CString§file: *mut FILE§instance: *mut DexaltFileImplementations§
source§impl DexaltFile
impl DexaltFile
pub fn new(filepath: CString, filemode: CString) -> Self
pub fn open(&mut self)
pub fn close(&mut self)
pub fn write(&mut self, data: CString)
pub fn read(&mut self) -> CString
pub fn get_filepath(&self) -> CString
pub fn get_filemode(&self) -> CString
pub fn get_filesize(&self) -> f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DexaltFile
impl RefUnwindSafe for DexaltFile
impl !Send for DexaltFile
impl !Sync for DexaltFile
impl Unpin for DexaltFile
impl UnwindSafe for DexaltFile
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