Crate relevant [] [src]

Defines Relevant type to use in types that requires custom dealocation.

Structs

Relevant

Values of this type can't be automatically dropped. If struct or enum has field with type Relevant, it can't be automatically dropped either. And so considered relevant too. User has to deconstruct such values and call Relevant::dispose. If relevant field is private it means that user has to move value into some public method. For example memory::Block should be returned to the MemoryAllocator it came from.