Struct leveldb::database::comparator::DefaultComparator [-] [+] [src]

pub struct DefaultComparator;

DefaultComparator is the a stand in for "no comparator set"

Trait Implementations

impl Comparator for DefaultComparator

type K = i32

fn name(&self) -> *const u8

fn compare(&self, _a: &i32, _b: &i32) -> Ordering

fn null() -> bool

Derived Implementations

impl Copy for DefaultComparator