pub struct SystemInfo(/* private fields */);Expand description
Information about the DDS library and how it was built
Returned by Solver::system_info. Exposes
the version, hardware configuration (cores, threads, pointer width), and
compile-time choices (OS, compiler, threading model) that DDS was built
with.
Implementations§
Source§impl SystemInfo
impl SystemInfo
Sourcepub const fn threading(&self) -> Threading
pub const fn threading(&self) -> Threading
Threading model DDS was built with
Currently, dds_bridge_sys only supports Threading::STL for
maximum compatibility, minimum code size, and competitive performance.
Other variants may be activated in the future for specialized use cases
or platforms.
Sourcepub const fn num_threads(&self) -> usize
pub const fn num_threads(&self) -> usize
Number of threads configured in the DDS thread pool
Sourcepub const fn thread_sizes(&self) -> &str
pub const fn thread_sizes(&self) -> &str
Memory-size description for each thread slot
A string such as "0 S, 16 L" where L denotes a large transposition
table and S a small one.
Sourcepub const fn system_string(&self) -> &str
pub const fn system_string(&self) -> &str
Human-readable summary of the full DDS system configuration
Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemInfo
impl Debug for SystemInfo
Source§impl Display for SystemInfo
impl Display for SystemInfo
impl Copy for SystemInfo
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnsafeUnpin for SystemInfo
impl UnwindSafe for SystemInfo
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