pub struct RegisterFlags(/* private fields */);Expand description
Bitflags controlling how cuMemHostRegister registers host memory.
Implementations§
Source§impl RegisterFlags
impl RegisterFlags
Sourcepub const DEVICE_MAP: Self
pub const DEVICE_MAP: Self
Memory is mapped into the device address space, enabling zero-copy
access via cuMemHostGetDevicePointer.
Trait Implementations§
Source§impl BitAnd for RegisterFlags
impl BitAnd for RegisterFlags
Source§impl BitOr for RegisterFlags
impl BitOr for RegisterFlags
Source§impl Clone for RegisterFlags
impl Clone for RegisterFlags
Source§fn clone(&self) -> RegisterFlags
fn clone(&self) -> RegisterFlags
Returns a duplicate 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 RegisterFlags
impl Debug for RegisterFlags
Source§impl Display for RegisterFlags
impl Display for RegisterFlags
Source§impl Hash for RegisterFlags
impl Hash for RegisterFlags
Source§impl PartialEq for RegisterFlags
impl PartialEq for RegisterFlags
impl Copy for RegisterFlags
impl Eq for RegisterFlags
impl StructuralPartialEq for RegisterFlags
Auto Trait Implementations§
impl Freeze for RegisterFlags
impl RefUnwindSafe for RegisterFlags
impl Send for RegisterFlags
impl Sync for RegisterFlags
impl Unpin for RegisterFlags
impl UnsafeUnpin for RegisterFlags
impl UnwindSafe for RegisterFlags
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