[−][src]Struct hyperscan_sys::hs_platform_info
A type containing information on the target platform which may optionally be provided to the compile calls (@ref hs_compile(), @ref hs_compile_multi(), @ref hs_compile_ext_multi()).
A hs_platform_info structure may be populated for the current platform by using the @ref hs_populate_platform() call.
Fields
tune: c_uint
Information about the target platform which may be used to guide the optimisation process of the compile.
Use of this field does not limit the processors that the resulting database can run on, but may impact the performance of the resulting database.
cpu_features: c_ulonglong
Relevant CPU features available on the target platform
This value may be produced by combining HS_CPU_FEATURE_* flags (such as @ref HS_CPU_FEATURES_AVX2). Multiple CPU features may be or'ed together to produce the value.
reserved1: c_ulonglong
Reserved for future use.
reserved2: c_ulonglong
Reserved for future use.
Trait Implementations
impl Clone for hs_platform_info
[src]
fn clone(&self) -> hs_platform_info
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for hs_platform_info
[src]
impl Debug for hs_platform_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for hs_platform_info
impl Send for hs_platform_info
impl Sync for hs_platform_info
impl Unpin for hs_platform_info
impl UnwindSafe for hs_platform_info
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,