[][src]Trait pseudo_encrypt::PseudoEncryptable

pub trait PseudoEncryptable: Copy {
    type HalfBitType: Copy;

    const HALF_BIT_SIZE: usize;
    const HALF_BIT_MAX: Self::HalfBitType;

    fn cast_from_i32(f: i32) -> Self;
fn cast_from_f32(f: f32) -> Self;
fn cast_to_f32(f: Self) -> f32; }

Associated Types

Loading content...

Associated Constants

Loading content...

Required methods

fn cast_from_i32(f: i32) -> Self

fn cast_from_f32(f: f32) -> Self

fn cast_to_f32(f: Self) -> f32

Loading content...

Implementations on Foreign Types

impl PseudoEncryptable for i32[src]

impl PseudoEncryptable for i64[src]

impl PseudoEncryptable for i128[src]

impl PseudoEncryptable for u32[src]

impl PseudoEncryptable for u64[src]

impl PseudoEncryptable for u128[src]

Loading content...

Implementors

Loading content...