Skip to main content

CuDepthIntegerSample

Trait CuDepthIntegerSample 

Source
pub trait CuDepthIntegerSample: ElementType + 'static {
    const MAX: u64;

    // Required methods
    fn to_u64(self) -> u64;
    fn from_u64(value: u64) -> Self;
}
Expand description

Unsigned integer storage supported by CuDepthInteger.

Required Associated Constants§

Source

const MAX: u64

Required Methods§

Source

fn to_u64(self) -> u64

Source

fn from_u64(value: u64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CuDepthIntegerSample for u8

Source§

const MAX: u64

Source§

fn to_u64(self) -> u64

Source§

fn from_u64(value: u64) -> Self

Source§

impl CuDepthIntegerSample for u16

Source§

const MAX: u64

Source§

fn to_u64(self) -> u64

Source§

fn from_u64(value: u64) -> Self

Source§

impl CuDepthIntegerSample for u32

Source§

const MAX: u64

Source§

fn to_u64(self) -> u64

Source§

fn from_u64(value: u64) -> Self

Source§

impl CuDepthIntegerSample for u64

Source§

const MAX: u64

Source§

fn to_u64(self) -> u64

Source§

fn from_u64(value: u64) -> Self

Implementors§