Skip to main content

CuDepthScale

Trait CuDepthScale 

Source
pub trait CuDepthScale:
    Copy
    + Debug
    + Default
    + Send
    + Sync
    + 'static {
    const RESOLUTION: Length;
    const UNITS_PER_METER: f32 = _;
}
Expand description

Compile-time physical distance represented by one integer increment.

Required Associated Constants§

Provided Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<const NUMERATOR: u64, const DENOMINATOR: u64> CuDepthScale for CuDepthScaleRatio<NUMERATOR, DENOMINATOR>