pub trait Sizing:
Copy
+ Clone
+ PartialEq
+ Eq
+ Debug
+ Sealed { }Expand description
Trait to define overhead and sizing limits on Teaspoon variants.
This trait is implemented by 3 marker types:
Sizing4KiB: supports allocating objects up to 4 KiB.Sizing128KiB: supports allocating objects up to 128 KiB.Sizing16MiB: supports allocating objects up to 16 MiB.
This is a sealed trait and you cannot implement your own.
See the module-level documentation for more information about the Teaspoon allocator variants and their sizing limits.
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.