Docs.rs
keyed-set-0.4.2
keyed-set 0.4.2
Docs.rs crate page
EPL-2.0
Links
Repository
crates.io
Source
Owners
p-avital
Dependencies
hashbrown ^0.13.1
normal
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
KeyExtractor
Required Associated Types
Key
Required Methods
extract
Implementations on Foreign Types
()
Implementors
In keyed_set
?
Trait
keyed_set
::
KeyExtractor
source
·
[
−
]
pub trait KeyExtractor<'a, T> { type
Key
:
Hash
; fn
extract
(&self, from:
&'a
T) -> Self::
Key
; }
Required Associated Types
source
type
Key
:
Hash
Required Methods
source
fn
extract
(&self, from:
&'a
T) -> Self::
Key
Implementations on Foreign Types
source
impl<'a, T: 'a +
Hash
>
KeyExtractor
<'a, T> for
()
type
Key
=
&'a
T
source
fn
extract
(&self, from:
&'a
T) -> Self::
Key
Implementors
source
impl<'a, T: 'a, U:
Hash
, F:
Fn
(
&'a
T) -> U>
KeyExtractor
<'a, T> for F
type
Key
= U