Trait Key

Source
pub trait Key {
    // Required method
    fn find(&self, internal: &Internal) -> Option<usize>;
}
Expand description

Convert a key into a node index given an internal node schema

Required Methods§

Source

fn find(&self, internal: &Internal) -> Option<usize>

Convert the key self to a usize index

Implementations on Foreign Types§

Source§

impl Key for i8

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for i16

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for i32

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for i64

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for i128

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for isize

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for str

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for u8

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for u16

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for u32

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for u64

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for u128

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl Key for usize

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl<T: Key + ?Sized> Key for &T

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Source§

impl<T: Key + ?Sized> Key for &mut T

Source§

fn find(&self, internal: &Internal) -> Option<usize>

Implementors§