#[non_exhaustive]#[repr(C)]pub struct HaarBuffer {
pub size: i32,
pub buffer: *mut i32,
}Expand description
Non-owning NPP Haar buffer descriptor.
buffer must reference device memory that remains valid for the full NPP
call that consumes this descriptor. The descriptor does not own or free the
pointer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.size: i32§buffer: *mut i32Trait Implementations§
Source§impl Debug for HaarBuffer
impl Debug for HaarBuffer
impl Eq for HaarBuffer
Source§impl From<HaarBuffer> for NppiHaarBuffer
impl From<HaarBuffer> for NppiHaarBuffer
Source§fn from(value: HaarBuffer) -> Self
fn from(value: HaarBuffer) -> Self
Converts to this type from the input type.
Source§impl From<NppiHaarBuffer> for HaarBuffer
impl From<NppiHaarBuffer> for HaarBuffer
Source§fn from(value: NppiHaarBuffer) -> Self
fn from(value: NppiHaarBuffer) -> Self
Converts to this type from the input type.
Source§impl Hash for HaarBuffer
impl Hash for HaarBuffer
Source§impl Ord for HaarBuffer
impl Ord for HaarBuffer
Source§fn cmp(&self, other: &HaarBuffer) -> Ordering
fn cmp(&self, other: &HaarBuffer) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HaarBuffer
impl PartialEq for HaarBuffer
Source§fn eq(&self, other: &HaarBuffer) -> bool
fn eq(&self, other: &HaarBuffer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HaarBuffer
impl PartialOrd for HaarBuffer
impl StructuralPartialEq for HaarBuffer
Auto Trait Implementations§
impl !Send for HaarBuffer
impl !Sync for HaarBuffer
impl Freeze for HaarBuffer
impl RefUnwindSafe for HaarBuffer
impl Unpin for HaarBuffer
impl UnsafeUnpin for HaarBuffer
impl UnwindSafe for HaarBuffer
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