Trait Identity

Source
pub trait Identity {
    // Required method
    fn id(dimensions: usize, tolerance: f32) -> Self;
}

Required Methods§

Source

fn id(dimensions: usize, tolerance: f32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Identity for f32

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for f64

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for i8

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for i16

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for i32

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for i64

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for i128

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for isize

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for u8

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for u16

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for u32

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for u64

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for u128

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Source§

impl Identity for usize

Source§

fn id(_dimensions: usize, _tolerance: f32) -> Self

Implementors§