Skip to main content

into_resource

Macro into_resource 

Source
macro_rules! into_resource {
    ($( $handle:ty => $variant:ident ),+ $(,)?) => { ... };
}
Expand description

Implement the erasing conversion into Resource for a kind whose stored variant carries it as its only payload.