diff --git a/docs/dev/help.html b/docs/dev/help.html index 7a91fe4c..2ab9f78a 100644 --- a/docs/dev/help.html +++ b/docs/dev/help.html @@ -1,2 +1,2 @@ -Help -

Rustdoc help

Back
\ No newline at end of file +Help +

Rustdoc help

Back
\ No newline at end of file diff --git a/docs/dev/search-index.js b/docs/dev/search-index.js index ba5589d2..a2e98750 100644 --- a/docs/dev/search-index.js +++ b/docs/dev/search-index.js @@ -20,7 +20,7 @@ var searchIndex = new Map(JSON.parse('[\ ["wafel_viz_sm64",{"doc":"","t":"GPPPGPPGPPFPPFPPPGPFFPFPPPPGPPFGNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNOOOONNOOONNNNNNNNNNNOOOHOONNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOHOOO","n":["Camera","DataError","Disabled","DisplayList","Element","F3DError","InGame","InGameRenderMode","InvalidF3DPointer","InvalidGfxTree","Line","Line","LookAt","LookAtCamera","MasterListDiscrepancy","None","Normal","ObjectCull","Ortho","OrthoCamera","PerspCameraControl","Physical","Point","Point","Rerender","SM64DataError","ShowAll","SurfaceMode","UnexpectedDisplayListCommand","Visual","VizConfig","VizError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","camera","camera","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","color","color","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","elements","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","focus","forward","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_hash","get_hash","get_hash","hash","hash","hash","highlighted_surfaces","in_game_render_mode","into","into","into","into","into","into","into","into","into","into","into","into","lock_to_in_game_camera","lock_to_mario","move_mouse","new","object_cull","pos","pos","pos","press_mouse_left","release_mouse_left","roll","screen_size","screen_top_left","scroll_wheel","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","show_camera_focus","show_in_game_overlays","size","sm64_render","span_v","surface_mode","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transparent_surfaces","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","update","upward","vertices","viz_render","wall_hitbox_radius","descr","descr"],"q":[[0,"wafel_viz_sm64"],[286,"wafel_viz_sm64::VizError"],[288,"core::result"],[289,"serde::de"],[290,"core::fmt"],[291,"core::fmt"],[292,"wafel_layout::error"],[293,"wafel_sm64::error"],[294,"wafel_data_type::error"],[295,"wafel_data_access::error"],[296,"fast3d::error"],[297,"core::hash"],[298,"core::marker"],[299,"core::hash"],[300,"fast3d::f3d_render_data"],[301,"wafel_data_access::layout"],[302,"wafel_memory::traits"],[303,"alloc::string"],[304,"core::any"],[305,"core::option"],[306,"wafel_viz::scene"]],"d":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,12,4,4,0,12,2,0,12,12,0,9,2,0,12,8,7,0,2,0,0,8,0,9,4,12,7,0,12,8,0,0,3,4,2,5,6,7,8,9,10,11,12,1,3,4,2,5,6,7,8,9,10,11,12,1,1,3,3,4,2,5,6,7,8,9,10,11,12,1,3,4,2,5,6,7,8,9,10,11,12,1,10,11,3,4,2,7,8,1,3,4,2,5,6,7,8,9,10,11,3,4,2,5,6,7,8,9,10,11,12,1,3,3,4,2,5,6,7,8,9,10,11,4,4,4,4,7,7,7,7,8,8,8,8,3,4,2,5,6,7,8,9,10,11,12,12,1,5,6,3,4,2,5,6,7,8,9,10,11,12,12,12,12,12,12,12,12,1,4,7,8,4,7,8,3,3,3,4,2,5,6,7,8,9,10,11,12,1,1,1,1,1,3,5,6,10,1,1,5,3,3,1,3,4,2,5,6,7,8,9,10,11,3,3,10,0,6,3,3,4,2,5,6,7,8,9,10,11,12,1,12,3,3,4,2,5,6,7,8,9,10,11,12,1,3,4,2,5,6,7,8,9,10,11,12,1,3,4,2,5,6,7,8,9,10,11,12,1,3,4,2,5,6,7,8,9,10,11,12,1,1,6,11,0,3,42,43],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],0,[3,3],[4,4],[2,2],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[1,1],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],0,0,[[],3],[[],4],[[],2],[[],7],[[],8],[[],1],[-1,[[14,[3]]],15],[-1,[[14,[4]]],15],[-1,[[14,[2]]],15],[-1,[[14,[5]]],15],[-1,[[14,[6]]],15],[-1,[[14,[7]]],15],[-1,[[14,[8]]],15],[-1,[[14,[9]]],15],[-1,[[14,[10]]],15],[-1,[[14,[11]]],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[3,3],16],[[4,4],16],[[2,2],16],[[5,5],16],[[6,6],16],[[7,7],16],[[8,8],16],[[9,9],16],[[10,10],16],[[11,11],16],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[3,17],18],[[4,17],18],[[2,17],18],[[5,17],18],[[6,17],18],[[7,17],18],[[8,17],18],[[9,17],18],[[10,17],18],[[11,17],18],[[12,17],18],[[12,17],18],[[1,17],18],0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,12],[20,12],[21,12],[22,12],[23,12],[-1,-1,[]],[24,12],[25,12],[-1,-1,[]],[[-1,-2],26,[27,28],29],[[-1,-2],26,[27,28],29],[[-1,-2],26,[27,28],29],[[4,-1],13,30],[[7,-1],13,30],[[8,-1],13,30],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,13],[1,13],[[1,[32,[31]]],13],[[],1],0,0,0,0,[1,13],[1,13],0,0,0,[[1,31],13],[[3,-1],14,33],[[4,-1],14,33],[[2,-1],14,33],[[5,-1],14,33],[[6,-1],14,33],[[7,-1],14,33],[[8,-1],14,33],[[9,-1],14,33],[[10,-1],14,33],[[11,-1],14,33],0,0,0,[[-1,-2,[32,[34]],[32,[34]],16],[[14,[35,12]]],36,37],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,38,[]],0,[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[-1,[[40,[-2]]],[],[]],[[1,-1,-2,[32,[31]]],[[14,[13,12]]],36,37],0,0,[[-1,-2,3,16],[[14,[41,12]]],36,37],0,0,0],"c":[],"p":[[5,"PerspCameraControl",0],[6,"Camera",0],[5,"VizConfig",0],[6,"InGameRenderMode",0],[5,"LookAtCamera",0],[5,"OrthoCamera",0],[6,"ObjectCull",0],[6,"SurfaceMode",0],[6,"Element",0],[5,"Point",0],[5,"Line",0],[6,"VizError",0],[1,"tuple"],[6,"Result",288],[10,"Deserializer",289],[1,"bool"],[5,"Formatter",290],[8,"Result",290],[6,"DataTypeError",291],[6,"LayoutLookupError",292],[6,"SM64DataError",293],[5,"ValueTypeError",291],[6,"MemoryError",294],[6,"DataError",295],[6,"F3DError",296],[1,"u64"],[10,"Hash",297],[10,"Sized",298],[10,"BuildHasher",297],[10,"Hasher",297],[1,"f32"],[1,"array"],[10,"Serializer",299],[1,"i32"],[5,"F3DRenderData",300],[10,"MemoryLayout",301],[10,"MemoryRead",302],[5,"String",303],[5,"TypeId",304],[6,"Option",305],[5,"VizScene",306],[15,"MasterListDiscrepancy",286],[15,"InvalidGfxTree",286]],"b":[[145,"impl-Debug-for-VizError"],[146,"impl-Display-for-VizError"],[160,"impl-From%3CDataTypeError%3E-for-VizError"],[161,"impl-From%3CLayoutLookupError%3E-for-VizError"],[162,"impl-From%3CSM64DataError%3E-for-VizError"],[163,"impl-From%3CValueTypeError%3E-for-VizError"],[164,"impl-From%3CMemoryError%3E-for-VizError"],[166,"impl-From%3CDataError%3E-for-VizError"],[167,"impl-From%3CF3DError%3E-for-VizError"]]}],\ ["wafel_viz_tests",{"doc":"","t":"CHCCCFFNNNNONNNNNNNNNNNNNOONNNONNOONNNNNNNNNNFFNNNNONNNNONONNNNNNNNNNNNNNNOOOOOONNONNNNNNNNONNHFHNNNNONNNNNONONNOOHHNNNNHNN","n":["game_runner","main","renderer","run_tests","viz_tests","Context","GameRunner","borrow","borrow","borrow_mut","borrow_mut","ctx","default","deref","deref","deref_mut","deref_mut","downcast","downcast","drop","drop","fmt","fmt","from","from","game","game_version","get_frame","init","init","inputs","into","into","m64","power_on","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","vzip","vzip","Renderer","SizedRenderer","borrow","borrow","borrow_mut","borrow_mut","depth_texture","deref","deref","deref_mut","deref_mut","device","device_info","device_info","downcast","downcast","drop","drop","fmt","fmt","from","from","init","init","into","into","new","new","new_async","output_buffer","output_format","output_size","output_texture","padded_bytes_per_row","queue","render","render","sized","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","viz_renderer","vzip","vzip","run_tests","TestCase","all","borrow","borrow_mut","clone","clone_into","config","deref","deref_mut","downcast","drop","fmt","frame","from","game_version","init","into","m64","name","reg","res","to_owned","try_from","try_into","type_id","u120","upcast","vzip"],"q":[[0,"wafel_viz_tests"],[5,"wafel_viz_tests::game_runner"],[45,"wafel_viz_tests::renderer"],[94,"wafel_viz_tests::run_tests"],[95,"wafel_viz_tests::viz_tests"],[123,"core::error"],[124,"alloc::boxed"],[125,"core::result"],[126,"core::fmt"],[127,"core::fmt"],[128,"core::any"],[129,"core::option"],[130,"wgpu"],[131,"wafel_viz_sm64::config"],[132,"image::buffer_"],[133,"wgpu"]],"d":["","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,5,9,5,9,5,5,5,9,5,9,5,9,5,9,5,9,5,9,9,9,5,5,9,9,5,9,9,9,5,9,5,9,5,9,5,9,5,9,0,0,15,16,15,16,16,15,16,15,16,15,15,15,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,16,16,16,16,15,15,16,15,15,16,15,16,15,16,15,16,16,15,16,0,0,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,0,22,22,22,22,0,22,22],"f":[0,[[],[[4,[1,[3,[2]]]]]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[],5],[6,-1,[]],[6,-1,[]],[6,-1,[]],[6,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[6,1],[6,1],[[5,7],8],[[9,7],8],[-1,-1,[]],[-1,-1,[]],0,0,[[5,10,10,11],12],[[],6],[[],6],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[6,-1,[]],[6,-1,[]],[6,-1,[]],[6,-1,[]],0,[15,10],0,[-1,-2,[],[]],[-1,-2,[],[]],[6,1],[6,1],[[15,7],8],[[16,7],8],[-1,-1,[]],[-1,-1,[]],[[],6],[[],6],[-1,-2,[],[]],[-1,-2,[],[]],[[],15],[[17,[18,[11]]],16],[[],15],0,0,0,0,0,0,[[15,12,19],20],[[16,17,21,12,19],20],0,[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[[23,[22]]],[[4,[1,[3,[2]]]]]],0,[[],[[23,[22]]]],[-1,-2,[],[]],[-1,-2,[],[]],[22,22],[[-1,-2],1,[],[]],0,[6,-1,[]],[6,-1,[]],[-1,-2,[],[]],[6,1],[[22,7],8],0,[-1,-1,[]],0,[[],6],[-1,-2,[],[]],0,0,[[[23,[22]]],1],[[[23,[22]]],1],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,13,[]],[[[23,[22]]],1],[-1,[[14,[-2]]],[],[]],[-1,-2,[],[]]],"c":[],"p":[[1,"tuple"],[10,"Error",123],[5,"Box",124],[6,"Result",125],[5,"GameRunner",5],[1,"usize"],[5,"Formatter",126],[8,"Result",126],[5,"Context",5],[1,"str"],[1,"u32"],[5,"Game",127],[5,"TypeId",128],[6,"Option",129],[5,"Renderer",45],[5,"SizedRenderer",45],[5,"Device",130],[1,"array"],[5,"VizConfig",131],[8,"RgbImage",132],[5,"Queue",130],[5,"TestCase",95],[5,"Vec",133]],"b":[]}],\ ["wafel_viz_wgpu",{"doc":"Renderer for wafel_viz using wgpu.","t":"FNNNNNNNNNNNNN","n":["VizRenderer","borrow","borrow_mut","downcast","fmt","from","into","new","prepare","render","try_from","try_into","type_id","upcast"],"q":[[0,"wafel_viz_wgpu"],[14,"core::fmt"],[15,"core::fmt"],[16,"wgpu_types"],[17,"wgpu"],[18,"wgpu"],[19,"core::any"],[20,"core::option"]],"d":["A wgpu renderer for VizScene.","","","","","Returns the argument unchanged.","Calls U::from(self).","Constructs a new VizRenderer.","This should be called with a VizScene before Self::render …","Renders a VizScene that was provided to Self::prepare.","","","",""],"i":[0,1,1,1,1,1,1,1,1,1,1,1,1,1],"f":[0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,2],3],[-1,-1,[]],[-1,-2,[],[]],[[4,5,6],1],[[1,4,7,5,[8,[6]],9,10],11],[[1,12],11],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,[[15,[-2]]],[],[]]],"c":[],"p":[[5,"VizRenderer",0],[5,"Formatter",14],[8,"Result",14],[5,"Device",15],[6,"TextureFormat",16],[1,"u32"],[5,"Queue",15],[1,"array"],[1,"f32"],[5,"VizScene",17],[1,"tuple"],[5,"RenderPass",15],[6,"Result",18],[5,"TypeId",19],[6,"Option",20]],"b":[]}],\ -["wafel_window",{"doc":"A crate for creating a window and rendering with wgpu, …","t":"FKPFPFPPGPPNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNMNNNNMNNNNNMNNNNMNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNHMNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["AppConfig","AppEnv","Back","DragState","Forward","Input","Left","Middle","MouseButton","Other","Right","always_on_top","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","compare","config","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","downcast","downcast","downcast","downcast","drag_amount","drag_delta","draw_viz","drop","drop","drop","drop","egui_ctx","eq","eq","equivalent","equivalent","equivalent","first_run","fmt","fmt","fmt","fmt","fps","from","from","from","from","hash","hot_reload_subscriber","icon","init","init","init","init","input","into","into","into","into","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","is_dragging","key_down","key_pressed","key_released","log_file_path","maximized","mouse_down","mouse_pos","mouse_pressed","mouse_pressed_in","mouse_released","mouse_wheel_delta","mouse_wheel_delta_in","mspf","new","new","partial_cmp","relative_log_file_path","root_dir","run","take_recent_panic_details","title","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","update","with_always_on_top","with_hot_reload_observer","with_icon","with_icon_from_ico","with_maximized","with_relative_log_file_path","with_root_dir","with_title"],"q":[[0,"wafel_window"],[148,"core::any"],[149,"core::cmp"],[150,"ultraviolet::vec::vec2"],[151,"wafel_viz::scene"],[152,"egui::context"],[153,"core::fmt"],[154,"core::fmt"],[155,"core::hash"],[156,"core::option"],[157,"winit::icon"],[158,"alloc::boxed"],[159,"alloc::sync"],[160,"alloc::rc"],[161,"winit::keyboard"],[162,"std::path"],[163,"wafel_viz::scene"],[164,"alloc::string"],[165,"core::any"],[166,"core::convert"]],"d":["Configuration for the window and application environment.","Trait defining the interaction between a windowed …","","Helper struct which tracks the state of a mouse drag.","","Access to keyboard state and events.","","","Describes a button of a mouse controller.","","","Returns whether the window should stay on top of other …","","","","","","","","","","","","","","","","","","","","","","","","","The config that was used when running the application.","","","","","","","","","","","","","","","Returns the total amount the mouse has been dragged since …","Returns the amount the mouse has been dragged since the …","Adds a wafel_viz visualization to the window.","","","","","The egui context.","","","","","","True if this is the first time that the app callback has …","","","","","A recent fps measurement.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the hot reload subscriber if set.","Returns the window icon (Windows only).","","","","","The keyboard/mouse input state.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","Returns true if a drag is in progress.","Returns true if the physical key is currently down.","Returns true if the physical key was pressed this frame.","Returns true if the physical key was released this frame.","Returns the absolute log file path.","Returns whether the window should start maximized.","Returns true if the mouse button is currently down.","Returns the current mouse position in logical coordinates, …","Returns true if the mouse button was pressed this frame.","Returns true if the mouse button was pressed this frame in …","Returns true if the mouse button was released this frame.","Returns the mouse wheel delta from this frame, in …","Returns the mouse wheel delta from this frame if the …","A recent mspf measurement.","Returns the default configuration.","Creates a new DragState.","","Gets the log file path relative to the root directory.","Returns the directory that configuration and log files …","Initializes logging, opens a window and runs the …","Return details of the most recent panic caught by the …","Returns the window title.","","","","","","","","","","","","","","","","","","","","Updates the drag state based on the given user input.","Sets whether the window should stay on top of other …","If using hot reloading, this function should be called …","Sets the window icon (Windows only).","Sets the window icon from a .ico file (Windows only).","Sets whether the window should start maximized.","Sets the log file path relative to the root directory.","Sets the directory that configuration and log files should …","Sets the window title."],"i":[0,0,5,0,5,0,5,5,0,5,5,1,1,15,4,5,1,15,4,5,1,15,4,5,1,15,4,5,1,4,5,1,4,5,5,5,8,1,4,1,15,4,5,1,15,4,5,1,15,4,5,4,4,8,1,15,4,5,8,4,5,5,5,5,8,1,15,4,5,8,1,15,4,5,5,1,1,1,15,4,5,8,1,15,4,5,1,15,4,5,1,15,4,5,1,15,4,5,4,15,15,15,1,1,15,15,15,15,15,15,15,8,1,4,5,1,1,0,8,1,1,4,5,1,15,4,5,1,15,4,5,1,15,4,5,1,15,4,5,4,1,1,1,1,1,1,1,1],"f":[0,0,0,0,0,0,0,0,0,0,0,[1,2],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[4,4],[5,5],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[5,5],7],[[-1,-2],7,[],[]],[8,1],[[],1],[[],4],[9,-1,[]],[9,-1,[]],[9,-1,[]],[9,-1,[]],[9,-1,[]],[9,-1,[]],[9,-1,[]],[9,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[4,10],[4,10],[[8,11],6],[9,6],[9,6],[9,6],[9,6],[8,12],[[4,4],2],[[5,5],2],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[8,2],[[1,13],14],[[15,13],14],[[4,13],14],[[5,13],[[17,[6,16]]]],[8,18],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[5,-1],6,19],[1,20],[1,[[20,[21]]]],[[],9],[[],9],[[],9],[[],9],[8,15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[22,[-1]]],[[22,[3]]],[]],[[[22,[-1]]],[[22,[3]]],[]],[[[22,[-1]]],[[22,[3]]],[]],[[[22,[-1]]],[[22,[3]]],[]],[[[23,[-1]]],[[23,[3]]],[]],[[[23,[-1]]],[[23,[3]]],[]],[[[23,[-1]]],[[23,[3]]],[]],[[[23,[-1]]],[[23,[3]]],[]],[[[24,[-1]]],[[24,[3]]],[]],[[[24,[-1]]],[[24,[3]]],[]],[[[24,[-1]]],[[24,[3]]],[]],[[[24,[-1]]],[[24,[3]]],[]],[4,2],[[15,25],2],[[15,25],2],[[15,25],2],[1,26],[1,2],[[15,5],2],[15,[[20,[10]]]],[[15,5],2],[[15,5,27],2],[[15,5],2],[15,10],[[15,27],10],[8,18],[[],1],[[],4],[[5,5],[[20,[7]]]],[1,28],[1,28],[[1,-1],6,[[29,[8]]]],[8,[[20,[30]]]],[1,31],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,[[17,[-2]]],[],[]],[-1,32,[]],[-1,32,[]],[-1,32,[]],[-1,32,[]],[-1,[[20,[-2]]],[],[]],[-1,[[20,[-2]]],[],[]],[-1,[[20,[-2]]],[],[]],[-1,[[20,[-2]]],[],[]],[[4,15,27],6],[[1,2],1],[1,1],[[1,21],1],[[1,[34,[33]]],1],[[1,2],1],[[1,-1],1,[[35,[28]]]],[[1,-1],1,[[35,[28]]]],[[1,-1],1,[[36,[30]]]]],"c":[],"p":[[5,"AppConfig",0],[1,"bool"],[10,"Any",148],[5,"DragState",0],[6,"MouseButton",0],[1,"tuple"],[6,"Ordering",149],[10,"AppEnv",0],[1,"usize"],[5,"Vec2",150],[5,"VizScene",151],[5,"Context",152],[5,"Formatter",153],[8,"Result",153],[5,"Input",0],[5,"Error",153],[6,"Result",154],[1,"f32"],[10,"Hasher",155],[6,"Option",156],[5,"Icon",157],[5,"Box",158],[5,"Arc",159],[5,"Rc",160],[6,"KeyCode",161],[5,"PathBuf",162],[5,"Rect2",151],[5,"Path",162],[10,"FnMut",163],[5,"String",164],[1,"str"],[5,"TypeId",148],[1,"u8"],[1,"slice"],[10,"AsRef",165],[10,"Into",165]],"b":[]}]\ +["wafel_window",{"doc":"A crate for creating a window and rendering with wgpu, …","t":"PPPPFKPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFPPPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNMNNNNNMNNNNNNNNNNMNNNNNMNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNHMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Abort","Again","AltLeft","AltRight","AppConfig","AppEnv","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","AudioVolumeDown","AudioVolumeMute","AudioVolumeUp","Back","Backquote","Backslash","Backspace","BracketLeft","BracketRight","BrowserBack","BrowserFavorites","BrowserForward","BrowserHome","BrowserRefresh","BrowserSearch","BrowserStop","CapsLock","Comma","ContextMenu","ControlLeft","ControlRight","Convert","Copy","Cut","Delete","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","DragState","Eject","End","Enter","Equal","Escape","F1","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F2","F20","F21","F22","F23","F24","F25","F26","F27","F28","F29","F3","F30","F31","F32","F33","F34","F35","F4","F5","F6","F7","F8","F9","Find","Fn","FnLock","Forward","Help","Hiragana","Home","Hyper","Input","Insert","IntlBackslash","IntlRo","IntlYen","KanaMode","Katakana","KeyA","KeyB","KeyC","KeyCode","KeyD","KeyE","KeyF","KeyG","KeyH","KeyI","KeyJ","KeyK","KeyL","KeyM","KeyN","KeyO","KeyP","KeyQ","KeyR","KeyS","KeyT","KeyU","KeyV","KeyW","KeyX","KeyY","KeyZ","Lang1","Lang2","Lang3","Lang4","Lang5","LaunchApp1","LaunchApp2","LaunchMail","Left","MediaPlayPause","MediaSelect","MediaStop","MediaTrackNext","MediaTrackPrevious","Meta","Middle","Minus","MouseButton","NonConvert","NumLock","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadBackspace","NumpadClear","NumpadClearEntry","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEnter","NumpadEqual","NumpadHash","NumpadMemoryAdd","NumpadMemoryClear","NumpadMemoryRecall","NumpadMemoryStore","NumpadMemorySubtract","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubtract","Open","Other","PageDown","PageUp","Paste","Pause","Period","Power","PrintScreen","Props","Quote","Resume","Right","ScrollLock","Select","Semicolon","ShiftLeft","ShiftRight","Slash","Sleep","Space","SuperLeft","SuperRight","Suspend","Tab","Turbo","Undo","WakeUp","always_on_top","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","compare","compare","config","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","downcast","downcast","downcast","downcast","downcast","drag_amount","drag_delta","draw_viz","drop","drop","drop","drop","drop","egui_ctx","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","first_run","fmt","fmt","fmt","fmt","fmt","fps","from","from","from","from","from","from_scancode","hash","hash","hot_reload_subscriber","icon","init","init","init","init","init","input","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","is_dragging","key_down","key_pressed","key_released","log_file_path","maximized","mouse_down","mouse_pos","mouse_pressed","mouse_pressed_in","mouse_released","mouse_wheel_delta","mouse_wheel_delta_in","mspf","new","new","partial_cmp","partial_cmp","relative_log_file_path","root_dir","run","take_recent_panic_details","title","to_owned","to_owned","to_owned","to_owned","to_scancode","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","update","with_always_on_top","with_hot_reload_observer","with_icon","with_icon_from_ico","with_maximized","with_relative_log_file_path","with_root_dir","with_title"],"q":[[0,"wafel_window"],[376,"core::any"],[377,"core::cmp"],[378,"ultraviolet::vec::vec2"],[379,"wafel_viz::scene"],[380,"egui::context"],[381,"winit::keyboard"],[382,"core::fmt"],[383,"core::fmt"],[384,"core::hash"],[385,"core::option"],[386,"winit::icon"],[387,"alloc::boxed"],[388,"alloc::sync"],[389,"alloc::rc"],[390,"std::path"],[391,"wafel_viz::scene"],[392,"alloc::string"],[393,"core::any"],[394,"core::convert"]],"d":["","Found on Sun’s USB keyboard.","Alt, Option, or ⌥.","Alt, Option, or ⌥. This is labeled AltGr on many …","Configuration for the window and application environment.","Trait defining the interaction between a windowed …","↓","←","→","↑","","","","","` on a US keyboard. This is also called a backtick or …","Used for both the US \\\\ (on the 101-key layout) and also …","Backspace or ⌫. Labeled Delete on Apple keyboards.","[ on a US keyboard.","] on a US keyboard.","Some laptops place this key to the left of the ↑ key.","","Some laptops place this key to the right of the ↑ key.","The “home” button on Android.","","","","CapsLock or ⇪",", on a US keyboard.","The application context menu key, which is typically found …","Control or ⌃","Control or ⌃","Japanese: 変 (henkan)","Found on Sun’s USB keyboard.","Found on Sun’s USB keyboard.","⌦. The forward delete key. Note that on Apple keyboards, …","0 on a US keyboard.","1 on a US keyboard.","2 on a US keyboard.","3 on a US keyboard.","4 on a US keyboard.","5 on a US keyboard.","6 on a US keyboard.","7 on a US keyboard.","8 on a US keyboard.","9 on a US keyboard.","Helper struct which tracks the state of a mouse drag.","Eject or ⏏. This key is placed in the function section …","Page Down, End, or ↘","Enter or ↵. Labeled Return on Apple keyboards.","= on a US keyboard.","Esc or ⎋","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key. Usually found at the top of …","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key.","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","General-purpose function key. Usually found at the top of …","Found on Sun’s USB keyboard.","Fn This is typically a hardware key that does not generate …","FLock or FnLock. Function Lock key. Found on the Microsoft …","","Help. Not present on standard PC keyboards.","Use for dedicated ひらがな key found on some Japanese …","Home or ↖","","Access to keyboard state and events.","Insert or Ins. Not present on Apple keyboards.","Located between the left Shift and Z keys. Labeled \\\\ on a …","Located between the / and right Shift keys. Labeled \\\\ (ro) …","Located between the = and Backspace keys. Labeled ¥ (yen) …","Japanese: カタカナ/ひらがな/ローマ字 …","Use for dedicated カタカナ key found on some Japanese …","a on a US keyboard. Labeled q on an AZERTY (e.g., French) …","b on a US keyboard.","c on a US keyboard.","Code representing the location of a physical key","d on a US keyboard.","e on a US keyboard.","f on a US keyboard.","g on a US keyboard.","h on a US keyboard.","i on a US keyboard.","j on a US keyboard.","k on a US keyboard.","l on a US keyboard.","m on a US keyboard.","n on a US keyboard.","o on a US keyboard.","p on a US keyboard.","q on a US keyboard. Labeled a on an AZERTY (e.g., French) …","r on a US keyboard.","s on a US keyboard.","t on a US keyboard.","u on a US keyboard.","v on a US keyboard.","w on a US keyboard. Labeled z on an AZERTY (e.g., French) …","x on a US keyboard.","y on a US keyboard. Labeled z on a QWERTZ (e.g., German) …","z on a US keyboard. Labeled w on an AZERTY (e.g., French) …","Korean: HangulMode 한/영 (han/yeong)","Korean: Hanja 한 (hanja)","Japanese (word-processing keyboard): Katakana","Japanese (word-processing keyboard): Hiragana","Japanese (word-processing keyboard): Zenkaku/Hankaku","Sometimes labelled My Computer on the keyboard","Sometimes labelled Calculator on the keyboard","","","","","","","","","","- on a US keyboard.","Describes a button of a mouse controller.","Japanese: 無変換 (muhenkan)","On the Mac, this is used for the numpad Clear key.","0 Ins on a keyboard. 0 on a phone or remote control","1 End on a keyboard. 1 or 1 QZ on a phone or remote control","2 ↓ on a keyboard. 2 ABC on a phone or remote control","3 PgDn on a keyboard. 3 DEF on a phone or remote control","4 ← on a keyboard. 4 GHI on a phone or remote control","5 on a keyboard. 5 JKL on a phone or remote control","6 → on a keyboard. 6 MNO on a phone or remote control","7 Home on a keyboard. 7 PQRS or 7 PRS on a phone or remote …","8 ↑ on a keyboard. 8 TUV on a phone or remote control","9 PgUp on a keyboard. 9 WXYZ or 9 WXY on a phone or remote …","+","Found on the Microsoft Natural Keyboard.","C or A (All Clear). Also for use with numpads that have a …","C (Clear Entry)",", (thousands separator). For locales where the thousands …",". Del. For locales where the decimal separator is “,” …","/","","=","# on a phone or remote control device. This key is …","M Add current entry to the value stored in memory.","M Clear the value stored in memory.","M Replace the current entry with the value stored in …","M Replace the value stored in memory with the current …","M Subtract current entry from the value stored in memory."," on a keyboard. For use with numpads that provide …","( Found on the Microsoft Natural Keyboard.",") Found on the Microsoft Natural Keyboard.","* on a phone or remote control device.","-","Found on Sun’s USB keyboard.","","Page Down, PgDn, or ⇟","Page Up, PgUp, or ⇞","Found on Sun’s USB keyboard.","Pause Break",". on a US keyboard.","This key is placed in the function section on some Apple …","PrtScr SysRq or Print Screen","Found on Sun’s USB keyboard.","’ on a US keyboard.","","","Scroll Lock","Found on Sun’s USB keyboard.","; on a US keyboard.","Shift or ⇧","Shift or ⇧","/ on a US keyboard.","","  (space)","The Windows, ⌘, Command, or other OS symbol key.","The Windows, ⌘, Command, or other OS symbol key.","","Tab or ⇥","","Found on Sun’s USB keyboard.","","Returns whether the window should stay on top of other …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The config that was used when running the application.","","","","","","","","","","","","","","","","","","Returns the total amount the mouse has been dragged since …","Returns the amount the mouse has been dragged since the …","Adds a wafel_viz visualization to the window.","","","","","","The egui context.","","","","","","","","","","","True if this is the first time that the app callback has …","","","","","","A recent fps measurement.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the hot reload subscriber if set.","Returns the window icon (Windows only).","","","","","","The keyboard/mouse input state.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","Returns true if a drag is in progress.","Returns true if the physical key is currently down.","Returns true if the physical key was pressed this frame.","Returns true if the physical key was released this frame.","Returns the absolute log file path.","Returns whether the window should start maximized.","Returns true if the mouse button is currently down.","Returns the current mouse position in logical coordinates, …","Returns true if the mouse button was pressed this frame.","Returns true if the mouse button was pressed this frame in …","Returns true if the mouse button was released this frame.","Returns the mouse wheel delta from this frame, in …","Returns the mouse wheel delta from this frame if the …","A recent mspf measurement.","Returns the default configuration.","Creates a new DragState.","","","Gets the log file path relative to the root directory.","Returns the directory that configuration and log files …","Initializes logging, opens a window and runs the …","Return details of the most recent panic caught by the …","Returns the window title.","","","","","","","","","","","","","","","","","","","","","","","","","","Updates the drag state based on the given user input.","Sets whether the window should stay on top of other …","If using hot reloading, this function should be called …","Sets the window icon (Windows only).","Sets the window icon from a .ico file (Windows only).","Sets whether the window should start maximized.","Sets the log file path relative to the root directory.","Sets the directory that configuration and log files should …","Sets the window title."],"i":[6,6,6,6,0,0,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,0,6,6,6,6,6,6,6,6,6,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,5,6,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,1,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,1,4,5,6,1,4,5,6,5,6,5,6,9,1,4,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,4,4,9,1,17,4,5,6,9,4,5,6,6,5,5,5,6,6,6,9,1,17,4,5,6,9,1,17,4,5,6,6,5,6,1,1,1,17,4,5,6,9,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,4,17,17,17,1,1,17,17,17,17,17,17,17,9,1,4,5,6,1,1,0,9,1,1,4,5,6,6,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,1,17,4,5,6,4,1,1,1,1,1,1,1,1],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,3,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[4,4],[5,5],[6,6],[[-1,-2],7,[],[]],[[-1,-2],7,[],[]],[[-1,-2],7,[],[]],[[-1,-2],7,[],[]],[[5,5],8],[[6,6],8],[[-1,-2],8,[],[]],[[-1,-2],8,[],[]],[9,1],[[],1],[[],4],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[4,11],[4,11],[[9,12],7],[10,7],[10,7],[10,7],[10,7],[10,7],[9,13],[[4,4],2],[[5,5],2],[[6,14],2],[[6,6],2],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[9,2],[[1,15],16],[[17,15],16],[[4,15],16],[[5,15],[[19,[7,18]]]],[[6,15],[[19,[7,18]]]],[9,20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[21,14],[[5,-1],7,22],[[6,-1],7,22],[1,23],[1,[[23,[24]]]],[[],10],[[],10],[[],10],[[],10],[[],10],[9,17],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[25,[-1]]],[[25,[3]]],[]],[[[25,[-1]]],[[25,[3]]],[]],[[[25,[-1]]],[[25,[3]]],[]],[[[25,[-1]]],[[25,[3]]],[]],[[[25,[-1]]],[[25,[3]]],[]],[[[26,[-1]]],[[26,[3]]],[]],[[[26,[-1]]],[[26,[3]]],[]],[[[26,[-1]]],[[26,[3]]],[]],[[[26,[-1]]],[[26,[3]]],[]],[[[26,[-1]]],[[26,[3]]],[]],[[[27,[-1]]],[[27,[3]]],[]],[[[27,[-1]]],[[27,[3]]],[]],[[[27,[-1]]],[[27,[3]]],[]],[[[27,[-1]]],[[27,[3]]],[]],[[[27,[-1]]],[[27,[3]]],[]],[4,2],[[17,6],2],[[17,6],2],[[17,6],2],[1,28],[1,2],[[17,5],2],[17,[[23,[11]]]],[[17,5],2],[[17,5,29],2],[[17,5],2],[17,11],[[17,29],11],[9,20],[[],1],[[],4],[[5,5],[[23,[8]]]],[[6,6],[[23,[8]]]],[1,30],[1,30],[[1,-1],7,[[31,[9]]]],[9,[[23,[32]]]],[1,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[6,[[23,[21]]]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,[[19,[-2]]],[],[]],[-1,34,[]],[-1,34,[]],[-1,34,[]],[-1,34,[]],[-1,34,[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[[4,17,29],7],[[1,2],1],[1,1],[[1,24],1],[[1,[36,[35]]],1],[[1,2],1],[[1,-1],1,[[37,[30]]]],[[1,-1],1,[[37,[30]]]],[[1,-1],1,[[38,[32]]]]],"c":[],"p":[[5,"AppConfig",0],[1,"bool"],[10,"Any",376],[5,"DragState",0],[6,"MouseButton",0],[6,"KeyCode",0],[1,"tuple"],[6,"Ordering",377],[10,"AppEnv",0],[1,"usize"],[5,"Vec2",378],[5,"VizScene",379],[5,"Context",380],[6,"PhysicalKey",381],[5,"Formatter",382],[8,"Result",382],[5,"Input",0],[5,"Error",382],[6,"Result",383],[1,"f32"],[1,"u32"],[10,"Hasher",384],[6,"Option",385],[5,"Icon",386],[5,"Box",387],[5,"Arc",388],[5,"Rc",389],[5,"PathBuf",390],[5,"Rect2",379],[5,"Path",390],[10,"FnMut",391],[5,"String",392],[1,"str"],[5,"TypeId",376],[1,"u8"],[1,"slice"],[10,"AsRef",393],[10,"Into",393]],"b":[[268,"impl-PartialEq%3CPhysicalKey%3E-for-KeyCode"],[269,"impl-PartialEq-for-KeyCode"]]}]\ ]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); diff --git a/docs/dev/settings.html b/docs/dev/settings.html index 89386549..d78043b8 100644 --- a/docs/dev/settings.html +++ b/docs/dev/settings.html @@ -1,2 +1,2 @@ -Settings -

Rustdoc settings

Back
\ No newline at end of file +Settings +

Rustdoc settings

Back
\ No newline at end of file diff --git a/docs/dev/src/wafel_window/lib.rs.html b/docs/dev/src/wafel_window/lib.rs.html index 8b6f95df..3ab1b3d8 100644 --- a/docs/dev/src/wafel_window/lib.rs.html +++ b/docs/dev/src/wafel_window/lib.rs.html @@ -89,7 +89,7 @@ pub use app_env::*; pub use config::*; pub use input::*; -pub use winit::event::{MouseButton /*VirtualKeyCode*/}; +pub use winit::{event::MouseButton, keyboard::KeyCode}; mod app_env; mod config; diff --git a/docs/dev/trait.impl/core/convert/trait.From.js b/docs/dev/trait.impl/core/convert/trait.From.js index d87b8304..4eec1699 100644 --- a/docs/dev/trait.impl/core/convert/trait.From.js +++ b/docs/dev/trait.impl/core/convert/trait.From.js @@ -1,12 +1,12 @@ (function() {var implementors = { "fast3d":[["impl From<ColorCombineComponent> for ColorCombineMode"],["impl From<u8> for F3DWrapMode"],["impl From<[u8; 4]> for ColorCombineMode"],["impl From<ColorCombineComponent> for u8"],["impl From<F3DWrapMode> for WrapMode"],["impl From<F3DWrapMode> for u8"]], "wafel":[["impl From<&WafelError> for PyErr"],["impl<'a> From<&'a WafelError> for &'a PyAny"],["impl From<&WafelError> for Py<WafelError>"]], -"wafel_api":[["impl From<MemoryError> for Error"],["impl From<SM64DataError> for Error"],["impl From<VizError> for Error"],["impl From<DataPathError> for Error"],["impl From<DataError> for Error"],["impl From<ValueTypeError> for Error"],["impl From<MemoryInitError> for Error"],["impl From<DllLayoutError> for Error"],["impl From<LayoutLookupError> for Error"],["impl From<SM64LayoutError> for Error"]], -"wafel_core":[["impl From<[f32; 3]> for StoredPoint3f"],["impl From<Error> for Error"],["impl From<Error> for ErrorCause"],["impl From<WithContext<ErrorCause>> for PyErr"],["impl From<Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>> for StoredVector3f"],["impl From<ValueTypeError> for ErrorCause"],["impl From<SM64ErrorCause> for ErrorCause"],["impl<E> From<E> for WithContext<E>"],["impl From<OPoint<f32, Const<3>>> for StoredPoint3f"],["impl From<Matrix<f32, Const<4>, Const<4>, ArrayStorage<f32, 4, 4>>> for StoredMatrix4f"],["impl From<ValueTypeError> for Error"],["impl From<Matrix<f32, Const<4>, Const<1>, ArrayStorage<f32, 4, 1>>> for StoredVector4f"],["impl From<SM64ErrorCause> for Error"],["impl From<Error> for SM64ErrorCause"]], -"wafel_data_access":[["impl From<LayoutLookupError> for DataError"],["impl From<DataTypeError> for DataError"],["impl From<MemoryError> for DataError"],["impl From<LayoutLookupError> for DataPathCompileError"],["impl From<DataPathError> for DataError"],["impl From<ValueTypeError> for DataError"]], +"wafel_api":[["impl From<MemoryError> for Error"],["impl From<SM64DataError> for Error"],["impl From<VizError> for Error"],["impl From<DataPathError> for Error"],["impl From<DataError> for Error"],["impl From<ValueTypeError> for Error"],["impl From<MemoryInitError> for Error"],["impl From<DllLayoutError> for Error"],["impl From<LayoutLookupError> for Error"],["impl From<SM64LayoutError> for Error"]], +"wafel_core":[["impl From<[f32; 3]> for StoredPoint3f"],["impl From<Error> for Error"],["impl From<Error> for ErrorCause"],["impl From<WithContext<ErrorCause>> for PyErr"],["impl From<Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>> for StoredVector3f"],["impl From<ValueTypeError> for ErrorCause"],["impl From<SM64ErrorCause> for ErrorCause"],["impl<E> From<E> for WithContext<E>"],["impl From<OPoint<f32, Const<3>>> for StoredPoint3f"],["impl From<Matrix<f32, Const<4>, Const<4>, ArrayStorage<f32, 4, 4>>> for StoredMatrix4f"],["impl From<ValueTypeError> for Error"],["impl From<Matrix<f32, Const<4>, Const<1>, ArrayStorage<f32, 4, 1>>> for StoredVector4f"],["impl From<SM64ErrorCause> for Error"],["impl From<Error> for SM64ErrorCause"]], +"wafel_data_access":[["impl From<LayoutLookupError> for DataError"],["impl From<DataTypeError> for DataError"],["impl From<MemoryError> for DataError"],["impl From<LayoutLookupError> for DataPathCompileError"],["impl From<DataPathError> for DataError"],["impl From<ValueTypeError> for DataError"]], "wafel_data_type":[["impl From<Address> for Value"],["impl From<u32> for Value"],["impl From<isize> for Value"],["impl From<i8> for Value"],["impl From<f64> for Value"],["impl From<String> for Value"],["impl From<i64> for Value"],["impl<T: Into<Value>, const N: usize> From<[(&str, T); N]> for Value"],["impl<T: Into<Value>> From<Vec<(&str, T)>> for Value"],["impl<T: Into<Value> + Clone> From<&[(&str, T)]> for Value"],["impl<T: Into<Value> + Clone> From<&[T]> for Value"],["impl From<u8> for Value"],["impl<T: Into<Value>> From<Vec<(String, T)>> for Value"],["impl<V: Into<Value>> From<HashMap<&str, V>> for Value"],["impl From<u16> for Value"],["impl From<()> for Value"],["impl From<i128> for Value"],["impl<T: Into<Value>, const N: usize> From<[T; N]> for Value"],["impl From<usize> for Value"],["impl From<&str> for Value"],["impl<T: Into<Value>> From<Vec<T>> for Value"],["impl From<i16> for Value"],["impl<T: Into<Value> + Clone> From<&[(String, T)]> for Value"],["impl From<i32> for Value"],["impl From<f32> for Value"],["impl<T: Into<Value>, const N: usize> From<[(String, T); N]> for Value"],["impl<V: Into<Value>> From<HashMap<String, V>> for Value"],["impl From<u64> for Value"]], "wafel_layout":[["impl From<LayoutLookupError> for SM64LayoutError"],["impl From<Error> for DllLayoutError"],["impl From<Error> for DllLayoutError"],["impl From<Error> for DllLayoutErrorKind"],["impl From<Error> for DllLayoutErrorKind"],["impl From<Error> for DllLayoutErrorKind"],["impl From<BuildDataTypesError<String>> for DllLayoutErrorKind"],["impl From<Error> for DllLayoutError"]], -"wafel_memory":[["impl From<ValueTypeError> for MemoryError"],["impl From<Error> for MemoryInitError"],["impl From<DllLayoutError> for MemoryInitError"],["impl From<Error> for MemoryInitError"]], +"wafel_memory":[["impl From<ValueTypeError> for MemoryError"],["impl From<Error> for MemoryInitError"],["impl From<DllLayoutError> for MemoryInitError"],["impl From<Error> for MemoryInitError"]], "wafel_sm64":[["impl From<ValueTypeError> for SM64DataError"],["impl From<DataError> for SM64DataError"],["impl From<LayoutLookupError> for SM64DataError"],["impl From<MemoryError> for SM64DataError"]], "wafel_viz":[["impl From<PointElement> for Element"],["impl From<TriangleElement> for Element"],["impl From<LineElement> for Element"]], "wafel_viz_sm64":[["impl From<ValueTypeError> for VizError"],["impl From<DataTypeError> for VizError"],["impl From<MemoryError> for VizError"],["impl From<LayoutLookupError> for VizError"],["impl From<F3DError> for VizError"],["impl From<DataError> for VizError"],["impl From<SM64DataError> for VizError"]] diff --git a/docs/dev/wafel_api/enum.Camera.html b/docs/dev/wafel_api/enum.Camera.html index 8f155908..526a4c64 100644 --- a/docs/dev/wafel_api/enum.Camera.html +++ b/docs/dev/wafel_api/enum.Camera.html @@ -1,18 +1,18 @@ Camera in wafel_api - Rust -

Enum wafel_api::Camera

pub enum Camera {
+    

Enum wafel_api::Camera

source ·
pub enum Camera {
     InGame,
     LookAt(LookAtCamera),
     Ortho(OrthoCamera),
-}

Variants§

§

InGame

§

LookAt(LookAtCamera)

§

Ortho(OrthoCamera)

Trait Implementations§

§

impl Clone for Camera

§

fn clone(&self) -> Camera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Camera

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Camera

§

fn default() -> Camera

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Camera

§

fn deserialize<__D>( +}

Variants§

§

InGame

§

LookAt(LookAtCamera)

§

Ortho(OrthoCamera)

Trait Implementations§

source§

impl Clone for Camera

source§

fn clone(&self) -> Camera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Camera

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Camera

source§

fn default() -> Camera

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Camera

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Camera, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Camera

§

fn eq(&self, other: &Camera) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Camera

source§

fn eq(&self, other: &Camera) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for Camera

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Camera

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for Camera

§

impl StructuralPartialEq for Camera

Auto Trait Implementations§

§

impl RefUnwindSafe for Camera

§

impl Send for Camera

§

impl Sync for Camera

§

impl Unpin for Camera

§

impl UnwindSafe for Camera

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Camera

source§

impl StructuralPartialEq for Camera

Auto Trait Implementations§

§

impl RefUnwindSafe for Camera

§

impl Send for Camera

§

impl Sync for Camera

§

impl Unpin for Camera

§

impl UnwindSafe for Camera

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/enum.Element.html b/docs/dev/wafel_api/enum.Element.html index 9dac8099..b9e61265 100644 --- a/docs/dev/wafel_api/enum.Element.html +++ b/docs/dev/wafel_api/enum.Element.html @@ -1,17 +1,17 @@ Element in wafel_api - Rust -

Enum wafel_api::Element

pub enum Element {
+    

Enum wafel_api::Element

source ·
pub enum Element {
     Point(Point),
     Line(Line),
-}

Variants§

§

Point(Point)

§

Line(Line)

Trait Implementations§

§

impl Clone for Element

§

fn clone(&self) -> Element

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Element

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Element

§

fn deserialize<__D>( +}

Variants§

§

Point(Point)

§

Line(Line)

Trait Implementations§

source§

impl Clone for Element

source§

fn clone(&self) -> Element

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Element

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Element

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Element, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Element

§

fn eq(&self, other: &Element) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Element

source§

fn eq(&self, other: &Element) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for Element

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Element

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Element

Auto Trait Implementations§

§

impl RefUnwindSafe for Element

§

impl Send for Element

§

impl Sync for Element

§

impl Unpin for Element

§

impl UnwindSafe for Element

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Element

Auto Trait Implementations§

§

impl RefUnwindSafe for Element

§

impl Send for Element

§

impl Sync for Element

§

impl Unpin for Element

§

impl UnwindSafe for Element

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/enum.Error.html b/docs/dev/wafel_api/enum.Error.html index 523bede4..6eeb3727 100644 --- a/docs/dev/wafel_api/enum.Error.html +++ b/docs/dev/wafel_api/enum.Error.html @@ -6,8 +6,8 @@ DataPathError(DataPathError), MemoryError(MemoryError), DataError(DataError), - SM64DataError(SM64DataError), - VizError(VizError), + SM64DataError(SM64DataError), + VizError(VizError), ApplyEditError { path: Arc<GlobalDataPath>, value: Value, @@ -40,7 +40,7 @@ Libsm64EncryptionError, Libsm64DecryptionError, InvalidRom, -
}

Variants§

§

DllLayoutError(DllLayoutError)

§

SM64ExtrasError(SM64LayoutError)

§

MemoryInitError(MemoryInitError)

§

DataPathError(DataPathError)

§

MemoryError(MemoryError)

§

DataError(DataError)

§

SM64DataError(SM64DataError)

§

VizError(VizError)

§

ApplyEditError

Fields

§value: Value
§

LayoutLookupError(LayoutLookupError)

§

SaveStateMismatch

§

ValueTypeError(ValueTypeError)

§

M64ReadError

Fields

§filename: String
§error: Arc<Error>
§

InvalidM64Error

Fields

§filename: String
§

M64WriteError

Fields

§filename: String
§error: Arc<Error>
§

M64AuthorTooLong

§

M64DescriptionTooLong

§

FileReadError

Fields

§filename: String
§error: Arc<Error>
§

FileWriteError

Fields

§filename: String
§error: Arc<Error>
§

Libsm64EncryptionError

§

Libsm64DecryptionError

§

InvalidRom

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<DataError> for Error

source§

fn from(v: DataError) -> Self

Converts to this type from the input type.
source§

impl From<DataPathError> for Error

source§

fn from(v: DataPathError) -> Self

Converts to this type from the input type.
source§

impl From<DllLayoutError> for Error

source§

fn from(v: DllLayoutError) -> Self

Converts to this type from the input type.
source§

impl From<LayoutLookupError> for Error

source§

fn from(v: LayoutLookupError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryError> for Error

source§

fn from(v: MemoryError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryInitError> for Error

source§

fn from(v: MemoryInitError) -> Self

Converts to this type from the input type.
source§

impl From<SM64DataError> for Error

source§

fn from(v: SM64DataError) -> Self

Converts to this type from the input type.
source§

impl From<SM64LayoutError> for Error

source§

fn from(v: SM64LayoutError) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for Error

source§

fn from(v: ValueTypeError) -> Self

Converts to this type from the input type.
source§

impl From<VizError> for Error

source§

fn from(v: VizError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +

}

Variants§

§

DllLayoutError(DllLayoutError)

§

SM64ExtrasError(SM64LayoutError)

§

MemoryInitError(MemoryInitError)

§

DataPathError(DataPathError)

§

MemoryError(MemoryError)

§

DataError(DataError)

§

SM64DataError(SM64DataError)

§

VizError(VizError)

§

ApplyEditError

Fields

§value: Value
§

LayoutLookupError(LayoutLookupError)

§

SaveStateMismatch

§

ValueTypeError(ValueTypeError)

§

M64ReadError

Fields

§filename: String
§error: Arc<Error>
§

InvalidM64Error

Fields

§filename: String
§

M64WriteError

Fields

§filename: String
§error: Arc<Error>
§

M64AuthorTooLong

§

M64DescriptionTooLong

§

FileReadError

Fields

§filename: String
§error: Arc<Error>
§

FileWriteError

Fields

§filename: String
§error: Arc<Error>
§

Libsm64EncryptionError

§

Libsm64DecryptionError

§

InvalidRom

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<DataError> for Error

source§

fn from(v: DataError) -> Self

Converts to this type from the input type.
source§

impl From<DataPathError> for Error

source§

fn from(v: DataPathError) -> Self

Converts to this type from the input type.
source§

impl From<DllLayoutError> for Error

source§

fn from(v: DllLayoutError) -> Self

Converts to this type from the input type.
source§

impl From<LayoutLookupError> for Error

source§

fn from(v: LayoutLookupError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryError> for Error

source§

fn from(v: MemoryError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryInitError> for Error

source§

fn from(v: MemoryInitError) -> Self

Converts to this type from the input type.
source§

impl From<SM64DataError> for Error

source§

fn from(v: SM64DataError) -> Self

Converts to this type from the input type.
source§

impl From<SM64LayoutError> for Error

source§

fn from(v: SM64LayoutError) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for Error

source§

fn from(v: ValueTypeError) -> Self

Converts to this type from the input type.
source§

impl From<VizError> for Error

source§

fn from(v: VizError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/enum.InGameRenderMode.html b/docs/dev/wafel_api/enum.InGameRenderMode.html index aa9911e8..bad04aaa 100644 --- a/docs/dev/wafel_api/enum.InGameRenderMode.html +++ b/docs/dev/wafel_api/enum.InGameRenderMode.html @@ -1,21 +1,21 @@ InGameRenderMode in wafel_api - Rust -
pub enum InGameRenderMode {
+    
pub enum InGameRenderMode {
     Rerender,
     DisplayList,
     Disabled,
-}

Variants§

§

Rerender

§

DisplayList

§

Disabled

Trait Implementations§

§

impl Clone for InGameRenderMode

§

fn clone(&self) -> InGameRenderMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for InGameRenderMode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for InGameRenderMode

§

fn default() -> InGameRenderMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for InGameRenderMode

§

fn deserialize<__D>( +}

Variants§

§

Rerender

§

DisplayList

§

Disabled

Trait Implementations§

source§

impl Clone for InGameRenderMode

source§

fn clone(&self) -> InGameRenderMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InGameRenderMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for InGameRenderMode

source§

fn default() -> InGameRenderMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for InGameRenderMode

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<InGameRenderMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for InGameRenderMode

§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for InGameRenderMode

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for InGameRenderMode

§

fn eq(&self, other: &InGameRenderMode) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for InGameRenderMode

source§

fn eq(&self, other: &InGameRenderMode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for InGameRenderMode

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for InGameRenderMode

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for InGameRenderMode

§

impl Eq for InGameRenderMode

§

impl StructuralEq for InGameRenderMode

§

impl StructuralPartialEq for InGameRenderMode

Auto Trait Implementations§

§

impl RefUnwindSafe for InGameRenderMode

§

impl Send for InGameRenderMode

§

impl Sync for InGameRenderMode

§

impl Unpin for InGameRenderMode

§

impl UnwindSafe for InGameRenderMode

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for InGameRenderMode

source§

impl Eq for InGameRenderMode

source§

impl StructuralEq for InGameRenderMode

source§

impl StructuralPartialEq for InGameRenderMode

Auto Trait Implementations§

§

impl RefUnwindSafe for InGameRenderMode

§

impl Send for InGameRenderMode

§

impl Sync for InGameRenderMode

§

impl Unpin for InGameRenderMode

§

impl UnwindSafe for InGameRenderMode

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where diff --git a/docs/dev/wafel_api/enum.ObjectCull.html b/docs/dev/wafel_api/enum.ObjectCull.html index f48b7d24..226118a3 100644 --- a/docs/dev/wafel_api/enum.ObjectCull.html +++ b/docs/dev/wafel_api/enum.ObjectCull.html @@ -1,20 +1,20 @@ ObjectCull in wafel_api - Rust -
pub enum ObjectCull {
+    
pub enum ObjectCull {
     Normal,
     ShowAll,
-}

Variants§

§

Normal

§

ShowAll

Trait Implementations§

§

impl Clone for ObjectCull

§

fn clone(&self) -> ObjectCull

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ObjectCull

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for ObjectCull

§

fn default() -> ObjectCull

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for ObjectCull

§

fn deserialize<__D>( +}

Variants§

§

Normal

§

ShowAll

Trait Implementations§

source§

impl Clone for ObjectCull

source§

fn clone(&self) -> ObjectCull

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectCull

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for ObjectCull

source§

fn default() -> ObjectCull

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ObjectCull

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<ObjectCull, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for ObjectCull

§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for ObjectCull

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for ObjectCull

§

fn eq(&self, other: &ObjectCull) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ObjectCull

source§

fn eq(&self, other: &ObjectCull) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for ObjectCull

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for ObjectCull

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for ObjectCull

§

impl Eq for ObjectCull

§

impl StructuralEq for ObjectCull

§

impl StructuralPartialEq for ObjectCull

Auto Trait Implementations§

§

impl RefUnwindSafe for ObjectCull

§

impl Send for ObjectCull

§

impl Sync for ObjectCull

§

impl Unpin for ObjectCull

§

impl UnwindSafe for ObjectCull

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ObjectCull

source§

impl Eq for ObjectCull

source§

impl StructuralEq for ObjectCull

source§

impl StructuralPartialEq for ObjectCull

Auto Trait Implementations§

§

impl RefUnwindSafe for ObjectCull

§

impl Send for ObjectCull

§

impl Sync for ObjectCull

§

impl Unpin for ObjectCull

§

impl UnwindSafe for ObjectCull

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where diff --git a/docs/dev/wafel_api/enum.SurfaceMode.html b/docs/dev/wafel_api/enum.SurfaceMode.html index 353ab304..c5a0ab47 100644 --- a/docs/dev/wafel_api/enum.SurfaceMode.html +++ b/docs/dev/wafel_api/enum.SurfaceMode.html @@ -1,21 +1,21 @@ SurfaceMode in wafel_api - Rust -
pub enum SurfaceMode {
+    
pub enum SurfaceMode {
     Visual,
     Physical,
     None,
-}

Variants§

§

Visual

§

Physical

§

None

Trait Implementations§

§

impl Clone for SurfaceMode

§

fn clone(&self) -> SurfaceMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SurfaceMode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for SurfaceMode

§

fn default() -> SurfaceMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for SurfaceMode

§

fn deserialize<__D>( +}

Variants§

§

Visual

§

Physical

§

None

Trait Implementations§

source§

impl Clone for SurfaceMode

source§

fn clone(&self) -> SurfaceMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SurfaceMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SurfaceMode

source§

fn default() -> SurfaceMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SurfaceMode

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<SurfaceMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for SurfaceMode

§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for SurfaceMode

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for SurfaceMode

§

fn eq(&self, other: &SurfaceMode) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for SurfaceMode

source§

fn eq(&self, other: &SurfaceMode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for SurfaceMode

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for SurfaceMode

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for SurfaceMode

§

impl Eq for SurfaceMode

§

impl StructuralEq for SurfaceMode

§

impl StructuralPartialEq for SurfaceMode

Auto Trait Implementations§

§

impl RefUnwindSafe for SurfaceMode

§

impl Send for SurfaceMode

§

impl Sync for SurfaceMode

§

impl Unpin for SurfaceMode

§

impl UnwindSafe for SurfaceMode

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for SurfaceMode

source§

impl Eq for SurfaceMode

source§

impl StructuralEq for SurfaceMode

source§

impl StructuralPartialEq for SurfaceMode

Auto Trait Implementations§

§

impl RefUnwindSafe for SurfaceMode

§

impl Send for SurfaceMode

§

impl Sync for SurfaceMode

§

impl Unpin for SurfaceMode

§

impl UnwindSafe for SurfaceMode

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for T
where diff --git a/docs/dev/wafel_api/struct.Line.html b/docs/dev/wafel_api/struct.Line.html index ebed6357..bdcc4b51 100644 --- a/docs/dev/wafel_api/struct.Line.html +++ b/docs/dev/wafel_api/struct.Line.html @@ -1,17 +1,17 @@ Line in wafel_api - Rust -

Struct wafel_api::Line

pub struct Line {
+    

Struct wafel_api::Line

source ·
pub struct Line {
     pub vertices: [[f32; 3]; 2],
     pub color: [f32; 4],
-}

Fields§

§vertices: [[f32; 3]; 2]§color: [f32; 4]

Trait Implementations§

§

impl Clone for Line

§

fn clone(&self) -> Line

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Line

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Line

§

fn deserialize<__D>( +}

Fields§

§vertices: [[f32; 3]; 2]§color: [f32; 4]

Trait Implementations§

source§

impl Clone for Line

source§

fn clone(&self) -> Line

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Line

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Line

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Line, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Line

§

fn eq(&self, other: &Line) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Line

source§

fn eq(&self, other: &Line) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for Line

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Line

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Line

Auto Trait Implementations§

§

impl RefUnwindSafe for Line

§

impl Send for Line

§

impl Sync for Line

§

impl Unpin for Line

§

impl UnwindSafe for Line

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Line

Auto Trait Implementations§

§

impl RefUnwindSafe for Line

§

impl Send for Line

§

impl Sync for Line

§

impl Unpin for Line

§

impl UnwindSafe for Line

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.LookAtCamera.html b/docs/dev/wafel_api/struct.LookAtCamera.html index d869578c..e7c1eeb7 100644 --- a/docs/dev/wafel_api/struct.LookAtCamera.html +++ b/docs/dev/wafel_api/struct.LookAtCamera.html @@ -1,18 +1,18 @@ LookAtCamera in wafel_api - Rust -

Struct wafel_api::LookAtCamera

pub struct LookAtCamera {
+    

Struct wafel_api::LookAtCamera

source ·
pub struct LookAtCamera {
     pub pos: [f32; 3],
     pub focus: [f32; 3],
     pub roll: Wrapping<i16>,
-}

Fields§

§pos: [f32; 3]§focus: [f32; 3]§roll: Wrapping<i16>

Trait Implementations§

§

impl Clone for LookAtCamera

§

fn clone(&self) -> LookAtCamera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for LookAtCamera

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for LookAtCamera

§

fn deserialize<__D>( +}

Fields§

§pos: [f32; 3]§focus: [f32; 3]§roll: Wrapping<i16>

Trait Implementations§

source§

impl Clone for LookAtCamera

source§

fn clone(&self) -> LookAtCamera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LookAtCamera

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for LookAtCamera

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<LookAtCamera, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for LookAtCamera

§

fn eq(&self, other: &LookAtCamera) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for LookAtCamera

source§

fn eq(&self, other: &LookAtCamera) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for LookAtCamera

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for LookAtCamera

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for LookAtCamera

§

impl StructuralPartialEq for LookAtCamera

Auto Trait Implementations§

§

impl RefUnwindSafe for LookAtCamera

§

impl Send for LookAtCamera

§

impl Sync for LookAtCamera

§

impl Unpin for LookAtCamera

§

impl UnwindSafe for LookAtCamera

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for LookAtCamera

source§

impl StructuralPartialEq for LookAtCamera

Auto Trait Implementations§

§

impl RefUnwindSafe for LookAtCamera

§

impl Send for LookAtCamera

§

impl Sync for LookAtCamera

§

impl Unpin for LookAtCamera

§

impl UnwindSafe for LookAtCamera

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.ObjectHitbox.html b/docs/dev/wafel_api/struct.ObjectHitbox.html index 04cc7ffa..6632ed05 100644 --- a/docs/dev/wafel_api/struct.ObjectHitbox.html +++ b/docs/dev/wafel_api/struct.ObjectHitbox.html @@ -1,5 +1,5 @@ ObjectHitbox in wafel_api - Rust -

Struct wafel_api::ObjectHitbox

pub struct ObjectHitbox {
+    

Struct wafel_api::ObjectHitbox

source ·
pub struct ObjectHitbox {
     pub pos: [f32; 3],
     pub hitbox_height: f32,
     pub hitbox_radius: f32,
@@ -7,7 +7,7 @@
 

Fields§

§pos: [f32; 3]

The object’s position (oPosX, oPosY, oPosZ).

§hitbox_height: f32

The object’s hitbox height (hitboxHeight).

§hitbox_radius: f32

The object’s hitbox radius (hitboxRadius).

-

Trait Implementations§

§

impl Clone for ObjectHitbox

§

fn clone(&self) -> ObjectHitbox

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ObjectHitbox

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for ObjectHitbox

source§

fn clone(&self) -> ObjectHitbox

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectHitbox

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.OrthoCamera.html b/docs/dev/wafel_api/struct.OrthoCamera.html index fe13551a..78efa466 100644 --- a/docs/dev/wafel_api/struct.OrthoCamera.html +++ b/docs/dev/wafel_api/struct.OrthoCamera.html @@ -1,19 +1,19 @@ OrthoCamera in wafel_api - Rust -

Struct wafel_api::OrthoCamera

pub struct OrthoCamera {
+    

Struct wafel_api::OrthoCamera

source ·
pub struct OrthoCamera {
     pub pos: [f32; 3],
     pub forward: [f32; 3],
     pub upward: [f32; 3],
     pub span_v: f32,
-}

Fields§

§pos: [f32; 3]§forward: [f32; 3]§upward: [f32; 3]§span_v: f32

Trait Implementations§

§

impl Clone for OrthoCamera

§

fn clone(&self) -> OrthoCamera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for OrthoCamera

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for OrthoCamera

§

fn deserialize<__D>( +}

Fields§

§pos: [f32; 3]§forward: [f32; 3]§upward: [f32; 3]§span_v: f32

Trait Implementations§

source§

impl Clone for OrthoCamera

source§

fn clone(&self) -> OrthoCamera

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for OrthoCamera

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for OrthoCamera

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<OrthoCamera, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for OrthoCamera

§

fn eq(&self, other: &OrthoCamera) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for OrthoCamera

source§

fn eq(&self, other: &OrthoCamera) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for OrthoCamera

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for OrthoCamera

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for OrthoCamera

§

impl StructuralPartialEq for OrthoCamera

Auto Trait Implementations§

§

impl RefUnwindSafe for OrthoCamera

§

impl Send for OrthoCamera

§

impl Sync for OrthoCamera

§

impl Unpin for OrthoCamera

§

impl UnwindSafe for OrthoCamera

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for OrthoCamera

source§

impl StructuralPartialEq for OrthoCamera

Auto Trait Implementations§

§

impl RefUnwindSafe for OrthoCamera

§

impl Send for OrthoCamera

§

impl Sync for OrthoCamera

§

impl Unpin for OrthoCamera

§

impl UnwindSafe for OrthoCamera

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.Point.html b/docs/dev/wafel_api/struct.Point.html index c4216d68..bea9b6d7 100644 --- a/docs/dev/wafel_api/struct.Point.html +++ b/docs/dev/wafel_api/struct.Point.html @@ -1,18 +1,18 @@ Point in wafel_api - Rust -

Struct wafel_api::Point

pub struct Point {
+    

Struct wafel_api::Point

source ·
pub struct Point {
     pub pos: [f32; 3],
     pub size: f32,
     pub color: [f32; 4],
-}

Fields§

§pos: [f32; 3]§size: f32§color: [f32; 4]

Trait Implementations§

§

impl Clone for Point

§

fn clone(&self) -> Point

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Point

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Point

§

fn deserialize<__D>( +}

Fields§

§pos: [f32; 3]§size: f32§color: [f32; 4]

Trait Implementations§

source§

impl Clone for Point

source§

fn clone(&self) -> Point

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Point

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Point

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Point, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Point

§

fn eq(&self, other: &Point) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Point

source§

fn eq(&self, other: &Point) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for Point

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Point

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Point

Auto Trait Implementations§

§

impl RefUnwindSafe for Point

§

impl Send for Point

§

impl Sync for Point

§

impl Unpin for Point

§

impl UnwindSafe for Point

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Point

Auto Trait Implementations§

§

impl RefUnwindSafe for Point

§

impl Send for Point

§

impl Sync for Point

§

impl Unpin for Point

§

impl UnwindSafe for Point

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.Surface.html b/docs/dev/wafel_api/struct.Surface.html index 26affd8e..a86acb07 100644 --- a/docs/dev/wafel_api/struct.Surface.html +++ b/docs/dev/wafel_api/struct.Surface.html @@ -1,12 +1,12 @@ Surface in wafel_api - Rust -

Struct wafel_api::Surface

pub struct Surface {
+    

Struct wafel_api::Surface

source ·
pub struct Surface {
     pub normal: [f32; 3],
     pub vertices: [[i16; 3]; 3],
 }
Expand description

An SM64 surface (currently missing several fields).

Fields§

§normal: [f32; 3]

The surface’s normal vector.

§vertices: [[i16; 3]; 3]

The surface’s vertex coordinates.

-

Implementations§

§

impl Surface

pub fn ty(&self) -> SurfaceType

Return the type of the surface (floor/wall/ceiling).

-

Trait Implementations§

§

impl Clone for Surface

§

fn clone(&self) -> Surface

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Surface

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Implementations§

source§

impl Surface

source

pub fn ty(&self) -> SurfaceType

Return the type of the surface (floor/wall/ceiling).

+

Trait Implementations§

source§

impl Clone for Surface

source§

fn clone(&self) -> Surface

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Surface

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_api/struct.VizConfig.html b/docs/dev/wafel_api/struct.VizConfig.html index 4086ee4d..eeb59de1 100644 --- a/docs/dev/wafel_api/struct.VizConfig.html +++ b/docs/dev/wafel_api/struct.VizConfig.html @@ -1,5 +1,5 @@ VizConfig in wafel_api - Rust -

Struct wafel_api::VizConfig

pub struct VizConfig {
+    

Struct wafel_api::VizConfig

source ·
pub struct VizConfig {
     pub screen_top_left: [i32; 2],
     pub screen_size: [i32; 2],
     pub in_game_render_mode: InGameRenderMode,
@@ -12,17 +12,17 @@
     pub highlighted_surfaces: HashSet<usize>,
     pub transparent_surfaces: HashSet<usize>,
     pub elements: Vec<Element>,
-}

Fields§

§screen_top_left: [i32; 2]§screen_size: [i32; 2]§in_game_render_mode: InGameRenderMode§show_in_game_overlays: bool§camera: Camera§show_camera_focus: bool§object_cull: ObjectCull§surface_mode: SurfaceMode§wall_hitbox_radius: f32§highlighted_surfaces: HashSet<usize>§transparent_surfaces: HashSet<usize>§elements: Vec<Element>

Trait Implementations§

§

impl Clone for VizConfig

§

fn clone(&self) -> VizConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for VizConfig

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for VizConfig

§

fn default() -> VizConfig

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for VizConfig
where - VizConfig: Default,

§

fn deserialize<__D>( +}

Fields§

§screen_top_left: [i32; 2]§screen_size: [i32; 2]§in_game_render_mode: InGameRenderMode§show_in_game_overlays: bool§camera: Camera§show_camera_focus: bool§object_cull: ObjectCull§surface_mode: SurfaceMode§wall_hitbox_radius: f32§highlighted_surfaces: HashSet<usize>§transparent_surfaces: HashSet<usize>§elements: Vec<Element>

Trait Implementations§

source§

impl Clone for VizConfig

source§

fn clone(&self) -> VizConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VizConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for VizConfig

source§

fn default() -> VizConfig

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for VizConfig
where + VizConfig: Default,

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<VizConfig, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for VizConfig

§

fn eq(&self, other: &VizConfig) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for VizConfig

source§

fn eq(&self, other: &VizConfig) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Serialize for VizConfig

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for VizConfig

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for VizConfig

Auto Trait Implementations§

§

impl RefUnwindSafe for VizConfig

§

impl Send for VizConfig

§

impl Sync for VizConfig

§

impl Unpin for VizConfig

§

impl UnwindSafe for VizConfig

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for VizConfig

Auto Trait Implementations§

§

impl RefUnwindSafe for VizConfig

§

impl Send for VizConfig

§

impl Sync for VizConfig

§

impl Unpin for VizConfig

§

impl UnwindSafe for VizConfig

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_core/error/enum.ErrorCause.html b/docs/dev/wafel_core/error/enum.ErrorCause.html index 9cc94710..99e4421c 100644 --- a/docs/dev/wafel_core/error/enum.ErrorCause.html +++ b/docs/dev/wafel_core/error/enum.ErrorCause.html @@ -1,9 +1,9 @@ ErrorCause in wafel_core::error - Rust
pub enum ErrorCause {
-    ApiError(Error),
+    ApiError(Error),
     ValueTypeError(ValueTypeError),
     SM64Error(SM64ErrorCause),
-}

Variants§

§

ApiError(Error)

§

ValueTypeError(ValueTypeError)

§

SM64Error(SM64ErrorCause)

Trait Implementations§

source§

impl Debug for ErrorCause

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ErrorCause

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ErrorCause

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for ErrorCause

source§

fn from(original: Error) -> ErrorCause

Converts to this type from the input type.
source§

impl From<SM64ErrorCause> for ErrorCause

source§

fn from(original: SM64ErrorCause) -> ErrorCause

Converts to this type from the input type.
source§

impl From<ValueTypeError> for ErrorCause

source§

fn from(original: ValueTypeError) -> ErrorCause

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Variants§

§

ApiError(Error)

§

ValueTypeError(ValueTypeError)

§

SM64Error(SM64ErrorCause)

Trait Implementations§

source§

impl Debug for ErrorCause

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ErrorCause

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ErrorCause

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for ErrorCause

source§

fn from(original: Error) -> ErrorCause

Converts to this type from the input type.
source§

impl From<SM64ErrorCause> for ErrorCause

source§

fn from(original: SM64ErrorCause) -> ErrorCause

Converts to this type from the input type.
source§

impl From<ValueTypeError> for ErrorCause

source§

fn from(original: ValueTypeError) -> ErrorCause

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<T> Downcast for T
where diff --git a/docs/dev/wafel_core/error/type.Error.html b/docs/dev/wafel_core/error/type.Error.html index 07f13fd5..78c4bf4e 100644 --- a/docs/dev/wafel_core/error/type.Error.html +++ b/docs/dev/wafel_core/error/type.Error.html @@ -7,4 +7,4 @@
§context: Vec<String>

The additional context for the error.

The outermost context is at the front of the vector.

§backtrace: Backtrace

The backtrace for the error.

-

Trait Implementations§

source§

impl From<Error> for Error

source§

fn from(value: Error) -> Self

Converts to this type from the input type.
source§

impl From<SM64ErrorCause> for Error

source§

fn from(value: SM64ErrorCause) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for Error

source§

fn from(value: ValueTypeError) -> Self

Converts to this type from the input type.

\ No newline at end of file +

Trait Implementations§

source§

impl From<Error> for Error

source§

fn from(value: Error) -> Self

Converts to this type from the input type.
source§

impl From<SM64ErrorCause> for Error

source§

fn from(value: SM64ErrorCause) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for Error

source§

fn from(value: ValueTypeError) -> Self

Converts to this type from the input type.
\ No newline at end of file diff --git a/docs/dev/wafel_core/python/struct.PyPipeline.html b/docs/dev/wafel_core/python/struct.PyPipeline.html index 4b59fece..842a82e8 100644 --- a/docs/dev/wafel_core/python/struct.PyPipeline.html +++ b/docs/dev/wafel_core/python/struct.PyPipeline.html @@ -108,7 +108,7 @@
Safety
&self, frame: u32, config_json: &str -) -> PyResult<Option<PyVizScene>>

Render the game for wafel_viz using config_json for [VizConfig].

+) -> PyResult<Option<PyVizScene>>

Render the game for wafel_viz using config_json for VizConfig.

Trait Implementations§

source§

impl Debug for PyPipeline

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for PyPipeline

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PyClass for PyPipeline

§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
source§

impl PyClassImpl for PyPipeline

source§

const DOC: &'static str = "An abstraction for reading and writing variables.\n\nNote that writing a value to a variable and then reading the variable does not\nnecessarily result in the original value.\u{0}"

Class doc string
source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
§

type Layout = PyCell<PyPipeline>

Layout
§

type BaseType = PyAny

Base class
§

type ThreadChecker = ThreadCheckerImpl<PyPipeline>

This handles following two situations: Read more
source§

fn for_all_items(visitor: &mut dyn FnMut(&PyClassItems))

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyMethods<PyPipeline> for PyClassImplCollector<PyPipeline>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for PyPipeline

§

type AsRefTarget = PyCell<PyPipeline>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "Pipeline"

Class name.
source§

const MODULE: Option<&'static str> = ::core::option::Option::None

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

PyTypeObject instance for this type.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/dev/wafel_core/sm64/fn.object_behavior.html b/docs/dev/wafel_core/sm64/fn.object_behavior.html index 818d3b16..e9bb2afb 100644 --- a/docs/dev/wafel_core/sm64/fn.object_behavior.html +++ b/docs/dev/wafel_core/sm64/fn.object_behavior.html @@ -1,6 +1,6 @@ object_behavior in wafel_core::sm64 - Rust
pub fn object_behavior(
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32,
     object_path: &str
 ) -> Result<ObjectBehavior, Error>
Expand description

Get the behavior address for an object.

diff --git a/docs/dev/wafel_core/sm64/fn.object_path.html b/docs/dev/wafel_core/sm64/fn.object_path.html index d4dff687..c9bf3518 100644 --- a/docs/dev/wafel_core/sm64/fn.object_path.html +++ b/docs/dev/wafel_core/sm64/fn.object_path.html @@ -1,6 +1,6 @@ object_path in wafel_core::sm64 - Rust

Function wafel_core::sm64::object_path

source ·
pub fn object_path(
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32,
     object: ObjectSlot
 ) -> Result<Option<String>, Error>
Expand description

Get the data path for an object, or None if the object is inactive.

diff --git a/docs/dev/wafel_core/sm64/fn.read_objects_to_scene.html b/docs/dev/wafel_core/sm64/fn.read_objects_to_scene.html index 61b21471..5fe210a6 100644 --- a/docs/dev/wafel_core/sm64/fn.read_objects_to_scene.html +++ b/docs/dev/wafel_core/sm64/fn.read_objects_to_scene.html @@ -1,7 +1,7 @@ read_objects_to_scene in wafel_core::sm64 - Rust
pub fn read_objects_to_scene(
     scene: &mut Scene,
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32
 ) -> Result<(), Error>
Expand description

Load the SM64 objects from the game state and add them to the scene.

\ No newline at end of file diff --git a/docs/dev/wafel_core/sm64/fn.read_surfaces_to_scene.html b/docs/dev/wafel_core/sm64/fn.read_surfaces_to_scene.html index 3545f1b4..c19dbe31 100644 --- a/docs/dev/wafel_core/sm64/fn.read_surfaces_to_scene.html +++ b/docs/dev/wafel_core/sm64/fn.read_surfaces_to_scene.html @@ -1,7 +1,7 @@ read_surfaces_to_scene in wafel_core::sm64 - Rust
pub fn read_surfaces_to_scene(
     scene: &mut Scene,
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32
 ) -> Result<(), Error>
Expand description

Load the SM64 surfaces from the game state and add them to the scene.

\ No newline at end of file diff --git a/docs/dev/wafel_core/sm64/fn.surface_path.html b/docs/dev/wafel_core/sm64/fn.surface_path.html index 7a9f17b4..11a11585 100644 --- a/docs/dev/wafel_core/sm64/fn.surface_path.html +++ b/docs/dev/wafel_core/sm64/fn.surface_path.html @@ -1,6 +1,6 @@ surface_path in wafel_core::sm64 - Rust

Function wafel_core::sm64::surface_path

source ·
pub fn surface_path(
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32,
     surface: SurfaceSlot
 ) -> Result<Option<String>, Error>
Expand description

Get the data path for a surface, or None if the surface is inactive.

diff --git a/docs/dev/wafel_core/sm64/fn.trace_ray_to_surface.html b/docs/dev/wafel_core/sm64/fn.trace_ray_to_surface.html index 27ccb7bc..1ec5c03d 100644 --- a/docs/dev/wafel_core/sm64/fn.trace_ray_to_surface.html +++ b/docs/dev/wafel_core/sm64/fn.trace_ray_to_surface.html @@ -1,6 +1,6 @@ trace_ray_to_surface in wafel_core::sm64 - Rust
pub fn trace_ray_to_surface(
-    timeline: &Timeline,
+    timeline: &Timeline,
     frame: u32,
     ray: (Point3f, Vector3f)
 ) -> Result<Option<(usize, Point3f)>, Error>
Expand description

Trace a ray until it hits a surface, and return the surface’s index in the surface pool.

diff --git a/docs/dev/wafel_core/sm64/struct.Pipeline.html b/docs/dev/wafel_core/sm64/struct.Pipeline.html index e5b1da5e..58c9668d 100644 --- a/docs/dev/wafel_core/sm64/struct.Pipeline.html +++ b/docs/dev/wafel_core/sm64/struct.Pipeline.html @@ -33,8 +33,8 @@
Safety
source

pub fn insert_frame(&mut self, frame: u32) -> Result<(), Error>

Insert a new state at the given frame, shifting edits forward.

source

pub fn delete_frame(&mut self, frame: u32) -> Result<(), Error>

Delete the state at the given frame, shifting edits backward.

source

pub fn data_variables(&self) -> &DataVariables

Get the data variables for this pipeline.

-
source

pub fn timeline(&self) -> &Timeline

Get the timeline for this pipeline.

-
source

pub fn timeline_mut(&mut self) -> &mut Timeline

Get the timeline for this pipeline.

+
source

pub fn timeline(&self) -> &Timeline

Get the timeline for this pipeline.

+
source

pub fn timeline_mut(&mut self) -> &mut Timeline

Get the timeline for this pipeline.

source

pub fn set_hotspot(&mut self, name: &str, frame: u32)

source

pub fn is_int(&self, variable: &Variable) -> bool

Return true if the variable has an integer data type.

source

pub fn is_float(&self, variable: &Variable) -> bool

Return true if the variable has a float data type.

source

pub fn is_bit_flag(&self, variable: &Variable) -> bool

Return true if the variable is a bit flag.

diff --git a/docs/dev/wafel_data_access/enum.DataError.html b/docs/dev/wafel_data_access/enum.DataError.html index 3141f9e6..158d584d 100644 --- a/docs/dev/wafel_data_access/enum.DataError.html +++ b/docs/dev/wafel_data_access/enum.DataError.html @@ -5,7 +5,7 @@ error: Box<DataError>, }, DataPathError(DataPathError), - MemoryError(MemoryError), + MemoryError(MemoryError), LayoutLookupError(LayoutLookupError), DataTypeError(DataTypeError), ValueTypeError(ValueTypeError), @@ -19,7 +19,7 @@ expected: String, value: Value, }, -
}

Variants§

§

Context

Fields

§context: String
§

DataPathError(DataPathError)

§

MemoryError(MemoryError)

§

LayoutLookupError(LayoutLookupError)

§

DataTypeError(DataTypeError)

§

ValueTypeError(ValueTypeError)

§

NoSymbolAtAddress(Address)

§

ReadUnsizedArray

§

ReadUnion

§

WriteExtraField(String)

§

WriteMissingField(String)

§

WriteUnion

§

InvalidValue

Fields

§expected: String
§value: Value

Trait Implementations§

source§

impl Clone for DataError

source§

fn clone(&self) -> DataError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DataError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<DataPathError> for DataError

source§

fn from(v: DataPathError) -> Self

Converts to this type from the input type.
source§

impl From<DataTypeError> for DataError

source§

fn from(v: DataTypeError) -> Self

Converts to this type from the input type.
source§

impl From<LayoutLookupError> for DataError

source§

fn from(v: LayoutLookupError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryError> for DataError

source§

fn from(v: MemoryError) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for DataError

source§

fn from(v: ValueTypeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

}

Variants§

§

Context

Fields

§context: String
§

DataPathError(DataPathError)

§

MemoryError(MemoryError)

§

LayoutLookupError(LayoutLookupError)

§

DataTypeError(DataTypeError)

§

ValueTypeError(ValueTypeError)

§

NoSymbolAtAddress(Address)

§

ReadUnsizedArray

§

ReadUnion

§

WriteExtraField(String)

§

WriteMissingField(String)

§

WriteUnion

§

InvalidValue

Fields

§expected: String
§value: Value

Trait Implementations§

source§

impl Clone for DataError

source§

fn clone(&self) -> DataError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DataError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<DataPathError> for DataError

source§

fn from(v: DataPathError) -> Self

Converts to this type from the input type.
source§

impl From<DataTypeError> for DataError

source§

fn from(v: DataTypeError) -> Self

Converts to this type from the input type.
source§

impl From<LayoutLookupError> for DataError

source§

fn from(v: LayoutLookupError) -> Self

Converts to this type from the input type.
source§

impl From<MemoryError> for DataError

source§

fn from(v: MemoryError) -> Self

Converts to this type from the input type.
source§

impl From<ValueTypeError> for DataError

source§

fn from(v: ValueTypeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/dev/wafel_data_access/readers/struct.AddressReader.html b/docs/dev/wafel_data_access/readers/struct.AddressReader.html index 3fe92c90..496e40c0 100644 --- a/docs/dev/wafel_data_access/readers/struct.AddressReader.html +++ b/docs/dev/wafel_data_access/readers/struct.AddressReader.html @@ -1,11 +1,11 @@ AddressReader in wafel_data_access::readers - Rust
pub struct AddressReader;

Implementations§

source§

impl AddressReader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Address, DataError>

Trait Implementations§

source§

impl Clone for AddressReader

source§

fn clone(&self) -> AddressReader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for AddressReader

§

type Value = Address

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Address, DataError>

Read the value from memory at the given address.
source§

impl Debug for AddressReader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AddressReader

source§

fn default() -> AddressReader

Returns the “default value” for a type. Read more
source§

impl Hash for AddressReader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.ArrayReader.html b/docs/dev/wafel_data_access/readers/struct.ArrayReader.html index 76483da8..a16238f0 100644 --- a/docs/dev/wafel_data_access/readers/struct.ArrayReader.html +++ b/docs/dev/wafel_data_access/readers/struct.ArrayReader.html @@ -3,13 +3,13 @@ R: DataReader, R::Value: Default,

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<[R::Value; N], DataError>

Trait Implementations§

source§

impl<R: Clone, const N: usize> Clone for ArrayReader<R, N>

source§

fn clone(&self) -> ArrayReader<R, N>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<R, const N: usize> DataReader for ArrayReader<R, N>
where R: DataReader, R::Value: Default,

§

type Value = [<R as DataReader>::Value; N]

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<[R::Value; N], DataError>

Read the value from memory at the given address.
source§

impl<R: Debug, const N: usize> Debug for ArrayReader<R, N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R: Copy, const N: usize> Copy for ArrayReader<R, N>

Auto Trait Implementations§

§

impl<R, const N: usize> RefUnwindSafe for ArrayReader<R, N>
where R: RefUnwindSafe,

§

impl<R, const N: usize> Send for ArrayReader<R, N>
where diff --git a/docs/dev/wafel_data_access/readers/struct.DataTypeReader.html b/docs/dev/wafel_data_access/readers/struct.DataTypeReader.html index 82e37325..aa6ab00e 100644 --- a/docs/dev/wafel_data_access/readers/struct.DataTypeReader.html +++ b/docs/dev/wafel_data_access/readers/struct.DataTypeReader.html @@ -1,11 +1,11 @@ DataTypeReader in wafel_data_access::readers - Rust
pub struct DataTypeReader { /* private fields */ }

Implementations§

source§

impl DataTypeReader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Value, DataError>

Trait Implementations§

source§

impl Clone for DataTypeReader

source§

fn clone(&self) -> DataTypeReader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for DataTypeReader

§

type Value = Value

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Value, DataError>

Read the value from memory at the given address.
source§

impl Debug for DataTypeReader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/dev/wafel_data_access/readers/struct.F32Reader.html b/docs/dev/wafel_data_access/readers/struct.F32Reader.html index 5cde915b..ace486aa 100644 --- a/docs/dev/wafel_data_access/readers/struct.F32Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.F32Reader.html @@ -1,11 +1,11 @@ F32Reader in wafel_data_access::readers - Rust
pub struct F32Reader;

Implementations§

source§

impl F32Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<f32, DataError>

Trait Implementations§

source§

impl Clone for F32Reader

source§

fn clone(&self) -> F32Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for F32Reader

§

type Value = f32

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<f32, DataError>

Read the value from memory at the given address.
source§

impl Debug for F32Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for F32Reader

source§

fn default() -> F32Reader

Returns the “default value” for a type. Read more
source§

impl Hash for F32Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.F64Reader.html b/docs/dev/wafel_data_access/readers/struct.F64Reader.html index b852b9eb..cfd70fe1 100644 --- a/docs/dev/wafel_data_access/readers/struct.F64Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.F64Reader.html @@ -1,11 +1,11 @@ F64Reader in wafel_data_access::readers - Rust
pub struct F64Reader;

Implementations§

source§

impl F64Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<f64, DataError>

Trait Implementations§

source§

impl Clone for F64Reader

source§

fn clone(&self) -> F64Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for F64Reader

§

type Value = f64

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<f64, DataError>

Read the value from memory at the given address.
source§

impl Debug for F64Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for F64Reader

source§

fn default() -> F64Reader

Returns the “default value” for a type. Read more
source§

impl Hash for F64Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.I16Reader.html b/docs/dev/wafel_data_access/readers/struct.I16Reader.html index 3c5e0d0e..7ed81b83 100644 --- a/docs/dev/wafel_data_access/readers/struct.I16Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.I16Reader.html @@ -1,11 +1,11 @@ I16Reader in wafel_data_access::readers - Rust
pub struct I16Reader;

Implementations§

source§

impl I16Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i16, DataError>

Trait Implementations§

source§

impl Clone for I16Reader

source§

fn clone(&self) -> I16Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for I16Reader

§

type Value = i16

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i16, DataError>

Read the value from memory at the given address.
source§

impl Debug for I16Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for I16Reader

source§

fn default() -> I16Reader

Returns the “default value” for a type. Read more
source§

impl Hash for I16Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.I32Reader.html b/docs/dev/wafel_data_access/readers/struct.I32Reader.html index a9778e38..040810ea 100644 --- a/docs/dev/wafel_data_access/readers/struct.I32Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.I32Reader.html @@ -1,11 +1,11 @@ I32Reader in wafel_data_access::readers - Rust
pub struct I32Reader;

Implementations§

source§

impl I32Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i32, DataError>

Trait Implementations§

source§

impl Clone for I32Reader

source§

fn clone(&self) -> I32Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for I32Reader

§

type Value = i32

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i32, DataError>

Read the value from memory at the given address.
source§

impl Debug for I32Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for I32Reader

source§

fn default() -> I32Reader

Returns the “default value” for a type. Read more
source§

impl Hash for I32Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.I64Reader.html b/docs/dev/wafel_data_access/readers/struct.I64Reader.html index 4772f11c..662817c1 100644 --- a/docs/dev/wafel_data_access/readers/struct.I64Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.I64Reader.html @@ -1,11 +1,11 @@ I64Reader in wafel_data_access::readers - Rust
pub struct I64Reader;

Implementations§

source§

impl I64Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i64, DataError>

Trait Implementations§

source§

impl Clone for I64Reader

source§

fn clone(&self) -> I64Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for I64Reader

§

type Value = i64

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<i64, DataError>

Read the value from memory at the given address.
source§

impl Debug for I64Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for I64Reader

source§

fn default() -> I64Reader

Returns the “default value” for a type. Read more
source§

impl Hash for I64Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.I8Reader.html b/docs/dev/wafel_data_access/readers/struct.I8Reader.html index 6280cbbd..fa163230 100644 --- a/docs/dev/wafel_data_access/readers/struct.I8Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.I8Reader.html @@ -1,9 +1,9 @@ I8Reader in wafel_data_access::readers - Rust
pub struct I8Reader;

Implementations§

source§

impl I8Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address -) -> Result<i8, DataError>

Trait Implementations§

source§

impl Clone for I8Reader

source§

fn clone(&self) -> I8Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for I8Reader

§

type Value = i8

The type of value that is read from memory.
source§

fn read(&self, memory: &impl MemoryRead, addr: Address) -> Result<i8, DataError>

Read the value from memory at the given address.
source§

impl Debug for I8Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for I8Reader

source§

fn default() -> I8Reader

Returns the “default value” for a type. Read more
source§

impl Hash for I8Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +) -> Result<i8, DataError>

Trait Implementations§

source§

impl Clone for I8Reader

source§

fn clone(&self) -> I8Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for I8Reader

§

type Value = i8

The type of value that is read from memory.
source§

fn read(&self, memory: &impl MemoryRead, addr: Address) -> Result<i8, DataError>

Read the value from memory at the given address.
source§

impl Debug for I8Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for I8Reader

source§

fn default() -> I8Reader

Returns the “default value” for a type. Read more
source§

impl Hash for I8Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for I8Reader

source§

fn eq(&self, other: &I8Reader) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/docs/dev/wafel_data_access/readers/struct.U16Reader.html b/docs/dev/wafel_data_access/readers/struct.U16Reader.html index 5370b4c2..7f3027e5 100644 --- a/docs/dev/wafel_data_access/readers/struct.U16Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.U16Reader.html @@ -1,11 +1,11 @@ U16Reader in wafel_data_access::readers - Rust
pub struct U16Reader;

Implementations§

source§

impl U16Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u16, DataError>

Trait Implementations§

source§

impl Clone for U16Reader

source§

fn clone(&self) -> U16Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for U16Reader

§

type Value = u16

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u16, DataError>

Read the value from memory at the given address.
source§

impl Debug for U16Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for U16Reader

source§

fn default() -> U16Reader

Returns the “default value” for a type. Read more
source§

impl Hash for U16Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.U32Reader.html b/docs/dev/wafel_data_access/readers/struct.U32Reader.html index 649b28a5..81bbf3f0 100644 --- a/docs/dev/wafel_data_access/readers/struct.U32Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.U32Reader.html @@ -1,11 +1,11 @@ U32Reader in wafel_data_access::readers - Rust
pub struct U32Reader;

Implementations§

source§

impl U32Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u32, DataError>

Trait Implementations§

source§

impl Clone for U32Reader

source§

fn clone(&self) -> U32Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for U32Reader

§

type Value = u32

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u32, DataError>

Read the value from memory at the given address.
source§

impl Debug for U32Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for U32Reader

source§

fn default() -> U32Reader

Returns the “default value” for a type. Read more
source§

impl Hash for U32Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.U64Reader.html b/docs/dev/wafel_data_access/readers/struct.U64Reader.html index e9f6cc5c..27fe48c4 100644 --- a/docs/dev/wafel_data_access/readers/struct.U64Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.U64Reader.html @@ -1,11 +1,11 @@ U64Reader in wafel_data_access::readers - Rust
pub struct U64Reader;

Implementations§

source§

impl U64Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u64, DataError>

Trait Implementations§

source§

impl Clone for U64Reader

source§

fn clone(&self) -> U64Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for U64Reader

§

type Value = u64

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<u64, DataError>

Read the value from memory at the given address.
source§

impl Debug for U64Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for U64Reader

source§

fn default() -> U64Reader

Returns the “default value” for a type. Read more
source§

impl Hash for U64Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/readers/struct.U8Reader.html b/docs/dev/wafel_data_access/readers/struct.U8Reader.html index ae6d8ee9..87dfc4e5 100644 --- a/docs/dev/wafel_data_access/readers/struct.U8Reader.html +++ b/docs/dev/wafel_data_access/readers/struct.U8Reader.html @@ -1,9 +1,9 @@ U8Reader in wafel_data_access::readers - Rust
pub struct U8Reader;

Implementations§

source§

impl U8Reader

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address -) -> Result<u8, DataError>

Trait Implementations§

source§

impl Clone for U8Reader

source§

fn clone(&self) -> U8Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for U8Reader

§

type Value = u8

The type of value that is read from memory.
source§

fn read(&self, memory: &impl MemoryRead, addr: Address) -> Result<u8, DataError>

Read the value from memory at the given address.
source§

impl Debug for U8Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for U8Reader

source§

fn default() -> U8Reader

Returns the “default value” for a type. Read more
source§

impl Hash for U8Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +) -> Result<u8, DataError>

Trait Implementations§

source§

impl Clone for U8Reader

source§

fn clone(&self) -> U8Reader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl DataReader for U8Reader

§

type Value = u8

The type of value that is read from memory.
source§

fn read(&self, memory: &impl MemoryRead, addr: Address) -> Result<u8, DataError>

Read the value from memory at the given address.
source§

impl Debug for U8Reader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for U8Reader

source§

fn default() -> U8Reader

Returns the “default value” for a type. Read more
source§

impl Hash for U8Reader

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for U8Reader

source§

fn eq(&self, other: &U8Reader) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/docs/dev/wafel_data_access/readers/struct.WrappingReader.html b/docs/dev/wafel_data_access/readers/struct.WrappingReader.html index 3e5a6534..6ef1339b 100644 --- a/docs/dev/wafel_data_access/readers/struct.WrappingReader.html +++ b/docs/dev/wafel_data_access/readers/struct.WrappingReader.html @@ -2,12 +2,12 @@
pub struct WrappingReader<R>(/* private fields */);

Implementations§

source§

impl<R> WrappingReader<R>
where R: DataReader,

source

pub fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Wrapping<R::Value>, DataError>

Trait Implementations§

source§

impl<R: Clone> Clone for WrappingReader<R>

source§

fn clone(&self) -> WrappingReader<R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<R> DataReader for WrappingReader<R>
where R: DataReader,

§

type Value = Wrapping<<R as DataReader>::Value>

The type of value that is read from memory.
source§

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Wrapping<R::Value>, DataError>

Read the value from memory at the given address.
source§

impl<R: Debug> Debug for WrappingReader<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R: Default> Default for WrappingReader<R>

source§

fn default() -> WrappingReader<R>

Returns the “default value” for a type. Read more
source§

impl<R: Hash> Hash for WrappingReader<R>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, diff --git a/docs/dev/wafel_data_access/struct.GlobalDataPath.html b/docs/dev/wafel_data_access/struct.GlobalDataPath.html index d472f2a1..e072ea0a 100644 --- a/docs/dev/wafel_data_access/struct.GlobalDataPath.html +++ b/docs/dev/wafel_data_access/struct.GlobalDataPath.html @@ -12,12 +12,12 @@ of path.

source

pub fn address( &self, - memory: &impl MemoryRead + memory: &impl MemoryRead ) -> Result<Option<Address>, DataError>

Evaluate the path and return the address of the variable.

Note that this will read from memory if the path passes through a pointer.

None will only be returned if ? is used in the data path.

-
source

pub fn read(&self, memory: &impl MemoryRead) -> Result<Value, DataError>

Evaluate the path and return the value stored in the variable.

-
source

pub fn write<M: MemoryRead + MemoryWrite>( +

source

pub fn read(&self, memory: &impl MemoryRead) -> Result<Value, DataError>

Evaluate the path and return the value stored in the variable.

+
source

pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, value: Value diff --git a/docs/dev/wafel_data_access/struct.MemoryLayoutImpl.html b/docs/dev/wafel_data_access/struct.MemoryLayoutImpl.html index ac44a64a..2a969f97 100644 --- a/docs/dev/wafel_data_access/struct.MemoryLayoutImpl.html +++ b/docs/dev/wafel_data_access/struct.MemoryLayoutImpl.html @@ -1,13 +1,13 @@ MemoryLayoutImpl in wafel_data_access - Rust
pub struct MemoryLayoutImpl<S> { /* private fields */ }
Expand description

Basic implementation of MemoryLayout.

Implementations§

source§

impl<S> MemoryLayoutImpl<S>
where - S: SymbolLookup,

source

pub fn new( + S: SymbolLookup,

source

pub fn new( data_layout: &Arc<DataLayout>, symbol_lookup: &Arc<S>, pointer_size: usize ) -> Self

Construct a new MemoryLayoutImpl.

Trait Implementations§

source§

impl<S: Debug> Debug for MemoryLayoutImpl<S>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<S> MemoryLayout for MemoryLayoutImpl<S>
where - S: SymbolLookup,

source§

fn data_layout(&self) -> &DataLayout

Return the layout of data types and globals.
source§

fn pointer_size(&self) -> usize

Return the size in bytes of a pointer (4 or 8).
source§

fn symbol_address(&self, symbol: &str) -> Result<Address, DataError>

Look up a symbol in memory.
source§

fn address_to_symbol(&self, addr: Address) -> Result<String, DataError>

Return the name of the global variable at the given address. Read more
source§

fn global_path(&self, source: &str) -> Result<Arc<GlobalDataPath>, DataError>

Compile a global data path, cached.
source§

fn local_path(&self, source: &str) -> Result<Arc<LocalDataPath>, DataError>

Compile a local data path, cached.
source§

fn data_type_reader( + S: SymbolLookup,

source§

fn data_layout(&self) -> &DataLayout

Return the layout of data types and globals.
source§

fn pointer_size(&self) -> usize

Return the size in bytes of a pointer (4 or 8).
source§

fn symbol_address(&self, symbol: &str) -> Result<Address, DataError>

Look up a symbol in memory.
source§

fn address_to_symbol(&self, addr: Address) -> Result<String, DataError>

Return the name of the global variable at the given address. Read more
source§

fn global_path(&self, source: &str) -> Result<Arc<GlobalDataPath>, DataError>

Compile a global data path, cached.
source§

fn local_path(&self, source: &str) -> Result<Arc<LocalDataPath>, DataError>

Compile a local data path, cached.
source§

fn data_type_reader( &self, data_type: &DataTypeRef ) -> Result<DataTypeReader, DataError>

Returns a DataReader for reading a Value of diff --git a/docs/dev/wafel_data_access/trait.DataReader.html b/docs/dev/wafel_data_access/trait.DataReader.html index 006f8453..e68ce6c3 100644 --- a/docs/dev/wafel_data_access/trait.DataReader.html +++ b/docs/dev/wafel_data_access/trait.DataReader.html @@ -5,7 +5,7 @@ // Required method fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Self::Value, DataError>; }
Expand description

A type that knows how to read a structured value from memory.

@@ -13,7 +13,7 @@

Required Associated Types§

source

type Value

The type of value that is read from memory.

Required Methods§

source

fn read( &self, - memory: &impl MemoryRead, + memory: &impl MemoryRead, addr: Address ) -> Result<Self::Value, DataError>

Read the value from memory at the given address.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl DataReader for AddressReader

source§

impl DataReader for DataTypeReader

§

type Value = Value

source§

impl DataReader for F32Reader

§

type Value = f32

source§

impl DataReader for F64Reader

§

type Value = f64

source§

impl DataReader for I8Reader

§

type Value = i8

source§

impl DataReader for I16Reader

§

type Value = i16

source§

impl DataReader for I32Reader

§

type Value = i32

source§

impl DataReader for I64Reader

§

type Value = i64

source§

impl DataReader for U8Reader

§

type Value = u8

source§

impl DataReader for U16Reader

§

type Value = u16

source§

impl DataReader for U32Reader

§

type Value = u32

source§

impl DataReader for U64Reader

§

type Value = u64

source§

impl<R> DataReader for WrappingReader<R>
where diff --git a/docs/dev/wafel_data_access/trait.DataWriter.html b/docs/dev/wafel_data_access/trait.DataWriter.html index bb137078..5dd9d6be 100644 --- a/docs/dev/wafel_data_access/trait.DataWriter.html +++ b/docs/dev/wafel_data_access/trait.DataWriter.html @@ -3,7 +3,7 @@ type Value; // Required method - fn write<M: MemoryRead + MemoryWrite>( + fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, @@ -12,7 +12,7 @@ }
Expand description

A type that knows how to write a structured value to memory.

See DataWritable.

Required Associated Types§

source

type Value

The type of value that is written to memory.

-

Required Methods§

source

fn write<M: MemoryRead + MemoryWrite>( +

Required Methods§

source

fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/trait.MemoryLayout.html b/docs/dev/wafel_data_access/trait.MemoryLayout.html index da8c45ea..21e412e2 100644 --- a/docs/dev/wafel_data_access/trait.MemoryLayout.html +++ b/docs/dev/wafel_data_access/trait.MemoryLayout.html @@ -35,4 +35,4 @@
  • Unions
  • Implementors§

    source§

    impl<S> MemoryLayout for MemoryLayoutImpl<S>
    where - S: SymbolLookup,

    \ No newline at end of file + S: SymbolLookup,

    \ No newline at end of file diff --git a/docs/dev/wafel_data_access/writers/struct.AddressWriter.html b/docs/dev/wafel_data_access/writers/struct.AddressWriter.html index ea01c9a1..e68d533c 100644 --- a/docs/dev/wafel_data_access/writers/struct.AddressWriter.html +++ b/docs/dev/wafel_data_access/writers/struct.AddressWriter.html @@ -1,10 +1,10 @@ AddressWriter in wafel_data_access::writers - Rust -
    pub struct AddressWriter;

    Implementations§

    source§

    impl AddressWriter

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct AddressWriter;

    Implementations§

    source§

    impl AddressWriter

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: Address -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for AddressWriter

    source§

    fn clone(&self) -> AddressWriter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for AddressWriter

    §

    type Value = Address

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for AddressWriter

    source§

    fn clone(&self) -> AddressWriter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for AddressWriter

    §

    type Value = Address

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.ArrayWriter.html b/docs/dev/wafel_data_access/writers/struct.ArrayWriter.html index 84c3a2f6..ffa6e97a 100644 --- a/docs/dev/wafel_data_access/writers/struct.ArrayWriter.html +++ b/docs/dev/wafel_data_access/writers/struct.ArrayWriter.html @@ -1,12 +1,12 @@ ArrayWriter in wafel_data_access::writers - Rust
    pub struct ArrayWriter<W, const N: usize> { /* private fields */ }

    Implementations§

    source§

    impl<W, const N: usize> ArrayWriter<W, N>
    where - W: DataWriter,

    source

    pub fn write<M: MemoryRead + MemoryWrite>( + W: DataWriter,

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &[W::Value; N] ) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl<W: Clone, const N: usize> Clone for ArrayWriter<W, N>

    source§

    fn clone(&self) -> ArrayWriter<W, N>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<W, const N: usize> DataWriter for ArrayWriter<W, N>
    where - W: DataWriter,

    §

    type Value = [<W as DataWriter>::Value; N]

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( + W: DataWriter,

    §

    type Value = [<W as DataWriter>::Value; N]

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.DataTypeWriter.html b/docs/dev/wafel_data_access/writers/struct.DataTypeWriter.html index aa00773e..ad49a9c8 100644 --- a/docs/dev/wafel_data_access/writers/struct.DataTypeWriter.html +++ b/docs/dev/wafel_data_access/writers/struct.DataTypeWriter.html @@ -1,10 +1,10 @@ DataTypeWriter in wafel_data_access::writers - Rust -
    pub struct DataTypeWriter { /* private fields */ }

    Implementations§

    source§

    impl DataTypeWriter

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct DataTypeWriter { /* private fields */ }

    Implementations§

    source§

    impl DataTypeWriter

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &Value -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for DataTypeWriter

    source§

    fn clone(&self) -> DataTypeWriter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for DataTypeWriter

    §

    type Value = Value

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for DataTypeWriter

    source§

    fn clone(&self) -> DataTypeWriter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for DataTypeWriter

    §

    type Value = Value

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.F32Writer.html b/docs/dev/wafel_data_access/writers/struct.F32Writer.html index 5afbff57..33b68a54 100644 --- a/docs/dev/wafel_data_access/writers/struct.F32Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.F32Writer.html @@ -1,10 +1,10 @@ F32Writer in wafel_data_access::writers - Rust -
    pub struct F32Writer;

    Implementations§

    source§

    impl F32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct F32Writer;

    Implementations§

    source§

    impl F32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &f32 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for F32Writer

    source§

    fn clone(&self) -> F32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for F32Writer

    §

    type Value = f32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for F32Writer

    source§

    fn clone(&self) -> F32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for F32Writer

    §

    type Value = f32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.F64Writer.html b/docs/dev/wafel_data_access/writers/struct.F64Writer.html index 168eb390..876271c4 100644 --- a/docs/dev/wafel_data_access/writers/struct.F64Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.F64Writer.html @@ -1,10 +1,10 @@ F64Writer in wafel_data_access::writers - Rust -
    pub struct F64Writer;

    Implementations§

    source§

    impl F64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct F64Writer;

    Implementations§

    source§

    impl F64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &f64 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for F64Writer

    source§

    fn clone(&self) -> F64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for F64Writer

    §

    type Value = f64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for F64Writer

    source§

    fn clone(&self) -> F64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for F64Writer

    §

    type Value = f64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.I16Writer.html b/docs/dev/wafel_data_access/writers/struct.I16Writer.html index 64656d6e..144bf5e1 100644 --- a/docs/dev/wafel_data_access/writers/struct.I16Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.I16Writer.html @@ -1,10 +1,10 @@ I16Writer in wafel_data_access::writers - Rust -
    pub struct I16Writer;

    Implementations§

    source§

    impl I16Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct I16Writer;

    Implementations§

    source§

    impl I16Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &i16 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I16Writer

    source§

    fn clone(&self) -> I16Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I16Writer

    §

    type Value = i16

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I16Writer

    source§

    fn clone(&self) -> I16Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I16Writer

    §

    type Value = i16

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.I32Writer.html b/docs/dev/wafel_data_access/writers/struct.I32Writer.html index ddca30fa..28c5e324 100644 --- a/docs/dev/wafel_data_access/writers/struct.I32Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.I32Writer.html @@ -1,10 +1,10 @@ I32Writer in wafel_data_access::writers - Rust -
    pub struct I32Writer;

    Implementations§

    source§

    impl I32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct I32Writer;

    Implementations§

    source§

    impl I32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &i32 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I32Writer

    source§

    fn clone(&self) -> I32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I32Writer

    §

    type Value = i32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I32Writer

    source§

    fn clone(&self) -> I32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I32Writer

    §

    type Value = i32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.I64Writer.html b/docs/dev/wafel_data_access/writers/struct.I64Writer.html index b09ce2c5..c8081c59 100644 --- a/docs/dev/wafel_data_access/writers/struct.I64Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.I64Writer.html @@ -1,10 +1,10 @@ I64Writer in wafel_data_access::writers - Rust -
    pub struct I64Writer;

    Implementations§

    source§

    impl I64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct I64Writer;

    Implementations§

    source§

    impl I64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &i64 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I64Writer

    source§

    fn clone(&self) -> I64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I64Writer

    §

    type Value = i64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I64Writer

    source§

    fn clone(&self) -> I64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I64Writer

    §

    type Value = i64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.I8Writer.html b/docs/dev/wafel_data_access/writers/struct.I8Writer.html index df4e7f7b..e15f5518 100644 --- a/docs/dev/wafel_data_access/writers/struct.I8Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.I8Writer.html @@ -1,10 +1,10 @@ I8Writer in wafel_data_access::writers - Rust -
    pub struct I8Writer;

    Implementations§

    source§

    impl I8Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct I8Writer;

    Implementations§

    source§

    impl I8Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &i8 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I8Writer

    source§

    fn clone(&self) -> I8Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I8Writer

    §

    type Value = i8

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for I8Writer

    source§

    fn clone(&self) -> I8Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for I8Writer

    §

    type Value = i8

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.U16Writer.html b/docs/dev/wafel_data_access/writers/struct.U16Writer.html index dfc41e1a..27dc4b73 100644 --- a/docs/dev/wafel_data_access/writers/struct.U16Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.U16Writer.html @@ -1,10 +1,10 @@ U16Writer in wafel_data_access::writers - Rust -
    pub struct U16Writer;

    Implementations§

    source§

    impl U16Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct U16Writer;

    Implementations§

    source§

    impl U16Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &u16 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U16Writer

    source§

    fn clone(&self) -> U16Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U16Writer

    §

    type Value = u16

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U16Writer

    source§

    fn clone(&self) -> U16Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U16Writer

    §

    type Value = u16

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.U32Writer.html b/docs/dev/wafel_data_access/writers/struct.U32Writer.html index 117de622..e2a12fd4 100644 --- a/docs/dev/wafel_data_access/writers/struct.U32Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.U32Writer.html @@ -1,10 +1,10 @@ U32Writer in wafel_data_access::writers - Rust -
    pub struct U32Writer;

    Implementations§

    source§

    impl U32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct U32Writer;

    Implementations§

    source§

    impl U32Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &u32 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U32Writer

    source§

    fn clone(&self) -> U32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U32Writer

    §

    type Value = u32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U32Writer

    source§

    fn clone(&self) -> U32Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U32Writer

    §

    type Value = u32

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.U64Writer.html b/docs/dev/wafel_data_access/writers/struct.U64Writer.html index 8871a29b..f0035cee 100644 --- a/docs/dev/wafel_data_access/writers/struct.U64Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.U64Writer.html @@ -1,10 +1,10 @@ U64Writer in wafel_data_access::writers - Rust -
    pub struct U64Writer;

    Implementations§

    source§

    impl U64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct U64Writer;

    Implementations§

    source§

    impl U64Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &u64 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U64Writer

    source§

    fn clone(&self) -> U64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U64Writer

    §

    type Value = u64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U64Writer

    source§

    fn clone(&self) -> U64Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U64Writer

    §

    type Value = u64

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.U8Writer.html b/docs/dev/wafel_data_access/writers/struct.U8Writer.html index dc402671..9e47aed6 100644 --- a/docs/dev/wafel_data_access/writers/struct.U8Writer.html +++ b/docs/dev/wafel_data_access/writers/struct.U8Writer.html @@ -1,10 +1,10 @@ U8Writer in wafel_data_access::writers - Rust -
    pub struct U8Writer;

    Implementations§

    source§

    impl U8Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( +
    pub struct U8Writer;

    Implementations§

    source§

    impl U8Writer

    source

    pub fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, value: &u8 -) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U8Writer

    source§

    fn clone(&self) -> U8Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U8Writer

    §

    type Value = u8

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( +) -> Result<(), DataError>

    Trait Implementations§

    source§

    impl Clone for U8Writer

    source§

    fn clone(&self) -> U8Writer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl DataWriter for U8Writer

    §

    type Value = u8

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_data_access/writers/struct.WrappingWriter.html b/docs/dev/wafel_data_access/writers/struct.WrappingWriter.html index f1060f2f..0856bafd 100644 --- a/docs/dev/wafel_data_access/writers/struct.WrappingWriter.html +++ b/docs/dev/wafel_data_access/writers/struct.WrappingWriter.html @@ -1,6 +1,6 @@ WrappingWriter in wafel_data_access::writers - Rust
    pub struct WrappingWriter<W>(/* private fields */);

    Trait Implementations§

    source§

    impl<W: Clone> Clone for WrappingWriter<W>

    source§

    fn clone(&self) -> WrappingWriter<W>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<W> DataWriter for WrappingWriter<W>
    where - W: DataWriter,

    §

    type Value = Wrapping<<W as DataWriter>::Value>

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( + W: DataWriter,

    §

    type Value = Wrapping<<W as DataWriter>::Value>

    The type of value that is written to memory.
    source§

    fn write<M: MemoryRead + MemoryWrite>( &self, memory: &mut M, addr: Address, diff --git a/docs/dev/wafel_memory/enum.MemoryInitError.html b/docs/dev/wafel_memory/enum.MemoryInitError.html index 3695480d..cabcd78c 100644 --- a/docs/dev/wafel_memory/enum.MemoryInitError.html +++ b/docs/dev/wafel_memory/enum.MemoryInitError.html @@ -2,10 +2,10 @@
    pub enum MemoryInitError {
         DlOpenError(Arc<Error>),
         IoError(Arc<Error>),
    -    DllLayoutError(DllLayoutError),
    +    DllLayoutError(DllLayoutError),
         UndefinedSymbol(String),
         ProcessAttachError(Arc<Error>),
    -}

    Variants§

    §

    DlOpenError(Arc<Error>)

    §

    IoError(Arc<Error>)

    §

    DllLayoutError(DllLayoutError)

    §

    UndefinedSymbol(String)

    §

    ProcessAttachError(Arc<Error>)

    Trait Implementations§

    source§

    impl Clone for MemoryInitError

    source§

    fn clone(&self) -> MemoryInitError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MemoryInitError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MemoryInitError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MemoryInitError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DllLayoutError> for MemoryInitError

    source§

    fn from(v: DllLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for MemoryInitError

    source§

    fn from(v: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for MemoryInitError

    source§

    fn from(v: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    DlOpenError(Arc<Error>)

    §

    IoError(Arc<Error>)

    §

    DllLayoutError(DllLayoutError)

    §

    UndefinedSymbol(String)

    §

    ProcessAttachError(Arc<Error>)

    Trait Implementations§

    source§

    impl Clone for MemoryInitError

    source§

    fn clone(&self) -> MemoryInitError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MemoryInitError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MemoryInitError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MemoryInitError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DllLayoutError> for MemoryInitError

    source§

    fn from(v: DllLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for MemoryInitError

    source§

    fn from(v: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for MemoryInitError

    source§

    fn from(v: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/dev/wafel_viz_tests/game_runner/struct.Context.html b/docs/dev/wafel_viz_tests/game_runner/struct.Context.html index 2e72f3bf..eee457b8 100644 --- a/docs/dev/wafel_viz_tests/game_runner/struct.Context.html +++ b/docs/dev/wafel_viz_tests/game_runner/struct.Context.html @@ -2,10 +2,10 @@
    struct Context {
         game_version: &'static str,
         m64: &'static str,
    -    game: Game,
    -    power_on: SaveState,
    -    inputs: Vec<Input>,
    -}

    Fields§

    §game_version: &'static str§m64: &'static str§game: Game§power_on: SaveState§inputs: Vec<Input>

    Trait Implementations§

    source§

    impl Debug for Context

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + game: Game, + power_on: SaveState, + inputs: Vec<Input>, +}

    Fields§

    §game_version: &'static str§m64: &'static str§game: Game§power_on: SaveState§inputs: Vec<Input>

    Trait Implementations§

    source§

    impl Debug for Context

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/dev/wafel_viz_tests/game_runner/struct.GameRunner.html b/docs/dev/wafel_viz_tests/game_runner/struct.GameRunner.html index 837a1dea..e2ca1282 100644 --- a/docs/dev/wafel_viz_tests/game_runner/struct.GameRunner.html +++ b/docs/dev/wafel_viz_tests/game_runner/struct.GameRunner.html @@ -6,7 +6,7 @@ game_version: &'static str, m64: &'static str, frame: u32 -) -> &Game

    Trait Implementations§

    source§

    impl Debug for GameRunner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for GameRunner

    source§

    fn default() -> GameRunner

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> &Game

    Trait Implementations§

    source§

    impl Debug for GameRunner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for GameRunner

    source§

    fn default() -> GameRunner

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/dev/wafel_viz_tests/renderer/struct.Renderer.html b/docs/dev/wafel_viz_tests/renderer/struct.Renderer.html index 9c513c1e..84b388a5 100644 --- a/docs/dev/wafel_viz_tests/renderer/struct.Renderer.html +++ b/docs/dev/wafel_viz_tests/renderer/struct.Renderer.html @@ -4,7 +4,7 @@ device: Device, queue: Queue, sized: Option<SizedRenderer>, -}

    Fields§

    §device_info: String§device: Device§queue: Queue§sized: Option<SizedRenderer>

    Implementations§

    source§

    impl Renderer

    source

    pub fn new() -> Self

    source

    pub fn device_info(&self) -> &str

    source

    async fn new_async() -> Self

    source

    pub fn render(&mut self, game: &Game, config: &VizConfig) -> RgbImage

    Trait Implementations§

    source§

    impl Debug for Renderer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Fields§

    §device_info: String§device: Device§queue: Queue§sized: Option<SizedRenderer>

    Implementations§

    source§

    impl Renderer

    source

    pub fn new() -> Self

    source

    pub fn device_info(&self) -> &str

    source

    async fn new_async() -> Self

    source

    pub fn render(&mut self, game: &Game, config: &VizConfig) -> RgbImage

    Trait Implementations§

    source§

    impl Debug for Renderer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/dev/wafel_viz_tests/renderer/struct.SizedRenderer.html b/docs/dev/wafel_viz_tests/renderer/struct.SizedRenderer.html index 5663218c..93f024fa 100644 --- a/docs/dev/wafel_viz_tests/renderer/struct.SizedRenderer.html +++ b/docs/dev/wafel_viz_tests/renderer/struct.SizedRenderer.html @@ -11,7 +11,7 @@ &mut self, device: &Device, queue: &Queue, - game: &Game, + game: &Game, config: &VizConfig ) -> RgbImage

    Trait Implementations§

    source§

    impl Debug for SizedRenderer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where diff --git a/docs/dev/wafel_viz_wgpu/index.html b/docs/dev/wafel_viz_wgpu/index.html index 2d68d8de..bf8cdf15 100644 --- a/docs/dev/wafel_viz_wgpu/index.html +++ b/docs/dev/wafel_viz_wgpu/index.html @@ -1,5 +1,5 @@ wafel_viz_wgpu - Rust -

    Crate wafel_viz_wgpu

    source ·
    Expand description

    Renderer for wafel_viz using wgpu.

    +

    Crate wafel_viz_wgpu

    source ·
    Expand description

    Renderer for [wafel_viz] using wgpu.

    This can be used directly or automatically via wafel_window.

    -

    Structs

    \ No newline at end of file +

    Structs

    \ No newline at end of file diff --git a/docs/dev/wafel_viz_wgpu/struct.VizRenderer.html b/docs/dev/wafel_viz_wgpu/struct.VizRenderer.html index 70d9fc11..0c190153 100644 --- a/docs/dev/wafel_viz_wgpu/struct.VizRenderer.html +++ b/docs/dev/wafel_viz_wgpu/struct.VizRenderer.html @@ -1,5 +1,5 @@ VizRenderer in wafel_viz_wgpu - Rust -
    pub struct VizRenderer { /* private fields */ }
    Expand description

    A wgpu renderer for VizScene.

    +
    pub struct VizRenderer { /* private fields */ }
    Expand description

    A wgpu renderer for [VizScene].

    Implementations§

    source§

    impl VizRenderer

    source

    pub fn new( device: &Device, output_format: TextureFormat, @@ -12,9 +12,9 @@ output_format: TextureFormat, output_size_physical: [u32; 2], scale_factor: f32, - scene: &VizScene -)

    This should be called with a VizScene before Self::render is called.

    -
    source

    pub fn render<'r>(&'r self, rp: &mut RenderPass<'r>)

    Renders a VizScene that was provided to Self::prepare.

    + scene: &VizScene +)

    This should be called with a [VizScene] before Self::render is called.

    +
    source

    pub fn render<'r>(&'r self, rp: &mut RenderPass<'r>)

    Renders a [VizScene] that was provided to Self::prepare.

    Trait Implementations§

    source§

    impl Debug for VizRenderer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/docs/dev/wafel_window/all.html b/docs/dev/wafel_window/all.html index 82ac30ea..9cf7f7be 100644 --- a/docs/dev/wafel_window/all.html +++ b/docs/dev/wafel_window/all.html @@ -1,2 +1,2 @@ List of all items in this crate -

    List of all items

    Structs

    Enums

    Traits

    Functions

    \ No newline at end of file +

    List of all items

    Structs

    Enums

    Traits

    Functions

    \ No newline at end of file diff --git a/docs/dev/wafel_window/enum.KeyCode.html b/docs/dev/wafel_window/enum.KeyCode.html new file mode 100644 index 00000000..118dea16 --- /dev/null +++ b/docs/dev/wafel_window/enum.KeyCode.html @@ -0,0 +1,486 @@ +KeyCode in wafel_window - Rust +
    #[non_exhaustive]
    pub enum KeyCode { +
    Show 194 variants Backquote, + Backslash, + BracketLeft, + BracketRight, + Comma, + Digit0, + Digit1, + Digit2, + Digit3, + Digit4, + Digit5, + Digit6, + Digit7, + Digit8, + Digit9, + Equal, + IntlBackslash, + IntlRo, + IntlYen, + KeyA, + KeyB, + KeyC, + KeyD, + KeyE, + KeyF, + KeyG, + KeyH, + KeyI, + KeyJ, + KeyK, + KeyL, + KeyM, + KeyN, + KeyO, + KeyP, + KeyQ, + KeyR, + KeyS, + KeyT, + KeyU, + KeyV, + KeyW, + KeyX, + KeyY, + KeyZ, + Minus, + Period, + Quote, + Semicolon, + Slash, + AltLeft, + AltRight, + Backspace, + CapsLock, + ContextMenu, + ControlLeft, + ControlRight, + Enter, + SuperLeft, + SuperRight, + ShiftLeft, + ShiftRight, + Space, + Tab, + Convert, + KanaMode, + Lang1, + Lang2, + Lang3, + Lang4, + Lang5, + NonConvert, + Delete, + End, + Help, + Home, + Insert, + PageDown, + PageUp, + ArrowDown, + ArrowLeft, + ArrowRight, + ArrowUp, + NumLock, + Numpad0, + Numpad1, + Numpad2, + Numpad3, + Numpad4, + Numpad5, + Numpad6, + Numpad7, + Numpad8, + Numpad9, + NumpadAdd, + NumpadBackspace, + NumpadClear, + NumpadClearEntry, + NumpadComma, + NumpadDecimal, + NumpadDivide, + NumpadEnter, + NumpadEqual, + NumpadHash, + NumpadMemoryAdd, + NumpadMemoryClear, + NumpadMemoryRecall, + NumpadMemoryStore, + NumpadMemorySubtract, + NumpadMultiply, + NumpadParenLeft, + NumpadParenRight, + NumpadStar, + NumpadSubtract, + Escape, + Fn, + FnLock, + PrintScreen, + ScrollLock, + Pause, + BrowserBack, + BrowserFavorites, + BrowserForward, + BrowserHome, + BrowserRefresh, + BrowserSearch, + BrowserStop, + Eject, + LaunchApp1, + LaunchApp2, + LaunchMail, + MediaPlayPause, + MediaSelect, + MediaStop, + MediaTrackNext, + MediaTrackPrevious, + Power, + Sleep, + AudioVolumeDown, + AudioVolumeMute, + AudioVolumeUp, + WakeUp, + Meta, + Hyper, + Turbo, + Abort, + Resume, + Suspend, + Again, + Copy, + Cut, + Find, + Open, + Paste, + Props, + Select, + Undo, + Hiragana, + Katakana, + F1, + F2, + F3, + F4, + F5, + F6, + F7, + F8, + F9, + F10, + F11, + F12, + F13, + F14, + F15, + F16, + F17, + F18, + F19, + F20, + F21, + F22, + F23, + F24, + F25, + F26, + F27, + F28, + F29, + F30, + F31, + F32, + F33, + F34, + F35, +
    }
    Expand description

    Code representing the location of a physical key

    +

    This mostly conforms to the UI Events Specification’s KeyboardEvent.code with a few +exceptions:

    +
      +
    • The keys that the specification calls “MetaLeft” and “MetaRight” are named “SuperLeft” and +“SuperRight” here.
    • +
    • The key that the specification calls “Super” is reported as Unidentified here.
    • +
    +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Backquote

    ` on a US keyboard. This is also called a backtick or grave. +This is the 半角/全角/漢字 +(hankaku/zenkaku/kanji) key on Japanese keyboards

    +
    §

    Backslash

    Used for both the US \ (on the 101-key layout) and also for the key +located between the and Enter keys on row C of the 102-, +104- and 106-key layouts. +Labeled # on a UK (102) keyboard.

    +
    §

    BracketLeft

    [ on a US keyboard.

    +
    §

    BracketRight

    ] on a US keyboard.

    +
    §

    Comma

    , on a US keyboard.

    +
    §

    Digit0

    0 on a US keyboard.

    +
    §

    Digit1

    1 on a US keyboard.

    +
    §

    Digit2

    2 on a US keyboard.

    +
    §

    Digit3

    3 on a US keyboard.

    +
    §

    Digit4

    4 on a US keyboard.

    +
    §

    Digit5

    5 on a US keyboard.

    +
    §

    Digit6

    6 on a US keyboard.

    +
    §

    Digit7

    7 on a US keyboard.

    +
    §

    Digit8

    8 on a US keyboard.

    +
    §

    Digit9

    9 on a US keyboard.

    +
    §

    Equal

    = on a US keyboard.

    +
    §

    IntlBackslash

    Located between the left Shift and Z keys. +Labeled \ on a UK keyboard.

    +
    §

    IntlRo

    Located between the / and right Shift keys. +Labeled \ (ro) on a Japanese keyboard.

    +
    §

    IntlYen

    Located between the = and Backspace keys. +Labeled ¥ (yen) on a Japanese keyboard. \ on a +Russian keyboard.

    +
    §

    KeyA

    a on a US keyboard. +Labeled q on an AZERTY (e.g., French) keyboard.

    +
    §

    KeyB

    b on a US keyboard.

    +
    §

    KeyC

    c on a US keyboard.

    +
    §

    KeyD

    d on a US keyboard.

    +
    §

    KeyE

    e on a US keyboard.

    +
    §

    KeyF

    f on a US keyboard.

    +
    §

    KeyG

    g on a US keyboard.

    +
    §

    KeyH

    h on a US keyboard.

    +
    §

    KeyI

    i on a US keyboard.

    +
    §

    KeyJ

    j on a US keyboard.

    +
    §

    KeyK

    k on a US keyboard.

    +
    §

    KeyL

    l on a US keyboard.

    +
    §

    KeyM

    m on a US keyboard.

    +
    §

    KeyN

    n on a US keyboard.

    +
    §

    KeyO

    o on a US keyboard.

    +
    §

    KeyP

    p on a US keyboard.

    +
    §

    KeyQ

    q on a US keyboard. +Labeled a on an AZERTY (e.g., French) keyboard.

    +
    §

    KeyR

    r on a US keyboard.

    +
    §

    KeyS

    s on a US keyboard.

    +
    §

    KeyT

    t on a US keyboard.

    +
    §

    KeyU

    u on a US keyboard.

    +
    §

    KeyV

    v on a US keyboard.

    +
    §

    KeyW

    w on a US keyboard. +Labeled z on an AZERTY (e.g., French) keyboard.

    +
    §

    KeyX

    x on a US keyboard.

    +
    §

    KeyY

    y on a US keyboard. +Labeled z on a QWERTZ (e.g., German) keyboard.

    +
    §

    KeyZ

    z on a US keyboard. +Labeled w on an AZERTY (e.g., French) keyboard, and y on a +QWERTZ (e.g., German) keyboard.

    +
    §

    Minus

    - on a US keyboard.

    +
    §

    Period

    . on a US keyboard.

    +
    §

    Quote

    on a US keyboard.

    +
    §

    Semicolon

    ; on a US keyboard.

    +
    §

    Slash

    / on a US keyboard.

    +
    §

    AltLeft

    Alt, Option, or .

    +
    §

    AltRight

    Alt, Option, or . +This is labeled AltGr on many keyboard layouts.

    +
    §

    Backspace

    Backspace or . +Labeled Delete on Apple keyboards.

    +
    §

    CapsLock

    CapsLock or

    +
    §

    ContextMenu

    The application context menu key, which is typically found between the right +Super key and the right Control key.

    +
    §

    ControlLeft

    Control or

    +
    §

    ControlRight

    Control or

    +
    §

    Enter

    Enter or . Labeled Return on Apple keyboards.

    +
    §

    SuperLeft

    The Windows, , Command, or other OS symbol key.

    +
    §

    SuperRight

    The Windows, , Command, or other OS symbol key.

    +
    §

    ShiftLeft

    Shift or

    +
    §

    ShiftRight

    Shift or

    +
    §

    Space

      (space)

    +
    §

    Tab

    Tab or

    +
    §

    Convert

    Japanese: (henkan)

    +
    §

    KanaMode

    Japanese: カタカナ/ひらがな/ローマ字 (katakana/hiragana/romaji)

    +
    §

    Lang1

    Korean: HangulMode 한/영 (han/yeong)

    +

    Japanese (Mac keyboard): (kana)

    +
    §

    Lang2

    Korean: Hanja (hanja)

    +

    Japanese (Mac keyboard): (eisu)

    +
    §

    Lang3

    Japanese (word-processing keyboard): Katakana

    +
    §

    Lang4

    Japanese (word-processing keyboard): Hiragana

    +
    §

    Lang5

    Japanese (word-processing keyboard): Zenkaku/Hankaku

    +
    §

    NonConvert

    Japanese: 無変換 (muhenkan)

    +
    §

    Delete

    . The forward delete key. +Note that on Apple keyboards, the key labelled Delete on the main part of +the keyboard is encoded as Backspace.

    +
    §

    End

    Page Down, End, or

    +
    §

    Help

    Help. Not present on standard PC keyboards.

    +
    §

    Home

    Home or

    +
    §

    Insert

    Insert or Ins. Not present on Apple keyboards.

    +
    §

    PageDown

    Page Down, PgDn, or

    +
    §

    PageUp

    Page Up, PgUp, or

    +
    §

    ArrowDown

    +
    §

    ArrowLeft

    +
    §

    ArrowRight

    +
    §

    ArrowUp

    +
    §

    NumLock

    On the Mac, this is used for the numpad Clear key.

    +
    §

    Numpad0

    0 Ins on a keyboard. 0 on a phone or remote control

    +
    §

    Numpad1

    1 End on a keyboard. 1 or 1 QZ on a phone or remote control

    +
    §

    Numpad2

    2 ↓ on a keyboard. 2 ABC on a phone or remote control

    +
    §

    Numpad3

    3 PgDn on a keyboard. 3 DEF on a phone or remote control

    +
    §

    Numpad4

    4 ← on a keyboard. 4 GHI on a phone or remote control

    +
    §

    Numpad5

    5 on a keyboard. 5 JKL on a phone or remote control

    +
    §

    Numpad6

    6 → on a keyboard. 6 MNO on a phone or remote control

    +
    §

    Numpad7

    7 Home on a keyboard. 7 PQRS or 7 PRS on a phone +or remote control

    +
    §

    Numpad8

    8 ↑ on a keyboard. 8 TUV on a phone or remote control

    +
    §

    Numpad9

    9 PgUp on a keyboard. 9 WXYZ or 9 WXY on a phone +or remote control

    +
    §

    NumpadAdd

    +

    +
    §

    NumpadBackspace

    Found on the Microsoft Natural Keyboard.

    +
    §

    NumpadClear

    C or A (All Clear). Also for use with numpads that have a +Clear key that is separate from the NumLock key. On the Mac, the +numpad Clear key is encoded as NumLock.

    +
    §

    NumpadClearEntry

    C (Clear Entry)

    +
    §

    NumpadComma

    , (thousands separator). For locales where the thousands separator +is a “.” (e.g., Brazil), this key may generate a ..

    +
    §

    NumpadDecimal

    . Del. For locales where the decimal separator is “,” (e.g., +Brazil), this key may generate a ,.

    +
    §

    NumpadDivide

    /

    +
    §

    NumpadEnter

    §

    NumpadEqual

    =

    +
    §

    NumpadHash

    # on a phone or remote control device. This key is typically found +below the 9 key and to the right of the 0 key.

    +
    §

    NumpadMemoryAdd

    M Add current entry to the value stored in memory.

    +
    §

    NumpadMemoryClear

    M Clear the value stored in memory.

    +
    §

    NumpadMemoryRecall

    M Replace the current entry with the value stored in memory.

    +
    §

    NumpadMemoryStore

    M Replace the value stored in memory with the current entry.

    +
    §

    NumpadMemorySubtract

    M Subtract current entry from the value stored in memory.

    +
    §

    NumpadMultiply

    on a keyboard. For use with numpads that provide mathematical +operations (+, - and /).

    +

    Use NumpadStar for the * key on phones and remote controls.

    +
    §

    NumpadParenLeft

    ( Found on the Microsoft Natural Keyboard.

    +
    §

    NumpadParenRight

    ) Found on the Microsoft Natural Keyboard.

    +
    §

    NumpadStar

    * on a phone or remote control device.

    +

    This key is typically found below the 7 key and to the left of +the 0 key.

    +

    Use “NumpadMultiply” for the * key on +numeric keypads.

    +
    §

    NumpadSubtract

    -

    +
    §

    Escape

    Esc or

    +
    §

    Fn

    Fn This is typically a hardware key that does not generate a separate code.

    +
    §

    FnLock

    FLock or FnLock. Function Lock key. Found on the Microsoft +Natural Keyboard.

    +
    §

    PrintScreen

    PrtScr SysRq or Print Screen

    +
    §

    ScrollLock

    Scroll Lock

    +
    §

    Pause

    Pause Break

    +
    §

    BrowserBack

    Some laptops place this key to the left of the key.

    +

    This also the “back” button (triangle) on Android.

    +
    §

    BrowserFavorites

    §

    BrowserForward

    Some laptops place this key to the right of the key.

    +
    §

    BrowserHome

    The “home” button on Android.

    +
    §

    BrowserRefresh

    §

    BrowserSearch

    §

    BrowserStop

    §

    Eject

    Eject or . This key is placed in the function section on some Apple +keyboards.

    +
    §

    LaunchApp1

    Sometimes labelled My Computer on the keyboard

    +
    §

    LaunchApp2

    Sometimes labelled Calculator on the keyboard

    +
    §

    LaunchMail

    §

    MediaPlayPause

    §

    MediaSelect

    §

    MediaStop

    §

    MediaTrackNext

    §

    MediaTrackPrevious

    §

    Power

    This key is placed in the function section on some Apple keyboards, replacing the +Eject key.

    +
    §

    Sleep

    §

    AudioVolumeDown

    §

    AudioVolumeMute

    §

    AudioVolumeUp

    §

    WakeUp

    §

    Meta

    §

    Hyper

    §

    Turbo

    §

    Abort

    §

    Resume

    §

    Suspend

    §

    Again

    Found on Sun’s USB keyboard.

    +
    §

    Copy

    Found on Sun’s USB keyboard.

    +
    §

    Cut

    Found on Sun’s USB keyboard.

    +
    §

    Find

    Found on Sun’s USB keyboard.

    +
    §

    Open

    Found on Sun’s USB keyboard.

    +
    §

    Paste

    Found on Sun’s USB keyboard.

    +
    §

    Props

    Found on Sun’s USB keyboard.

    +
    §

    Select

    Found on Sun’s USB keyboard.

    +
    §

    Undo

    Found on Sun’s USB keyboard.

    +
    §

    Hiragana

    Use for dedicated ひらがな key found on some Japanese word processing keyboards.

    +
    §

    Katakana

    Use for dedicated カタカナ key found on some Japanese word processing keyboards.

    +
    §

    F1

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F2

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F3

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F4

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F5

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F6

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F7

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F8

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F9

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F10

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F11

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F12

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F13

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F14

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F15

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F16

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F17

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F18

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F19

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F20

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F21

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F22

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F23

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F24

    General-purpose function key. +Usually found at the top of the keyboard.

    +
    §

    F25

    General-purpose function key.

    +
    §

    F26

    General-purpose function key.

    +
    §

    F27

    General-purpose function key.

    +
    §

    F28

    General-purpose function key.

    +
    §

    F29

    General-purpose function key.

    +
    §

    F30

    General-purpose function key.

    +
    §

    F31

    General-purpose function key.

    +
    §

    F32

    General-purpose function key.

    +
    §

    F33

    General-purpose function key.

    +
    §

    F34

    General-purpose function key.

    +
    §

    F35

    General-purpose function key.

    +

    Trait Implementations§

    §

    impl Clone for KeyCode

    §

    fn clone(&self) -> KeyCode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for KeyCode

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Hash for KeyCode

    §

    fn hash<__H>(&self, state: &mut __H)
    where + __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for KeyCode

    §

    fn cmp(&self, other: &KeyCode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq<PhysicalKey> for KeyCode

    §

    fn eq(&self, rhs: &PhysicalKey) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl PartialEq for KeyCode

    §

    fn eq(&self, other: &KeyCode) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for KeyCode

    §

    fn partial_cmp(&self, other: &KeyCode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    §

    impl PhysicalKeyExtScancode for KeyCode
    where + PhysicalKey: PhysicalKeyExtScancode,

    §

    fn from_scancode(scancode: u32) -> PhysicalKey

    Constructs a PhysicalKey from a platform-specific physical key identifier. Read more
    §

    fn to_scancode(self) -> Option<u32>

    The raw value of the platform-specific physical key identifier. Read more
    §

    impl Copy for KeyCode

    §

    impl Eq for KeyCode

    §

    impl StructuralEq for KeyCode

    §

    impl StructuralPartialEq for KeyCode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where + T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> SerializableAny for T
    where + T: 'static + Any + Clone + for<'a> Send + Sync,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + T: Sync,

    \ No newline at end of file diff --git a/docs/dev/wafel_window/index.html b/docs/dev/wafel_window/index.html index f9b41535..ee18e382 100644 --- a/docs/dev/wafel_window/index.html +++ b/docs/dev/wafel_window/index.html @@ -17,4 +17,4 @@

    Example

    ui.label(format!("{:.3} mspf = {:.1} fps", env.mspf(), env.fps())); }); });
    -

    Structs

    • Configuration for the window and application environment.
    • Helper struct which tracks the state of a mouse drag.
    • Access to keyboard state and events.

    Enums

    Traits

    • Trait defining the interaction between a windowed application and the window.

    Functions

    • Initializes logging, opens a window and runs the application.
    \ No newline at end of file +

    Structs

    • Configuration for the window and application environment.
    • Helper struct which tracks the state of a mouse drag.
    • Access to keyboard state and events.

    Enums

    • Code representing the location of a physical key
    • Describes a button of a mouse controller.

    Traits

    • Trait defining the interaction between a windowed application and the window.

    Functions

    • Initializes logging, opens a window and runs the application.
    \ No newline at end of file diff --git a/docs/dev/wafel_window/sidebar-items.js b/docs/dev/wafel_window/sidebar-items.js index e6db8afc..aedfada3 100644 --- a/docs/dev/wafel_window/sidebar-items.js +++ b/docs/dev/wafel_window/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["MouseButton"],"fn":["run"],"struct":["AppConfig","DragState","Input"],"trait":["AppEnv"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["KeyCode","MouseButton"],"fn":["run"],"struct":["AppConfig","DragState","Input"],"trait":["AppEnv"]}; \ No newline at end of file diff --git a/docs/dev/wafel_window/struct.Input.html b/docs/dev/wafel_window/struct.Input.html index ecac16df..4c18f79e 100644 --- a/docs/dev/wafel_window/struct.Input.html +++ b/docs/dev/wafel_window/struct.Input.html @@ -1,8 +1,8 @@ Input in wafel_window - Rust

    Struct wafel_window::Input

    source ·
    pub struct Input { /* private fields */ }
    Expand description

    Access to keyboard state and events.

    -

    Implementations§

    source§

    impl Input

    source

    pub fn key_down(&self, key_code: KeyCode) -> bool

    Returns true if the physical key is currently down.

    -
    source

    pub fn key_pressed(&self, key_code: KeyCode) -> bool

    Returns true if the physical key was pressed this frame.

    -
    source

    pub fn key_released(&self, key_code: KeyCode) -> bool

    Returns true if the physical key was released this frame.

    +

    Implementations§

    source§

    impl Input

    source

    pub fn key_down(&self, key_code: KeyCode) -> bool

    Returns true if the physical key is currently down.

    +
    source

    pub fn key_pressed(&self, key_code: KeyCode) -> bool

    Returns true if the physical key was pressed this frame.

    +
    source

    pub fn key_released(&self, key_code: KeyCode) -> bool

    Returns true if the physical key was released this frame.

    source

    pub fn mouse_down(&self, button: MouseButton) -> bool

    Returns true if the mouse button is currently down.

    source

    pub fn mouse_pressed(&self, button: MouseButton) -> bool

    Returns true if the mouse button was pressed this frame.

    source

    pub fn mouse_pressed_in(&self, button: MouseButton, rect: Rect2) -> bool

    Returns true if the mouse button was pressed this frame in the given