pub fn strong<T: SimpleGameLayer + Default + 'static>(name: &str) -> Box<GameLayer> {
        Box::new(GameLayer {
            name: name.to_string(),
            layer: GameLayerType::Strong(Box::new(T::default())),
        })
    }
/// Creates a strong layer of type T. A strong layer will be the last executed in the pile.
Creates a strong layer of type T. A strong layer will be the last executed in the pile.
Creates a strong layer of type T . A strong layer will be the last executed in the pile .
pub fn strong<T: SimpleGameLayer + Default + 'static>(name: &str) -> Box<GameLayer> {
        Box::new(GameLayer {
            name: name.to_string(),
            layer: GameLayerType::Strong(Box::new(T::default())),
        })
    }
pub fn strong < T : SimpleGameLayer + Default + ' static > ( name : & str ) -> Box < GameLayer > { Box :: new ( GameLayer { name : name . to_string ( ) , layer : GameLayerType :: Strong ( Box :: new ( T :: default ( ) ) ) , } ) }
Creates a strong layer of type T. A strong layer will be the last executed in the pile.
Creates a strong layer of type T . A strong layer will be the last executed in the pile .
name
&str
name
&str