Skip to main content

FdbHash

Trait FdbHash 

Source
pub trait FdbHash {
    // Required method
    fn hash(&self) -> u32;
}
Expand description

This trait is implemented on all types that represent a field value

Required Methods§

Source

fn hash(&self) -> u32

Get the hash value

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl FdbHash for Latin1Str

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for Latin1String

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for String

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for bool

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for f32

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for i32

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for i64

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for str

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for u32

Source§

fn hash(&self) -> u32

Source§

impl FdbHash for u64

Source§

fn hash(&self) -> u32

Implementors§

Source§

impl<C> FdbHash for Value<C>
where C: Context, <C as Context>::I64: FdbHash, <C as Context>::String: FdbHash, <C as Context>::XML: FdbHash,