코딩Coding
-
Rust❤️Implementing Deserialize코딩Coding/★Rust★기초★Syntax 2023. 9. 30. 15:39
Implementing Deserialize https://serde.rs/impl-deserialize.htmlImplementing Deserialize · SerdeImplementing Deserialize The Deserialize trait looks like this: pub trait Deserialize; } This method's job is to map the type into the Serde data model by providing the Desserde.rs
-
kotlin standard library코딩Coding/Java&Kotlin 2023. 9. 29. 15:01
https://kotlinlang.org/api/latest/jvm/stdlib/ kotlin-stdlib - Kotlin Programming Language kotlinlang.org https://stackoverflow.com/questions/40075836/what-packages-functions-are-imported-by-default-in-kotlin What packages/functions are imported by default in Kotlin?In Java the java.lang package is imported by default. In kotlin a number of functions and classes are available without being import..
-
destructure a tuple value코딩Coding/★Rust★기초★Syntax 2023. 9. 29. 12:39
fn main() { let tup = (500, 6.4, 1); let (x, y, z) = tup; println!("The value of y is: {y}"); } https://doc.rust-lang.org/book/ch03-02-data-types.htmlData Types - The Rust Programming LanguageEvery value in Rust is of a certain data type, which tells Rust what kind of data is being specified so it knows how to work with that data. We’ll look at two data type subsets: scalar and compound. Keep in..