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
136 /// The unit type cannot be converted from `u8` or `u16`, but it does implement
144 /// The following example fails to compile because raw pointers do not implement
214 /// Asserts that the type does **not** implement _all_ of the given traits.
216 /// This can be used to ensure types do not implement auto traits such as
225 /// Although `u32` implements `From<u16>`, it does not implement `Into<usize>`:
261 …://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods
289 /// Asserts that the type does **not** implement _any_ of the given traits.
291 /// This can be used to ensure types do not implement auto traits such as
301 /// If `u32` were to implement `Into` conversions for `usize` _and_ for `u8`,
327 …://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods