#[repr(C)]pub enum UMatData_MemoryFlag {
COPY_ON_MAP = 1,
HOST_COPY_OBSOLETE = 2,
DEVICE_COPY_OBSOLETE = 4,
TEMP_UMAT = 8,
TEMP_COPIED_UMAT = 24,
USER_ALLOCATED = 32,
DEVICE_MEM_MAPPED = 64,
ASYNC_CLEANUP = 128,
}
Variants§
COPY_ON_MAP = 1
HOST_COPY_OBSOLETE = 2
DEVICE_COPY_OBSOLETE = 4
TEMP_UMAT = 8
TEMP_COPIED_UMAT = 24
USER_ALLOCATED = 32
DEVICE_MEM_MAPPED = 64
ASYNC_CLEANUP = 128
Trait Implementations§
Source§impl Clone for UMatData_MemoryFlag
impl Clone for UMatData_MemoryFlag
Source§fn clone(&self) -> UMatData_MemoryFlag
fn clone(&self) -> UMatData_MemoryFlag
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 UMatData_MemoryFlag
impl Debug for UMatData_MemoryFlag
Source§impl From<UMatData_MemoryFlag> for i32
impl From<UMatData_MemoryFlag> for i32
Source§fn from(v: UMatData_MemoryFlag) -> Self
fn from(v: UMatData_MemoryFlag) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UMatData_MemoryFlag
impl PartialEq for UMatData_MemoryFlag
Source§impl TryFrom<i32> for UMatData_MemoryFlag
impl TryFrom<i32> for UMatData_MemoryFlag
impl Copy for UMatData_MemoryFlag
impl Eq for UMatData_MemoryFlag
impl StructuralPartialEq for UMatData_MemoryFlag
Auto Trait Implementations§
impl Freeze for UMatData_MemoryFlag
impl RefUnwindSafe for UMatData_MemoryFlag
impl Send for UMatData_MemoryFlag
impl Sync for UMatData_MemoryFlag
impl Unpin for UMatData_MemoryFlag
impl UnwindSafe for UMatData_MemoryFlag
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