diff --git a/content/docs/vec/Drain.mdx b/content/docs/vec/Drain.mdx index ab45c0d..65e358e 100644 --- a/content/docs/vec/Drain.mdx +++ b/content/docs/vec/Drain.mdx @@ -261,6 +261,8 @@ where { /* trait methods */ } ``` +## 自動トレイト実装 + ### `std::marker::Freeze` ```rust @@ -297,4 +299,61 @@ where { /* trait methods */ } ``` +## ブランケット実装 + +```rust +impl Any for T +where + T: 'static + ?Sized +{ /* trait methods */ } +``` + +```rust +impl Borrow for T +where + T: ?Sized +{ /* trait methods */ } +``` + +```rust +impl BorrowMut for T +where + T: ?Sized +{ /* trait methods */ } +``` + +```rust +impl From for T { + /* trait methods */ +} +``` + +```rust +impl Into for T +where + U: From +{ /* trait methods */ } +``` + +```rust +impl IntoIterator for I +where + I: Iterator, +{ /* trait methods */ } +``` + +```rust +impl TryFrom for T +where + U: Into +{ /* trait methods */ } +``` + +```rust +impl TryInto for T +where + U: TryFrom +{ /* trait methods */ } +``` + {/* 関連項目については、必要だと思ったら記載すること */}