This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub struct PlayerFsm { | |
default: Default, | |
special: Special, | |
current_state: PlayerStateName, | |
next_state: Option<PlayerStateName>, | |
pub blackboard: PlayerStateBlackboard, | |
} | |
pub struct Default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"reason":"compiler-artifact","package_id":"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.65/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std","use_std"],"filenames":["/Users/jjspira/Documents/Rust/clockwork/target/debug/build/libc-a0a3441023061adc/build-script-build"],"executable":null,"fresh":true} | |
{"reason":"compiler-artifact","package_id":"autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"reason":"compiler-artifact","package_id":"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.65/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std","use_std"],"filenames":["/Users/jjspira/Documents/Rust/clockwork/target/debug/build/libc-a0a3441023061adc/build-script-build"],"executable":null,"fresh":true} | |
{"reason":"compiler-artifact","package_id":"autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2020-01-26T18:35:49Z INFO ra_lsp_server] lifecycle: server started | |
[2020-01-26T18:35:49Z INFO ra_lsp_server] Client 'vscode' 1.41.1 | |
[2020-01-26T18:35:49Z INFO ra_lsp_server::main_loop] server_config: ServerConfig { | |
publish_decorations: true, | |
exclude_globs: [], | |
use_client_watching: true, | |
lru_capacity: None, | |
max_inlay_hint_length: Some( | |
20, | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io; | |
fn main() { | |
println!("Type a temperature followed by \"C\" or \"F\" to convert."); | |
println!("Example:"); | |
println!("Input: 32F"); | |
println!("Output: 32F is 0C."); | |
'top: loop { | |
println!(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
public static class EnumerableUtility { | |
public static TupleEnumerable<T1, T2> CombinedEnumerable<T1, T2>(this (IEnumerable<T1>, IEnumerable<T2>) me, int count1, int count2) { | |
return new TupleEnumerable<T1, T2>(me.Item1, me.Item2, count1, count2); | |
} | |
public static TupleEnumerable<T1, T2> CombinedEnumerable<T1, T2>(this (IEnumerable<T1>, IEnumerable<T2>) me) { | |
return new TupleEnumerable<T1, T2>(me.Item1, me.Item2); |