Struct swipl_info::SwiplInfo
source · 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§
Auto Trait Implementations§
impl RefUnwindSafe for SwiplInfo
impl Send for SwiplInfo
impl Sync for SwiplInfo
impl Unpin for SwiplInfo
impl UnwindSafe for SwiplInfo
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