[][src]Struct onednn_sys::dnnl_memory_extra_desc_t

#[repr(C)]pub struct dnnl_memory_extra_desc_t {
    pub flags: u64,
    pub compensation_mask: c_int,
    pub scale_adjust: f32,
    pub reserved: [c_char; 64],
}

Description of extra information stored in memory

Fields

flags: u64

The flags contain arbitrary extra information, such as compensation. @sa dnnl_memory_extra_flags_t

compensation_mask: c_int

Compensation mask

scale_adjust: f32

Scale applied to the data

reserved: [c_char; 64]

For future backwards compatibility

Trait Implementations

impl Clone for dnnl_memory_extra_desc_t[src]

impl Copy for dnnl_memory_extra_desc_t[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.