Struct physfs_sys::PHYSFS_ArchiveInfo[][src]

#[repr(C)]
pub struct PHYSFS_ArchiveInfo { pub extension: *const c_char, pub description: *const c_char, pub author: *const c_char, pub url: *const c_char, pub supportsSymlinks: c_int, }
Expand description

\struct PHYSFS_ArchiveInfo \brief Information on various PhysicsFS-supported archives.

This structure gives you details on what sort of archives are supported by this implementation of PhysicsFS. Archives tend to be things like ZIP files and such.

\warning Not all binaries are created equal! PhysicsFS can be built with or without support for various archives. You can check with PHYSFS_supportedArchiveTypes() to see if your archive type is supported.

\sa PHYSFS_supportedArchiveTypes \sa PHYSFS_registerArchiver \sa PHYSFS_deregisterArchiver

Fields

extension: *const c_char

< Archive file extension: “ZIP”, for example.

description: *const c_char

< Human-readable archive description.

author: *const c_char

< Person who did support for this archive.

url: *const c_char

< URL related to this archive

supportsSymlinks: c_int

< non-zero if archive offers symbolic links.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.