Struct physfs_sys::PHYSFS_File [−][src]
Expand description
\struct PHYSFS_File \brief A PhysicsFS file handle.
You get a pointer to one of these when you open a file for reading, writing, or appending via PhysicsFS.
As you can see from the lack of meaningful fields, you should treat this as opaque data. Don’t try to manipulate the file handle, just pass the pointer you got, unmolested, to various PhysicsFS APIs.
\sa PHYSFS_openRead \sa PHYSFS_openWrite \sa PHYSFS_openAppend \sa PHYSFS_close \sa PHYSFS_read \sa PHYSFS_write \sa PHYSFS_seek \sa PHYSFS_tell \sa PHYSFS_eof \sa PHYSFS_setBuffer \sa PHYSFS_flush
Fields
opaque: *mut c_void
< That’s all you get. Don’t touch.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PHYSFS_File
impl !Send for PHYSFS_File
impl !Sync for PHYSFS_File
impl Unpin for PHYSFS_File
impl UnwindSafe for PHYSFS_File
Blanket Implementations
Mutably borrows from an owned value. Read more