Comprehensive Rust(한국어) 20241216.4 Option, Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 16.5 String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 16.6 Vec . . . encoded strings. • String - a modifiable, owned string. • &str - 읽기 전용 문자열입니다. 문자열 리터럴은 이 타입을가집니다. fn main() { let greeting: &str = " 인사말"; let planet: &str = " "; let mut sentence = String::new(); sentence 문자열을 사용하는 데는 이것으로충분합니다. • 문자열 내에 잘못된 UTF-8 인코딩이 있는 것은 정의되지 않은 동작이며, 이는 안전한 Rust 에서 는 허용되지 않습니다. • String 은 생성자 (::new()) 및 s.push_str(..) 과 같은 메서드가 포함된 사용자 정의타입 입니다. 28 • &str 의 &는 참조임을 나타냅니다. 참조는 나중에다루므로0 码力 | 369 页 | 1.29 MB | 10 月前3
 Comprehensive Rust16.4 Option, Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 16.5 String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 16.6 Vec . . . encoded strings. • String - a modifiable, owned string. • &str - 읽기 전용 문자열입니다. 문자열 리터럴은 이 타입을가집니다. fn main() { let greeting: &str = " 인사말"; let planet: &str = " "; let mut sentence = String::new(); sentence 문자열을 사용하는 데는 이것으로충분합니다. • 문자열 내에 잘못된 UTF-8 인코딩이 있는 것은 정의되지 않은 동작이며, 이는 안전한 Rust 에서 는 허용되지 않습니다. • String 은 생성자 (::new()) 및 s.push_str(..) 과 같은 메서드가 포함된 사용자 정의타입 입니다. 28 • &str 의 &는 참조임을 나타냅니다. 참조는 나중에다루므로0 码力 | 368 页 | 1.29 MB | 1 年前3
 PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2020.23)키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml PlantUML 언어참조가이드 (1.2020 PlantUML 언어참조가이드 (1.2020.23) 49 / 306 3.5 Defining visibility 3 클래스다이어그램 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml 3.7 Advanced class body By default, methods and fields are0 码力 | 307 页 | 3.16 MB | 1 年前3
 PlantUML 1.2020.22 언어참조가이드키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml PlantUML 언어참조가이드 (1.2020 PlantUML 언어참조가이드 (1.2020.22) 40 / 294 3.5 Defining visibility 3 클래스다이어그램 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml 3.7 Advanced class body By default, methods and fields are0 码力 | 295 页 | 3.08 MB | 1 年前3
 PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2023.11)
키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml 1.28 활성화, 비활성화, 생성을위한단축키 methods. Note that the syntax is highly flexible about type/name order. @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml PlantUML 언어참조가이드 (1.2023.11) 65 / 551 3.8 Advanced class0 码力 | 552 页 | 7.88 MB | 1 年前3
 PlantUML 1.2021.1 언어참조가이드키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml 1.27 Shortcut syntax for PlantUML 언어참조가이드 (1.2021.1) 53 / 385 3.5 Defining visibility 3 클래스다이어그램 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml 3.7 Advanced class body By default, methods and fields are0 码力 | 386 页 | 4.12 MB | 1 年前3
 PlantUML 1.2021.2 언어참조가이드키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml 1.27 Shortcut syntax for PlantUML 언어참조가이드 (1.2021.2) 53 / 390 3.5 Defining visibility 3 클래스다이어그램 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml 3.7 Advanced class body By default, methods and fields are0 码力 | 391 页 | 4.17 MB | 1 年前3
 PlantUML 1.2021.3 언어참조가이드키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! Alice --> Bob : ok @enduml 1.27 Shortcut syntax for PlantUML 언어참조가이드 (1.2021.2) 53 / 407 3.5 Defining visibility 3 클래스다이어그램 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml 3.7 Advanced class body By default, methods and fields are0 码力 | 408 页 | 4.32 MB | 1 年前3
 PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2019.9)키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! PlantUML 언어참조가이드 (1.2019.9) 16 / 171 1.22 Incoming methods. Note that the syntax is highly flexible about type/name order. @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml PlantUML 언어참조가이드 (1.2019.9) 36 / 171 3.6 Advanced class0 码力 | 172 页 | 1.97 MB | 1 年前3
 PlantUML 1.2019.6 언어참조가이드키워드를사용할수있다. @startuml Bob -> Alice : hello create Other Alice -> Other : new create control String Alice -> String note right : You can also put notes! PlantUML 언어참조가이드 (1.2019.6) 16 / 171 1.22 Incoming methods. Note that the syntax is highly flexible about type/name order. @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You of the line. You can also use {classifier} instead of {static}. @startuml class Dummy { {static} String id {abstract} void methods() } @enduml PlantUML 언어참조가이드 (1.2019.6) 36 / 171 3.6 Advanced class0 码力 | 172 页 | 1.95 MB | 1 年前3
共 15 条
- 1
 - 2
 













