Skip to main content

cheatcode_of

Function cheatcode_of 

Source
const fn cheatcode_of<T: CheatcodeDef>(_: &T) -> &'static Cheatcode<'static>
Expand description

Returns the spec::Cheatcode definition for a given spec::CheatcodeDef implementor.