pub type InternedRenderLabel = Interned<dyn RenderLabel>;
Expand description
A shorthand for Interned<dyn RenderLabel>
.
struct InternedRenderLabel(pub &'static dyn RenderLabel);
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Casts this value to a form where it can be compared with other type-erased values.
Clones this RenderLabel
.
Feeds this value into the given [Hasher
].
Returns an
Interned
value corresponding to
self
.