検索

phrase: max: clip:
target: order:
Results of 1 - 1 of about 1 for active (0.004 sec.)
構造体を定義し、インスタンス化する - Rust 日本語版 9414
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... ername: String, email: String, sign_in_count: u64, active: bool, } } リスト5-1: User 構造体定義 構造体を定義 ... ername: String, email: String, sign_in_count: u64, active: bool, } let user1 = User { email: String::from("s ... .com"), username: String::from("someusername123"), active: true, sign_in_count: 1, }; } リスト5-2: User 構造 ... ername: String, email: String, sign_in_count: u64, active: bool, } let mut user1 = User { email: String::fro ...
https://man.plustar.jp/rust/book/ch05-01-defining-structs.html - [similar]
PREV 1 NEXT