Skip to main content

resource_amount_mut

Function resource_amount_mut 

Source
pub const fn resource_amount_mut<Content: ResourceType>(
    resource: &mut Resource<Content>,
) -> &mut u32
Expand description

Returns a mutable reference to the amount of resource contained in the given Resource. Should not be reexported in mods.