Page 6, found in 63 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › intrinsics › mod.rs
    More about rust.docs.kernel.org
    mod.rs - source

    … 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 …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › convert › num.rs
    More about rust.docs.kernel.org
    num.rs - source

    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 …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › str › struct.CString
    More about rust.docs.kernel.org
    CString in kernel::str - Rust

    … 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 …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › convert › trait.TryFrom
    More about rust.docs.kernel.org
    TryFrom in core::convert - Rust

    … 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 …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › src › kernel › pid_namespace.rs
    More about rust.docs.kernel.org
    pid_namespace.rs - source

    … 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 …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › mod.rs
    More about rust.docs.kernel.org
    mod.rs - source

    … 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 …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.assume
    More about rust.docs.kernel.org
    assume in core::intrinsics - Rust

    … 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 …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › char › struct.DecodeUtf16Error
    More about rust.docs.kernel.org
    DecodeUtf16Error in core::char - Rust

    … 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 …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › task › wake.rs
    More about rust.docs.kernel.org
    wake.rs - source

    … 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 …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › task › wake.rs
    More about rust.docs.kernel.org
    wake.rs - source

    … 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 …

    0 points

Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.