Comprehensive Rust(한국어) 202412let mut page_counts = HashMap::new(); page_counts.insert("허클베리 핀의 모험".to_string(), 207); page_counts.insert("그림 동화".to_string(), 751); page_counts.insert("오만과 편견".to_string(), 303); if !page_counts.contains_key("레 in ["오만과 편견", "이상한 나라의 앨리스"] { let page_count: &mut i32 = page_counts.entry(book.to_string()).or_insert(0); *page_count += 1; } println!("{page_counts:#?}"); } • HashMap 은 prelude 에 정의되어 있지 않기 때문에 page_counts .get("해리 포터와 마법사의 돌") .unwrap_or(&336); let pc2 = page_counts .entry("헝거게임".to_string()) .or_insert(374); • 안타깝지만 hashmap!같은 매크로가 없습니다. – 러스트 1.56 부터는 HashMap 이 From<[(K, V); N]>을구현하기 때문에 배열 리터럴을0 码力 | 369 页 | 1.29 MB | 11 月前3
Comprehensive Rustlet mut page_counts = HashMap::new(); page_counts.insert("허클베리 핀의 모험".to_string(), 207); page_counts.insert("그림 동화".to_string(), 751); page_counts.insert("오만과 편견".to_string(), 303); if !page_counts.contains_key("레 in ["오만과 편견", "이상한 나라의 앨리스"] { let page_count: &mut i32 = page_counts.entry(book.to_string()).or_insert(0); *page_count += 1; } println!("{page_counts:#?}"); } • HashMap 은 prelude 에 정의되어 있지 않기 때문에 page_counts .get("해리 포터와 마법사의 돌") .unwrap_or(&336); let pc2 = page_counts .entry("헝거게임".to_string()) .or_insert(374); • 안타깝지만 hashmap!같은 매크로가 없습니다. – 러스트 1.56 부터는 HashMap 이 From<[(K, V); N]>을구현하기 때문에 배열 리터럴을0 码力 | 368 页 | 1.29 MB | 1 年前3
Krita 5.2 브로셔E: merge down Ctrl + Shift + E: flattens all (not the Ctrl + Shift + M shortcut as in PS) Ins: insert a new paint layer Ctrl + G: create new layer group and move selected layers to this group Groups efficient for us, however, is to select all frames, them, and then select Hold frames ‣ Insert Hold Frame, which will insert an empty space or Hold Frame in between each Keyframe. Make new frames in between It’s possible to add multiple keyframes by inside the frame table and selecting the Keyframes ‣ Insert Multiple Keyframes pop-up submenu item. With this option you can specify the number of frames to0 码力 | 1531 页 | 79.11 MB | 1 年前3
PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2023.11)
repeat action and backward action It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start PlantUML 언어참조가이드 (1.2023 6 ACTIVITY DIAGRAM (BETA) @enduml 6.9.2 While loop with backward action It is also possible to insert an action in the return path using the backward keyword. @startuml while (check filesize ?) is (not0 码力 | 552 页 | 7.88 MB | 1 年前3
PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2020.23)[break] 5 ACTIVITY DIAGRAM (BETA) It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start repeat :foo as starting0 码力 | 307 页 | 3.16 MB | 1 年前3
PlantUML 1.2020.22 언어참조가이드[break] 5 ACTIVITY DIAGRAM (BETA) It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start repeat :foo as starting0 码力 | 295 页 | 3.08 MB | 1 年前3
PlantUML 1.2021.1 언어참조가이드[break] 6 ACTIVITY DIAGRAM (BETA) It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start repeat :foo as starting0 码力 | 386 页 | 4.12 MB | 1 年前3
PlantUML 1.2021.2 언어참조가이드[break] 6 ACTIVITY DIAGRAM (BETA) It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start repeat :foo as starting0 码力 | 391 页 | 4.17 MB | 1 年前3
PlantUML 1.2021.3 언어참조가이드[break] 6 ACTIVITY DIAGRAM (BETA) It is also possible to use a full action as repeat target and insert an action in the return path using the backward keyword. @startuml start repeat :foo as starting0 码力 | 408 页 | 4.32 MB | 1 年前3
共 9 条
- 1













