検索
Results of 1 - 5 of about 5 for form (0.003 sec.)
- Disambiguating overlapping traits - Rust By Example 日本語版 12851
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...age out of this widget fn get(&self) -> u8; } // A form with both a UsernameWidget and an AgeWidget struct...Form { username: String, age: u8, } impl UsernameWidget...for Form { fn get(&self) -> String { self.username.clone()...} } impl AgeWidget for Form { fn get(&self) -> u8 { self.age } } fn main() { l... - https://man.plustar.jp/rust/example/trait/disambiguating.html - [similar]
- 配列とスライス - Rust By Example 日本語版 8309
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...point to a section of an array // They are of the form [starting_index..ending_index] // starting_index i... - https://man.plustar.jp/rust/example/primitives/array.html - [similar]
- 文字列 - Rust By Example 日本語版 8309
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...original string, hence no new // allocation is performed // 文字列のトリミング(特定文字種の除去)はオリジ...l result in a similar &str so it's best to use the form that is the most convenient to write. Similarly th...r); } let _quotes = br#"You can also use "fancier" formatting, \ like with normal raw strings"#; // Byte s... - https://man.plustar.jp/rust/example/std/str.html - [similar]
- impl Trait - Rust By Example 日本語版 8309
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...t type means that you cannot explicitly state what form of the function you use, i.e. parse_csv_document::... - https://man.plustar.jp/rust/example/trait/impl_trait.html - [similar]
- Rust By Example 日本語版 8107
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...によって扱われます。このマクロには以下が含まれます。 format! : フォーマットされたテキストを文字列(String)型に...書き込みます。 print! : format! と同様ですが、コンソール (io::stdout) にそのテキ...! : と同じですが改行が付け加えられます。 eprint! : format! と同様ですが、標準エラー出力 (io::stderr) にその...e quick brown fox", verb="jumps over"); // Special formatting can be specified after a `:`. // `:` のあとに... - https://man.plustar.jp/rust/example/print.html - [similar]
PREV
1
NEXT