Lines Matching full:implement
11 /// Given some type `Foo`, it is expected to implement either `Snap`, `Crackle`,
79 // does not implement any at all.
91 /// This can be used to ensure types implement auto traits such as [`Send`] and
100 /// The following example fails to compile because raw pointers do not implement
111 …://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods
132 /// The unit type cannot be converted from `u8` or `u16`, but it does implement
140 /// The following example fails to compile because raw pointers do not implement
159 /// Asserts that the type does **not** implement _all_ of the given traits.
161 /// This can be used to ensure types do not implement auto traits such as
170 /// Although `u32` implements `From<u16>`, it does not implement `Into<usize>`:
206 …://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods
214 /// Asserts that the type does **not** implement _all_ of the given traits.
229 /// Asserts that the type does **not** implement _any_ of the given traits.
231 /// This can be used to ensure types do not implement auto traits such as
241 /// If `u32` were to implement `Into` conversions for `usize` _and_ for `u8`,
267 …://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods
275 /// Asserts that the type does **not** implement _any_ of the given traits.
324 /// If `u32` were to implement `Into` conversions for `usize` _and_ for `u8`,