#[repr(transparent)]pub struct ucp_mem_attr_field(pub c_uint);Expand description
@ingroup UCP_MEM @brief UCP Memory handle attributes field mask.
The enumeration allows specifying which fields in @ref ucp_mem_attr_t are present. It is used to enable backward compatibility support.
Tuple Fields§
§0: c_uintImplementations§
Source§impl ucp_mem_attr_field
impl ucp_mem_attr_field
Sourcepub const UCP_MEM_ATTR_FIELD_ADDRESS: ucp_mem_attr_field
pub const UCP_MEM_ATTR_FIELD_ADDRESS: ucp_mem_attr_field
< Virtual address
Source§impl ucp_mem_attr_field
impl ucp_mem_attr_field
Sourcepub const UCP_MEM_ATTR_FIELD_LENGTH: ucp_mem_attr_field
pub const UCP_MEM_ATTR_FIELD_LENGTH: ucp_mem_attr_field
< The size of memory region
Source§impl ucp_mem_attr_field
impl ucp_mem_attr_field
Sourcepub const UCP_MEM_ATTR_FIELD_MEM_TYPE: ucp_mem_attr_field
pub const UCP_MEM_ATTR_FIELD_MEM_TYPE: ucp_mem_attr_field
< Type of allocated or registered memory
Trait Implementations§
Source§impl BitAnd for ucp_mem_attr_field
impl BitAnd for ucp_mem_attr_field
Source§impl BitAndAssign for ucp_mem_attr_field
impl BitAndAssign for ucp_mem_attr_field
Source§fn bitand_assign(&mut self, rhs: ucp_mem_attr_field)
fn bitand_assign(&mut self, rhs: ucp_mem_attr_field)
Performs the
&= operation. Read moreSource§impl BitOr for ucp_mem_attr_field
impl BitOr for ucp_mem_attr_field
Source§impl BitOrAssign for ucp_mem_attr_field
impl BitOrAssign for ucp_mem_attr_field
Source§fn bitor_assign(&mut self, rhs: ucp_mem_attr_field)
fn bitor_assign(&mut self, rhs: ucp_mem_attr_field)
Performs the
|= operation. Read moreSource§impl Clone for ucp_mem_attr_field
impl Clone for ucp_mem_attr_field
Source§fn clone(&self) -> ucp_mem_attr_field
fn clone(&self) -> ucp_mem_attr_field
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 ucp_mem_attr_field
impl Debug for ucp_mem_attr_field
Source§impl Hash for ucp_mem_attr_field
impl Hash for ucp_mem_attr_field
Source§impl PartialEq for ucp_mem_attr_field
impl PartialEq for ucp_mem_attr_field
impl Copy for ucp_mem_attr_field
impl Eq for ucp_mem_attr_field
impl StructuralPartialEq for ucp_mem_attr_field
Auto Trait Implementations§
impl Freeze for ucp_mem_attr_field
impl RefUnwindSafe for ucp_mem_attr_field
impl Send for ucp_mem_attr_field
impl Sync for ucp_mem_attr_field
impl Unpin for ucp_mem_attr_field
impl UnwindSafe for ucp_mem_attr_field
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