検索

phrase: max: clip:
target: order:
Results of 1 - 3 of about 3 for bottom (0.010 sec.)
構造体 - Rust By Example 日本語版 11868
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ctangle can be specified by where the top left and bottom right // corners are in space. // 長方形は座標空間 ... 隅と右下隅の位置によって指定できる top_left: Point, bottom_right: Point, } fn main() { // Create struct with ... 造体のフィールドの値を基に // 新たなpointを生成 let bottom_right = Point { x: 5.2, ..point }; // `bottom_righ ... .y` because we used that field // from `point` // `bottom_right.y` の値は `point.y` と同一になるが、 // これ ...
https://man.plustar.jp/rust/example/custom_types/structs.html - [similar]
Box, スタックとヒープ - Rust By Example 日本語版 8426
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ctangle can be specified by where its top left and bottom right // corners are in space #[allow(dead_code)] ... struct Rectangle { top_left: Point, bottom_right: Point, } fn origin() -> Point { Point { x: ... angle: Rectangle = Rectangle { top_left: origin(), bottom_right: Point { x: 3.0, y: -4.0 } }; // Heap alloca ... tangle> = Box::new(Rectangle { top_left: origin(), bottom_right: Point { x: 3.0, y: -4.0 }, }); // The outpu ...
https://man.plustar.jp/rust/example/std/box.html - [similar]
Rust By Example 日本語版 7571
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ctangle can be specified by where the top left and bottom right // corners are in space. // 長方形は座標空間 ... 隅と右下隅の位置によって指定できる top_left: Point, bottom_right: Point, } fn main() { // Create struct with ... 造体のフィールドの値を基に // 新たなpointを生成 let bottom_right = Point { x: 5.2, ..point }; // `bottom_righ ... .y` because we used that field // from `point` // `bottom_right.y` の値は `point.y` と同一になるが、 // これ ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT