#[non_exhaustive]#[repr(C)]pub struct ImageDescriptor {
pub data: *mut (),
pub step: i32,
pub size: Size,
}Expand description
Non-owning NPP image descriptor.
data must reference image 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.data: *mut ()§step: i32§size: SizeTrait Implementations§
Source§impl Debug for ImageDescriptor
impl Debug for ImageDescriptor
impl Eq for ImageDescriptor
Source§impl From<ImageDescriptor> for NppiImageDescriptor
impl From<ImageDescriptor> for NppiImageDescriptor
Source§fn from(value: ImageDescriptor) -> Self
fn from(value: ImageDescriptor) -> Self
Converts to this type from the input type.
Source§impl From<NppiImageDescriptor> for ImageDescriptor
impl From<NppiImageDescriptor> for ImageDescriptor
Source§fn from(value: NppiImageDescriptor) -> Self
fn from(value: NppiImageDescriptor) -> Self
Converts to this type from the input type.
Source§impl Hash for ImageDescriptor
impl Hash for ImageDescriptor
Source§impl Ord for ImageDescriptor
impl Ord for ImageDescriptor
Source§fn cmp(&self, other: &ImageDescriptor) -> Ordering
fn cmp(&self, other: &ImageDescriptor) -> 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 ImageDescriptor
impl PartialEq for ImageDescriptor
Source§fn eq(&self, other: &ImageDescriptor) -> bool
fn eq(&self, other: &ImageDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ImageDescriptor
impl PartialOrd for ImageDescriptor
impl StructuralPartialEq for ImageDescriptor
Auto Trait Implementations§
impl !Send for ImageDescriptor
impl !Sync for ImageDescriptor
impl Freeze for ImageDescriptor
impl RefUnwindSafe for ImageDescriptor
impl Unpin for ImageDescriptor
impl UnsafeUnpin for ImageDescriptor
impl UnwindSafe for ImageDescriptor
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