[][src]Struct blend2d::runtime::SystemInfo

#[repr(C)]
pub struct SystemInfo {
    pub cpu_arch: CpuArch,
    pub cpu_features: CpuFeatures,
    pub core_count: u32,
    pub thread_count: u32,
    pub min_thread_stack_size: u32,
    pub min_worker_stack_size: u32,
    pub allocation_granularity: u32,
    // some fields omitted
}

System information queried by the runtime.

Fields

cpu_arch: CpuArch

Host CPU architecture, see CpuArch.

cpu_features: CpuFeatures

Host CPU features, see CpuFeatures.

core_count: u32

Number of cores of the host CPU/CPUs.

thread_count: u32

Number of threads of the host CPU/CPUs.

min_thread_stack_size: u32

Minimum stack size of threads.

min_worker_stack_size: u32

Minimum stack size of worker threads used by Blend2D.

allocation_granularity: u32

Allocation granularity of virtual memory (includes thread's stack).

Methods

impl SystemInfo[src]

pub fn query() -> Result<Self>[src]

Queries the runtime's system info.

Trait Implementations

impl Clone for SystemInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for SystemInfo[src]

impl Copy for SystemInfo[src]

impl Debug for SystemInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]