Trait ggez::context::HasMut

source ·
pub trait HasMut<T> {
    // Required method
    fn retrieve_mut(&mut self) -> &mut T;
}
Expand description

Used to represent types that can provide a certain context type in a mutable form. See also Has<T>.

If you don’t know what this is, you most likely want to pass ctx.

Required Methods§

source

fn retrieve_mut(&mut self) -> &mut T

Method to retrieve the context type as mutable.

Implementors§