#[repr(u32)]pub enum uct_mem_alloc_params_field_t {
UCT_MEM_ALLOC_PARAM_FIELD_FLAGS = 1,
UCT_MEM_ALLOC_PARAM_FIELD_ADDRESS = 2,
UCT_MEM_ALLOC_PARAM_FIELD_MEM_TYPE = 4,
UCT_MEM_ALLOC_PARAM_FIELD_MDS = 8,
UCT_MEM_ALLOC_PARAM_FIELD_NAME = 16,
}Expand description
@ingroup UCT_MD @brief UCT allocation parameters specification field mask
The enumeration allows specifying which fields in @ref uct_mem_alloc_params_t are present.
Variants§
UCT_MEM_ALLOC_PARAM_FIELD_FLAGS = 1
Enables @ref uct_mem_alloc_params_t::flags
UCT_MEM_ALLOC_PARAM_FIELD_ADDRESS = 2
Enables @ref uct_mem_alloc_params_t::address
UCT_MEM_ALLOC_PARAM_FIELD_MEM_TYPE = 4
Enables @ref uct_mem_alloc_params_t::mem_type
UCT_MEM_ALLOC_PARAM_FIELD_MDS = 8
Enables @ref uct_mem_alloc_params_t::mds
UCT_MEM_ALLOC_PARAM_FIELD_NAME = 16
Enables @ref uct_mem_alloc_params_t::name
Trait Implementations§
Source§impl Clone for uct_mem_alloc_params_field_t
impl Clone for uct_mem_alloc_params_field_t
Source§fn clone(&self) -> uct_mem_alloc_params_field_t
fn clone(&self) -> uct_mem_alloc_params_field_t
Returns a copy 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 uct_mem_alloc_params_field_t
impl Debug for uct_mem_alloc_params_field_t
Source§impl Hash for uct_mem_alloc_params_field_t
impl Hash for uct_mem_alloc_params_field_t
Source§impl PartialEq for uct_mem_alloc_params_field_t
impl PartialEq for uct_mem_alloc_params_field_t
Source§fn eq(&self, other: &uct_mem_alloc_params_field_t) -> bool
fn eq(&self, other: &uct_mem_alloc_params_field_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for uct_mem_alloc_params_field_t
impl Eq for uct_mem_alloc_params_field_t
impl StructuralPartialEq for uct_mem_alloc_params_field_t
Auto Trait Implementations§
impl Freeze for uct_mem_alloc_params_field_t
impl RefUnwindSafe for uct_mem_alloc_params_field_t
impl Send for uct_mem_alloc_params_field_t
impl Sync for uct_mem_alloc_params_field_t
impl Unpin for uct_mem_alloc_params_field_t
impl UnwindSafe for uct_mem_alloc_params_field_t
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