Skip to main content

WithApproximateNorm

Trait WithApproximateNorm 

Source
pub trait WithApproximateNorm: Sized {
    // Required method
    fn with_approximate_norm(
        dim: usize,
        norm: f32,
        rng: &mut StdRng,
    ) -> Vec<Self>;
}

Required Methods§

Source

fn with_approximate_norm(dim: usize, norm: f32, rng: &mut StdRng) -> Vec<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 WithApproximateNorm for f32

Source§

fn with_approximate_norm(dim: usize, norm: f32, rng: &mut StdRng) -> Vec<Self>

Source§

impl WithApproximateNorm for i8

Source§

fn with_approximate_norm(dim: usize, norm: f32, rng: &mut StdRng) -> Vec<Self>

Source§

impl WithApproximateNorm for u8

Source§

fn with_approximate_norm(dim: usize, norm: f32, rng: &mut StdRng) -> Vec<Self>

Source§

impl WithApproximateNorm for f16

Source§

fn with_approximate_norm(dim: usize, norm: f32, rng: &mut StdRng) -> Vec<Self>

Implementors§