Skip to main content

Tag

Trait Tag 

Source
pub trait Tag: MaybeDynSized {
    type IDType: PartialEq + Eq;

    const ID: Self::IDType;
}
Expand description

Extension of MaybeDynSized for Tags.

Required Associated Constants§

Source

const ID: Self::IDType

The ID of this tag. This should be unique across all implementors.

Although the ID is not yet used in multiboot2-common, it ensures a consistent API in consumer crates.

Required Associated Types§

Source

type IDType: PartialEq + Eq

The ID type that identifies the tag.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§