Struct rustc_hir::def_path_hash_map::Config
source · pub struct Config;
Trait Implementations§
source§impl Config for Config
impl Config for Config
type Key = Hash64
type Value = DefIndex
type EncodedKey = [u8; 8]
type EncodedValue = [u8; 4]
type H = UnHashFn
source§fn encode_key(k: &Hash64) -> [u8; 8]
fn encode_key(k: &Hash64) -> [u8; 8]
Implementations of the
encode_key
and encode_value
methods must encode
the given key/value into a fixed size array. See above for requirements.source§fn encode_value(v: &DefIndex) -> [u8; 4]
fn encode_value(v: &DefIndex) -> [u8; 4]
Implementations of the
encode_key
and encode_value
methods must encode
the given key/value into a fixed size array. See above for requirements.fn decode_key(k: &[u8; 8]) -> Hash64
fn decode_value(v: &[u8; 4]) -> DefIndex
Auto Trait Implementations§
impl DynSend for Config
impl DynSync for Config
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes