pub struct SwiplInfo {
    pub version: u32,
    pub swi_home: String,
    pub pack_so_dir: String,
    pub cflags: String,
    pub ldflags: String,
    pub arch: String,
    pub lib_name: String,
    pub lib_dir: String,
    pub header_dir: String,
}
Expand description

Struct containing information about a SWI-Prolog installation

Fields

version: u32

The SWI-Prolog version as an integer

swi_home: String

The main directory where SWI-Prolog is located

pack_so_dir: String

The directory subpath where dynamic libraries live

cflags: String

The cflags that swipl advises should be used in module compiles

ldflags: String

The ldflags that swipl advises should be used in module compiles

arch: String

The current architecture

lib_name: String

The swipl lib name on this platform

lib_dir: String

The directory with the dynamic libraries

header_dir: String

The directory with the header files

Trait Implementations

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 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.