pub struct BuildInfo {
pub version: &'static str,
pub features: Vec<&'static str>,
pub simd_support: bool,
pub target_arch: &'static str,
pub target_os: &'static str,
}Expand description
Information about the current build configuration.
Fields§
§version: &'static strLibrary version
features: Vec<&'static str>Enabled feature flags
simd_support: boolWhether SIMD optimizations are available
target_arch: &'static strTarget architecture
target_os: &'static strTarget operating system
Trait Implementations§
Source§impl Deserialize<'static> for BuildInfo
impl Deserialize<'static> for BuildInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BuildInfo
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnwindSafe for BuildInfo
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