Lines Matching refs:directly
14352 /// rather than directly invoking `panic!` or similar.
14370 // For alloc test `std::alloc::handle_alloc_error` can be used directly.
18407 /// [`Display`] trait. As such, `ToString` shouldn't be implemented directly:
18918 /// non-mutating methods directly on the data it encloses. If mutation
19305 //! This library, like libcore, normally doesn’t need to be used directly
20625 // Pre-allocate memory to allow writing the cloned value directly.
21527 // If the pointer is dangling, we return the sentinel directly. This cannot be
23236 // trait dispatch - instead both impls call this function directly and
24627 // Pre-allocate memory to allow writing the cloned value directly.
24939 // If the pointer is dangling, we return the sentinel directly. This cannot be
26248 //! format strings and instead directly write the output. Under the hood, this
29997 // We can't destructure subtree directly
38013 /// `InternalNode` can be directly casted to a pointer to the underlying `LeafNode` portion of the
46647 // and thus do more work. `to_vec()` directly allocates the correct amount
47253 /// Creates a `Vec<T>` directly from the raw components of another vector.
47391 /// Creates a `Vec<T, A>` directly from the raw components of another vector.
49019 // We can write the last element directly without cloning needlessly
49588 /// If `s` already owns a `Vec<T>`, it will be returned directly.
50290 //! from Rust. In those cases, you should directly mirror the C types
51091 // raw pointer for the type system. Turning it directly into a raw pointer would not be
51165 // when `T: !Unpin`, so it's safe to pin it directly without any
51218 // Pre-allocate memory to allow writing the cloned value directly.
51620 // It's not possible to extract the inner Uniq directly from the Box,