Page 6, found in 71 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › intrinsics › mod.rsmod.rs - source
More about rust.docs.kernel.org
… intrinsics available to Rust code. The actual implementations live in the compiler. 8 //! Some of these intrinsics are lowered to MIR in <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › convert › num.rsnum.rs - source
More about rust.docs.kernel.org
Skip to main content core/convert/ num.rs 1 use crate ::num::{ IntErrorKind , TryFromIntError }; 2 3 /// Supporting trait for inherent methods of `f32` and `f64` such as `to_int_unchecked`. 4 /// Typically doesn’t …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › str › struct.CStringCString in kernel::str - Rust
More about rust.docs.kernel.org
… given formatter. Read more Source § impl Deref for CString Source § type Target = CStr The resulting type after dereferencing. Source § fn deref (&self) -> &Self:: Target Dereferences the value. Source § impl DerefMut for CString …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › convert › trait.TryFromTryFrom in core::convert - Rust
More about rust.docs.kernel.org
… Implementors § 1.49.0 (const: unstable ) · Source § impl TryFrom < NonZero < i8 >> for NonZero < u8 > Source § type Error = TryFromIntError 1.49.0 (const: unstable ) · Source § impl TryFrom < NonZero < i8 >> for NonZero < u16 > Source § type Error = TryFromIntError 1.49.0 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › kernel › pid_namespace.rspid_namespace.rs - source
More about rust.docs.kernel.org
… namespace` within Rust 17 /// code that we get passed from the C side. 18 #[repr(transparent)] 19 pub struct PidNamespace { 20 inner: Opaque <bindings::pid_namespace>, 21 } 22 23 impl PidNamespace { 24 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › mod.rsmod.rs - source
More about rust.docs.kernel.org
… same as, a '[Unicode code 8 //! point]'. 9 //! 10 //! [Unicode scalar value]: https://www.unicode.org/glossary/#unicode_scalar_value 11 //! [Unicode code point]: https://www.unicode.org/glossary/#code_point 12 //! 13 //! This module exists …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.assumeassume in core::intrinsics - Rust
More about rust.docs.kernel.org
… behavior is undefined. No code is generated for this intrinsic, but the optimizer will try to preserve it (and its condition) between passes, which may interfere with optimization of surrounding code and …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › char › struct.DecodeUtf16ErrorDecodeUtf16Error in core::char - Rust
More about rust.docs.kernel.org
… Decode Utf16 Error 1.9.0 · Source pub struct DecodeUtf16Error { /* private fields */ } Expand description An error that can be returned when decoding UTF-16 code points. This struct is created when using the DecodeUtf16 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › task › wake.rswake.rs - source
More about rust.docs.kernel.org
… though [`RawWaker`] is 96 /// <code>\![Send] + \![Sync]</code>). This is because [`Waker`] is <code>[Send] + [Sync]</code>, 97 /// and it may be moved to arbitrary threads or invoked by `&` reference. For example …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › task › wake.rswake.rs - source
More about rust.docs.kernel.org
… though [`RawWaker`] is 98 /// <code>\![Send] + \![Sync]</code>). This is because [`Waker`] is <code>[Send] + [Sync]</code>, 99 /// and it may be moved to arbitrary threads or invoked by `&` reference. For example …
Search for “Source Code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.