[−][src]Trait walrus::CustomSectionId
A common trait for custom section identifiers.
Used in the ModuleCustomSections::get
family of methods to perform type
conversions from dyn CustomSection
trait objects into the concrete
Self::CustomSection
type instance.
You shouldn't implement this yourself. Instead use TypedCustomSectionId<T>
or UntypedCustomSectionId
.
Associated Types
type CustomSection: ?Sized
The concrete custom section type that this id gets out of a
ModuleCustomSections
.
Implementors
impl<T> CustomSectionId for TypedCustomSectionId<T> where
T: CustomSection,
[src]
T: CustomSection,