코딩Coding/★Rust★기초★Syntax
-
Rust Bevy Tutorial 1/3 - GameDev from Scratch!!!& Max Bruckner코딩Coding/★Rust★기초★Syntax 2021. 12. 17. 20:39
https://www.youtube.com/watch?v=Yb3vInxzKGE 2부 https://www.youtube.com/watch?v=Dl4PJG0eRhg 3부 https://www.youtube.com/watch?v=4nEUX2hf2ZI 다른 영상 Max Bruckner https://youtube.com/playlist?list=PLOc_rMRI1KqnsZhPt1dhjRqi9PZYnyjCB Pong clone in rust with the bevy game engine www.youtube.com
-
rust- String 자세히 설명서 보기코딩Coding/★Rust★기초★Syntax 2021. 12. 10. 01:19
https://doc.rust-lang.org/stable/std/string/struct.String.html String in std::string - Rust Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string. Basic usage: let a = String::from("foo"); assert_eq!(a.len(), 3); let fancy_f = String::from("ƒoo"); asse doc.rust-lang.org 출처: https://www.youtube.com/watc..
-
Rust)Debug print(pointer, Hexadecimal,Binary)코딩Coding/★Rust★기초★Syntax 2021. 12. 10. 00:39
? : Debug print 하라고 하는 말 p : Pointer X : Hexadecimal(16진수) b : Binary(2진수) 포인터 위치 출력 fn main() { let my_variable = &9; println!("{:p}", my_variable); } : 프린터를 오른쪽으로 해라 출처 : https://www.youtube.com/watch?v=RuTElptHqdg&list=TLPQMDkxMjIwMjHuFJxHs478XA&index=4