Struct twilight_cache_inmemory::Reference[][src]

pub struct Reference<'a, K, V> { /* fields omitted */ }
Expand description

Immutable reference to a resource in the cache.

Implementations

Immutable reference to the key identifying the resource.

Immutable reference to the underlying value.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.