検索
Results of 1 - 4 of about 4 for bar (0.002 sec.)
- パスとモジュールシステムへの変更 - エディションガイド 12149
- 序文 1. エディションとは? 1.1. 新しいプロジェクトを作成する 1.2. 既存のプロジェクトのエディション
...、以下の extern crate は: #[macro_use] extern crate bar; fn main() { baz!(); } こんな感じに変えることができ...ます: use bar::baz; fn main() { baz!(); } クレートの名前変更 今ま...ルートを指すことができます。 たとえば、 crate::foo::bar と書けば、それがどこに書かれていようと、 foo モジュ...ール内の bar という名前を指します。 :: というプレフィクスは、か... - https://man.plustar.jp/rust/edition/rust-2018/path-changes.html - [similar]
- エディションガイド 9301
- 序文 1. エディションとは? 1.1. 新しいプロジェクトを作成する 1.2. 既存のプロジェクトのエディション
...、以下の extern crate は: #[macro_use] extern crate bar; fn main() { baz!(); } こんな感じに変えることができ...ます: use bar::baz; fn main() { baz!(); } クレートの名前変更 今ま...ルートを指すことができます。 たとえば、 crate::foo::bar と書けば、それがどこに書かれていようと、 foo モジュ...ール内の bar という名前を指します。 :: というプレフィクスは、か... - https://man.plustar.jp/rust/edition/print.html - [similar]
- デフォルトの Cargo のフィーチャリゾルバ - エディションガイド 8377
- 序文 1. エディションとは? 1.1. 新しいプロジェクトを作成する 1.2. 既存のプロジェクトのエディション
...rojects/foo) bstr v0.2.16 [build-dependencies] └── bar v0.1.0 └── foo v0.1.0 (/MyProjects/foo) この出力か...str feature "default" │ [build-dependencies] │ └── bar v0.1.0 │ └── bar feature "default" │ └── foo v0.1....tr feature "unicode" (*) この出力例からは、 foo が bar に "default" フィーチャ付きで依存していることがわか...り、 bar はビルド時の依存として bstr に "default" フィーチャ... - https://man.plustar.jp/rust/edition/rust-2021/default-cargo-resolver.html - [similar]
- Prelude への追加 - エディションガイド 7138
- 序文 1. エディションとは? 1.1. 新しいプロジェクトを作成する 1.2. 既存のプロジェクトのエディション
...ス付きで `submodule::MyTrait` としか利用できない fn bar(f: Box<dyn submodule::MyTrait>) { // If `std::conv... - https://man.plustar.jp/rust/edition/rust-2021/prelude.html - [similar]
PREV
1
NEXT