Skip to main content

Key

Trait Key 

Source
pub trait Key: Copy {
    // Required method
    fn value(self) -> u64;
}
Expand description

a key in a Scope, any integer widened so one value names one node whatever its type

Required Methods§

Source

fn value(self) -> u64

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Key for i8

Source§

fn value(self) -> u64

Source§

impl Key for i16

Source§

fn value(self) -> u64

Source§

impl Key for i32

Source§

fn value(self) -> u64

Source§

impl Key for i64

Source§

fn value(self) -> u64

Source§

impl Key for isize

Source§

fn value(self) -> u64

Source§

impl Key for u8

Source§

fn value(self) -> u64

Source§

impl Key for u16

Source§

fn value(self) -> u64

Source§

impl Key for u32

Source§

fn value(self) -> u64

Source§

impl Key for u64

Source§

fn value(self) -> u64

Source§

impl Key for usize

Source§

fn value(self) -> u64

Implementors§