SYMBOL INDEX (334 symbols across 43 files) FILE: src/botdef.rs type BotDef (line 8) | pub struct BotDef { FILE: src/client/camera.rs constant FOVY (line 5) | const FOVY: f32 = 3.14 / 4.0; constant NEAR (line 6) | const NEAR: f32 = 1.0; constant FAR (line 7) | const FAR: f32 = 8000.0; function create_view (line 9) | pub fn create_view(pos: &Point3, dir: &Vector3) -> Matrix4 { function create_normal (line 13) | pub fn create_normal(pos: &Point3, dir: &Vector3) -> Matrix4 Matrix4 { function create_view_proj (line 25) | pub fn create_view_proj( function create_camera_uniform_vec (line 36) | pub fn create_camera_uniform_vec( method rts_camera (line 63) | pub fn rts_camera(&mut self, sim_sec: f32) { method orbit_camera (line 186) | pub fn orbit_camera(&mut self, sim_sec: f32) { FILE: src/client/game_state.rs type Explosion (line 17) | pub struct Explosion { type State (line 25) | pub struct State { method new (line 68) | pub fn new() -> Self { method handle_new_frame (line 105) | pub fn handle_new_frame(&mut self, frame: Frame) { method interpolate (line 148) | pub fn interpolate(&mut self, threadpool: &rayon::ThreadPool, view_pro... method my_player (line 245) | pub fn my_player(&self) -> Option<&Player> { method near (line 251) | pub fn near(&self) -> f32 { FILE: src/client/heightmap_editor.rs type Mode (line 9) | pub enum Mode { type State (line 17) | pub struct State { method new (line 29) | pub fn new() -> Self { method draw_ui (line 42) | pub fn draw_ui(&mut self, ui: &Ui, heightmap_gpu: &mut heightmap_gpu::... method handle_user_input (line 123) | pub fn handle_user_input( method save (line 295) | pub fn save(heightmap_gpu: &heightmap_gpu::HeightmapGpu, path: &str) { method load (line 340) | pub fn load(heightmap_gpu: &mut heightmap_gpu::HeightmapGpu, path: &st... FILE: src/client/input_state.rs type Drag (line 4) | pub enum Drag { type InputState (line 12) | pub struct InputState { method new (line 26) | pub fn new() -> Self { method update (line 41) | pub fn update(&mut self) { FILE: src/client/misc.rs method clear_gpu_instance_and_game_state (line 7) | pub fn clear_gpu_instance_and_game_state(&mut self) { method visit_part_tree (line 31) | pub fn visit_part_tree( method upload_to_gpu (line 127) | pub fn upload_to_gpu(&mut self, view_proj: &Matrix4, encoder: &mut ... FILE: src/client/mod.rs type StartClient (line 41) | pub struct StartClient { type StartServer (line 45) | pub struct StartServer { type FromClient (line 49) | pub enum FromClient { type ImguiWrap (line 57) | struct ImguiWrap { type RenderEvent (line 64) | enum RenderEvent { type MainMode (line 69) | pub enum MainMode { type NetMode (line 78) | pub enum NetMode { type App (line 84) | pub struct App { method new (line 147) | pub fn new( method resize (line 611) | fn resize(&mut self) -> Option { method handle_winit_event (line 724) | pub fn handle_winit_event(&mut self, _event: &winit::event::Event<()>) { method map_read_async_msg (line 855) | pub fn map_read_async_msg(&mut self, vec: Vec, usage: String) { method receive (line 869) | pub fn receive(&mut self) { FILE: src/client/play.rs method init_play (line 14) | pub fn init_play(&mut self) { method handle_play (line 112) | pub fn handle_play( FILE: src/client/render.rs method render (line 17) | pub fn render(&mut self) { FILE: src/client/uitool.rs type UiTool (line 5) | pub enum UiTool { FILE: src/client/unit_editor.rs type UnitEditor (line 12) | pub struct UnitEditor { method new (line 18) | pub fn new() -> Self { method add_to_parts (line 51) | fn add_to_parts(&mut self, parent: utils::Id, path: PathBuf,... method init_unit_editor (line 77) | pub fn init_unit_editor(&mut self) { method draw_unit_editor_ui (line 85) | pub fn draw_unit_editor_ui( method save_botdef_on_disk (line 225) | pub fn save_botdef_on_disk(bot_def: &BotDef, path: &str) { method load_botdef_on_disk (line 241) | pub fn load_botdef_on_disk(path: &str) -> serde_json::Result { method load_botdef_in_editor (line 255) | pub fn load_botdef_in_editor( method ui_part_tree (line 280) | fn ui_part_tree( method visit_dirs_for_add_child (line 462) | fn visit_dirs_for_add_child( method visit_dirs_for_replace_mesh (line 521) | fn visit_dirs_for_replace_mesh( method visit_dirs_for_selection (line 612) | fn visit_dirs_for_selection( FILE: src/client/unit_part_gpu.rs type ModelGpuState (line 6) | pub enum ModelGpuState { type UnitPartGpu (line 12) | pub struct UnitPartGpu { method new (line 18) | pub fn new() -> Self { method index_of (line 25) | pub fn index_of(&self, path: PathBuf) -> Option<&usize> { method path_get (line 29) | pub fn path_get(&self, path: PathBuf) -> Option<&ModelGpuState> { method path_get_mut (line 33) | pub fn path_get_mut(&mut self, path: PathBuf) -> Option<&mut ModelGpuS... method get (line 39) | pub fn get(&self, index: usize) -> &ModelGpuState { method get_mut (line 42) | pub fn get_mut(&mut self, index: usize) -> &mut ModelGpuState { method load_at (line 46) | fn load_at(&mut self, index: usize, path: PathBuf) { method append (line 56) | pub fn append(&mut self, path: PathBuf) -> usize { method reload (line 62) | pub fn reload(&mut self, path: PathBuf) -> usize { method index_of_or_create_if_na (line 72) | pub fn index_of_or_create_if_na(&mut self, path: PathBuf) -> usize { method path_get_or_create_if_na (line 79) | pub fn path_get_or_create_if_na(&mut self, path: PathBuf) -> (usize, &... FILE: src/frame.rs type Player (line 20) | pub struct Player { method new (line 29) | pub fn new() -> Self { type FrameEventFromPlayer (line 42) | pub enum FrameEventFromPlayer { type ProfilerMap (line 63) | pub struct ProfilerMap { method new (line 67) | pub fn new() -> Self { method mix (line 70) | pub fn mix(&mut self, s: &str, duration: Duration, last_ratio: u32) { method add (line 87) | pub fn add(&mut self, s: &str, duration: Duration) { method get (line 90) | pub fn get(&self, s: &str) -> Option<&Duration> { type DataToComputeNextFrame (line 96) | pub struct DataToComputeNextFrame { type FrameUpdate (line 102) | pub struct FrameUpdate { type Frame (line 107) | pub struct Frame { method new (line 127) | pub fn new() -> Self { FILE: src/frame_server/mod.rs type ToFrameServer (line 12) | pub enum ToFrameServer { type FromFrameServer (line 16) | pub enum FromFrameServer { type FrameServerCache (line 20) | pub struct FrameServerCache { method spawn (line 27) | pub fn spawn( method new (line 59) | pub fn new() -> Self { method next_frame (line 67) | pub fn next_frame(&mut self, old_frame: Frame, events: Vec TargetForce { FILE: src/glsl.rs function compile_all_glsl (line 7) | pub fn compile_all_glsl() { function visit_dirs (line 39) | fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> io::Result<()> { FILE: src/gpu_obj/arrow_gpu.rs type ArrowGpu (line 6) | pub struct ArrowGpu { method new (line 16) | pub fn new( method create_pipeline (line 57) | pub fn create_pipeline( method render (line 176) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 188) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 200) | fn reload_shader( FILE: src/gpu_obj/blit_texture.rs type BlitTextureGpu (line 6) | pub struct BlitTextureGpu { method new (line 16) | pub fn new( method create_bind_group (line 107) | pub fn create_bind_group( method create_pipeline (line 140) | pub fn create_pipeline( method render (line 218) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 229) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 241) | fn reload_shader( FILE: src/gpu_obj/explosion.rs type ExplosionGpu (line 6) | pub struct ExplosionGpu { method new (line 16) | pub fn new( method create_bind_group (line 142) | pub fn create_bind_group( method update_bind_group (line 217) | pub fn update_bind_group( method create_pipeline (line 233) | pub fn create_pipeline( method open_noise (line 311) | pub fn open_noise() -> Vec { method render (line 336) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 347) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 359) | fn reload_shader( FILE: src/gpu_obj/glsl_compiler.rs type ShaderStage (line 5) | pub enum ShaderStage { function str_to_shader_stage (line 11) | fn str_to_shader_stage(str: &str) -> ShaderStage { type Result (line 25) | pub type Result = std::result::Result; type ShaderCompilationError (line 28) | pub struct ShaderCompilationError { method fmt (line 33) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method source (line 39) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { function load (line 45) | pub fn load(rel_path: &str) -> Result> { function load (line 69) | pub fn load(rel_path: &str) -> Result> { function load (line 93) | pub fn load(rel_path: &str) -> Result> { FILE: src/gpu_obj/gpu.rs type WgpuState (line 3) | pub struct WgpuState { method new (line 14) | pub fn new(window: winit::window::Window) -> Self { FILE: src/gpu_obj/health_bar.rs type HealthBarGpu (line 6) | pub struct HealthBarGpu { method new (line 13) | pub fn new( method create_pipeline (line 38) | pub fn create_pipeline( method render (line 120) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 130) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 142) | fn reload_shader( FILE: src/gpu_obj/heightmap_gpu.rs constant ZONE_SIZE_MIP0 (line 8) | const ZONE_SIZE_MIP0: usize = 64; constant UPDATE_PER_STEP (line 9) | const UPDATE_PER_STEP: usize = 300; constant MIP_COUNT (line 10) | const MIP_COUNT: u32 = 5; constant MAX_Z (line 11) | pub const MAX_Z: f32 = 511.0; type HeightmapGpu (line 13) | pub struct HeightmapGpu { method new (line 32) | pub fn new( method create_pipeline (line 450) | pub fn create_pipeline( method mipmap_update (line 539) | pub fn mipmap_update( method render (line 598) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_uniform (line 608) | pub fn update_uniform( method step (line 637) | pub fn step(&mut self, device: &Device, encoder: &mut CommandEncoder) { method update_rect (line 864) | pub fn update_rect(&mut self, min_x: u32, min_y: u32, width: u32, heig... method reload_shader (line 891) | fn reload_shader( FILE: src/gpu_obj/heightmap_helper.rs type Vertex (line 5) | pub struct Vertex { method canonicalize (line 19) | fn canonicalize(&self) -> i128 { method eq (line 11) | fn eq(&self, other: &Vertex) -> bool { method hash (line 25) | fn hash(&self, state: &mut H) function z (line 33) | pub fn z(x: f32, y: f32) -> f32 { function create_texels (line 47) | pub fn create_texels(width: u32, height: u32, t: f32) -> Vec { function create_vertex_index_rings (line 58) | pub fn create_vertex_index_rings(hsize: u32) -> (Vec, Vec) { function optimize_vertex_index (line 330) | pub fn optimize_vertex_index( FILE: src/gpu_obj/imgui_wgpu.rs type RendererResult (line 5) | pub type RendererResult = Result; type RendererError (line 8) | pub enum RendererError { function get_program_link (line 12) | fn get_program_link() -> (&'static str, &'static str) { type Texture (line 17) | struct Texture { method new (line 23) | fn new(texture: wgpu::Texture, layout: &BindGroupLayout, device: &Devi... type Renderer (line 60) | pub struct Renderer { method new (line 71) | pub fn new( method new_impl (line 85) | fn new_impl( method render (line 227) | pub fn render<'a>( method render_draw_list (line 291) | fn render_draw_list<'render>( method update_uniform_buffer (line 347) | fn update_uniform_buffer( method upload_vertex_buffer (line 369) | fn upload_vertex_buffer(&mut self, device: &Device, vertices: &[DrawVe... method upload_index_buffer (line 376) | fn upload_index_buffer(&mut self, device: &Device, indices: &[DrawIdx]... method reload_font_texture (line 385) | pub fn reload_font_texture( method upload_font_texture (line 399) | fn upload_font_texture( FILE: src/gpu_obj/line.rs type LineGpu (line 6) | pub struct LineGpu { method new (line 13) | pub fn new( method create_pipeline (line 38) | pub fn create_pipeline( method render (line 115) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 125) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 137) | fn reload_shader( FILE: src/gpu_obj/model_gpu.rs type ModelGpu (line 6) | pub struct ModelGpu { method new (line 17) | pub fn new( method create_pipeline (line 59) | pub fn create_pipeline( method render (line 178) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance_dirty (line 189) | pub fn update_instance_dirty(&mut self, instance_attr: &[f32], device:... method update_instance_dirty_own_buffer (line 199) | pub fn update_instance_dirty_own_buffer(&mut self, device: &wgpu::Devi... method update_instance (line 209) | pub fn update_instance( method reload_shader (line 253) | fn reload_shader( FILE: src/gpu_obj/post_fx.rs type PostFx (line 5) | pub struct PostFx { method new (line 13) | pub fn new( method update_pos_att_view (line 74) | pub fn update_pos_att_view(&mut self, device: &Device, position_att_vi... method create_pipeline (line 90) | fn create_pipeline( method render (line 144) | pub fn render(&self, rpass: &mut RenderPass, device: &Device, main_bin... method reload_shader (line 155) | fn reload_shader( FILE: src/gpu_obj/post_fxaa.rs type PostFxaa (line 5) | pub struct PostFxaa { method new (line 12) | pub fn new( method update_last_pass_view (line 73) | pub fn update_last_pass_view(&mut self, device: &Device, last_pass_vie... method create_pipeline (line 101) | fn create_pipeline( method render (line 151) | pub fn render(&self, rpass: &mut RenderPass, device: &Device, main_bin... method reload_shader (line 161) | fn reload_shader( FILE: src/gpu_obj/texture_view_bicopy.rs type TextureViewBiCopy (line 5) | pub struct TextureViewBiCopy { method new (line 13) | pub fn new( method update_last_pass_view (line 75) | pub fn update_last_pass_view(&mut self, device: &Device, last_pass_vie... method create_pipeline (line 91) | fn create_pipeline( method render (line 141) | pub fn render(&self, rpass: &mut RenderPass, device: &Device, main_bin... method reload_shader (line 151) | fn reload_shader( FILE: src/gpu_obj/trait_gpu.rs type TraitGpu (line 4) | pub trait TraitGpu { method reload_shader (line 5) | fn reload_shader( FILE: src/gpu_obj/unit_icon.rs type UnitIconGpu (line 6) | pub struct UnitIconGpu { method new (line 13) | pub fn new( method create_pipeline (line 38) | pub fn create_pipeline( method render (line 110) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method update_instance (line 120) | pub fn update_instance(&mut self, instance_attr: &[f32], device: &wgpu... method reload_shader (line 132) | fn reload_shader( FILE: src/gpu_obj/water.rs type WaterGpu (line 6) | pub struct WaterGpu { method new (line 13) | pub fn new( method update_bind_group (line 70) | pub fn update_bind_group( method create_bind_group (line 84) | pub fn create_bind_group( method create_pipeline (line 137) | pub fn create_pipeline( method render (line 199) | pub fn render(&self, rpass: &mut RenderPass, main_bind_group: &BindGro... method reload_shader (line 209) | fn reload_shader( FILE: src/heightmap_phy.rs type Data (line 5) | pub struct Data { type HeightmapPhy (line 9) | pub struct HeightmapPhy { method new (line 33) | pub fn new(width: usize, height: usize) -> Self { method z (line 52) | pub fn z(&self, x: f32, y: f32) -> f32 { method safe_z (line 59) | pub fn safe_z(&self, x: f32, y: f32) -> f32 { method z_linear (line 66) | pub fn z_linear(&self, x: f32, y: f32) -> f32 { method normal (line 89) | pub fn normal(&self, x: f32, y: f32) -> Vector3 { type MetalSpot (line 16) | pub struct MetalSpot { type HeightMapPhyUsize (line 22) | trait HeightMapPhyUsize { method z (line 23) | fn z(&self, x: usize, y: usize) -> f32; method z (line 27) | fn z(&self, x: usize, y: usize) -> f32 { FILE: src/main.rs type ToClient (line 33) | pub enum ToClient { type EventLoopMsg (line 39) | pub enum EventLoopMsg { function main (line 43) | fn main() { function do_the_thing (line 54) | fn do_the_thing() { FILE: src/manager.rs type Manager (line 11) | pub struct Manager {} method new (line 14) | pub fn new( type Net (line 141) | enum Net { type ManagerInfo (line 148) | pub struct ManagerInfo { type GlobalInfo (line 154) | pub struct GlobalInfo { FILE: src/mobile.rs type ExplosionEvent (line 12) | pub struct ExplosionEvent { type Angle (line 19) | pub struct Angle { method from (line 23) | pub fn from(x: f32, y: f32) -> Self { method new (line 30) | pub fn new(rad: f32) -> Self { method clamp_around (line 34) | pub fn clamp_around(self, other: Angle, cone_angle: Angle) -> Self { method modulo (line 42) | pub fn modulo(&self) -> Self { type Output (line 51) | type Output = Angle; method add (line 53) | fn add(self, rhs: Angle) -> Angle { type Output (line 62) | type Output = Angle; method sub (line 64) | fn sub(self, rhs: Angle) -> Angle { type Output (line 73) | type Output = Angle; method neg (line 75) | fn neg(self) -> Angle { method from (line 84) | fn from(dir: Vector2) -> Self { method into (line 90) | fn into(self) -> Vector2 { method from (line 96) | fn from(dir: (f32, f32)) -> Self { method from (line 102) | fn from(rad: f32) -> Self { type Command (line 108) | pub enum Command { type KBot (line 115) | pub struct KBot { method new (line 138) | pub fn new(position: Point3, botdef: &botdef::BotDef, player_id: ... type ClientKbot (line 163) | pub struct ClientKbot { method new (line 178) | pub fn new(position: Point3) -> Self { type KinematicProjectile (line 194) | pub struct KinematicProjectile { method speed_at (line 208) | pub fn speed_at(&mut self, frame_number: i32) -> Vector3 { method position_at (line 224) | pub fn position_at(&mut self, frame_number: i32) -> Point3 { type Arrow (line 243) | pub struct Arrow { method new (line 250) | pub fn new(position: Point3, end: Point3, color: [f32; 4]) -... FILE: src/moddef.rs type ModDef (line 10) | pub struct ModDef { method new (line 16) | pub fn new() -> Self { FILE: src/model.rs type Vertex (line 2) | pub struct Vertex { type TriangleList (line 9) | pub struct TriangleList { function open_obj (line 14) | pub fn open_obj(path: &str) -> Result { FILE: src/net_client.rs type BindState (line 10) | pub enum BindState { type NetClientInfo (line 18) | pub struct NetClientInfo { type ToNetClientInner (line 22) | pub enum ToNetClientInner { type FromNetClientInner (line 26) | pub enum FromNetClientInner { type NetClient (line 30) | pub struct NetClient { method new (line 39) | pub fn new(bind: &str) -> Self { method kill (line 122) | pub fn kill(&mut self) { method collect_data_to_compute_next_frame (line 126) | pub fn collect_data_to_compute_next_frame(&mut self) -> Option NetClientInfo { FILE: src/net_server.rs type BindState (line 9) | pub enum BindState { type NetServerInfo (line 16) | pub struct NetServerInfo { type ToNetServerInner (line 21) | pub enum ToNetServerInner { type FromNetServerInner (line 25) | pub enum FromNetServerInner { type NetServer (line 29) | pub struct NetServer { method new (line 37) | pub fn new(bind: &str) -> Self { method kill (line 125) | pub fn kill(&mut self) {} method collect_remote_players_inputs (line 127) | pub fn collect_remote_players_inputs(&mut self) -> Vec NetServerInfo { type ToNetStream (line 152) | enum ToNetStream { type FromNetStream (line 156) | enum FromNetStream { type NetStream (line 160) | struct NetStream { method new (line 166) | fn new(stream: TcpStream) -> Self { method collect_remote_player_input (line 211) | pub fn collect_remote_player_input(&mut self) -> Vec) { FILE: src/procedural_texels.rs function create_texels (line 1) | pub fn create_texels(size: usize) -> Vec { function checker (line 16) | pub fn checker(size: usize) -> Vec { FILE: src/unit.rs type PlacedMesh (line 12) | pub struct PlacedMesh { type PlacedCollider (line 19) | pub enum PlacedCollider { type Joint (line 24) | pub enum Joint { method next (line 31) | pub fn next(&self) -> Self { method replace_with_next (line 39) | pub fn replace_with_next(&mut self) { type PartTree (line 46) | pub struct PartTree { method iter (line 70) | pub fn iter(&self) -> PartTreeIter { method find_node_mut (line 74) | pub fn find_node_mut(&mut self, id: utils::Id) -> Option<&mu... method find_node (line 87) | pub fn find_node(&self, id: utils::Id) -> Option<&PartTree> { method remove_node (line 102) | pub fn remove_node(&mut self, id: utils::Id) -> Option { type Item (line 59) | type Item = &'a PartTree; method next (line 60) | fn next(&mut self) -> Option<&'a PartTree> { FILE: src/utils.rs function face_towards_dir (line 11) | pub fn face_towards_dir( constant ID_CHARS (line 28) | const ID_CHARS: [char; 62] = [ constant ID_SIZE (line 34) | const ID_SIZE: usize = 5; type IdBase (line 36) | trait IdBase { type Type (line 105) | type Type = T; type IdValue (line 40) | pub type IdValue = u64; type Id (line 43) | pub struct Id { function new (line 49) | pub fn new(value: IdValue) -> Self { function fmt (line 58) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function fmt (line 64) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method clone (line 81) | fn clone(&self) -> Self { method eq (line 88) | fn eq(&self, other: &Self) -> bool { method hash (line 94) | fn hash(&self, state: &mut H) function rand_id (line 108) | pub fn rand_id() -> Id { function rand_id_unsafe (line 112) | pub fn rand_id_unsafe() -> String { function pop_set (line 121) | pub fn pop_set(set: &mut HashSet) ->... function time (line 126) | pub fn time(f: F) -> std::time::Duration type FileTree (line 139) | pub enum FileTree { method new (line 151) | pub fn new(path: PathBuf) -> Self { type ImageRGBA8 (line 169) | pub struct ImageRGBA8 { method open (line 176) | pub fn open(path: &str) -> ImageRGBA8 {