pub trait PalletedContainerKind:
Copy
+ Clone
+ Debug
+ Default
+ TryFrom<u32>
+ Into<u32> {
type SectionPos: SectionPos;
// Required methods
fn size_bits() -> usize;
fn bits_per_entry_to_palette_kind(bits_per_entry: u8) -> PaletteKind;
// Provided method
fn size() -> usize { ... }
}
Required Associated Types§
type SectionPos: SectionPos
Required Methods§
fn size_bits() -> usize
fn bits_per_entry_to_palette_kind(bits_per_entry: u8) -> PaletteKind
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.