Page 5, found in 99 ms

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

    … is returned is an <code>[Option]<[usize]></code>. 59 /// A [`None`] here means that either there is no known upper bound, or the 60 /// upper bound is larger than [`usize`]. 61 /// 62 …

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

    … device::Device , 15 error::{ code :: * , from_err_ptr , from_result , to_result , Result , VTABLE_DEFAULT_ERROR }, 16 ffi::{ c_char , c_ulong }, 17 prelude :: * , 18 str::CString , 19 sync::aref::{ ARef , AlwaysRefCounted …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › iter › trait.TrustedStep
    More about rust.docs.kernel.org
    TrustedStep in core::iter - Rust

    … the invariants in unsafe code. Dyn Compatibility § This trait is not dyn compatible . In older versions of Rust, dyn compatibility was called "object safety". Implementors § Source § impl TrustedStep for Char Source § impl …

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

    … core :: intrinsics Function unreachable Source pub const unsafe fn unreachable() -> ! 🔬 This is a nightly-only experimental API. ( core_intrinsics ) Expand description Informs the optimizer that this point in the code is not …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › trait.CloneFromCell
    More about rust.docs.kernel.org
    CloneFromCell in core::cell - Rust

    … called "object safety". Implementors § Source § impl<T: ? Sized > CloneFromCell for PhantomData <T> Source § impl<T: CloneFromCell , E: CloneFromCell > CloneFromCell for Result <T, E> Source § impl<T: CloneFromCell , const N: usize > CloneFromCell for …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › interop › index
    More about rust.docs.kernel.org
    kernel::interop - Rust

    Skip to main content Module interop kernel Module interop Source Expand description Infrastructure for interfacing Rust code with C kernel subsystems. This module is intended for low-level, unsafe Rust infrastructure code …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › macro.cfg
    More about rust.docs.kernel.org
    cfg in core - Rust

    … leads to less duplicated code. The syntax given to this macro is the same syntax as the cfg attribute. cfg! , unlike #[cfg] , does not remove any code and only evaluates to true …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › hint.rs
    More about rust.docs.kernel.org
    hint.rs - source

    Skip to main content core/ hint.rs 1 #![stable(feature = "core_hint" , since = "1.27.0" )] 2 3 //! Hints to compiler that affects how code should be emitted or optimized. 4 //! 5 //! Hints may be …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › intrinsics › enum.AtomicOrdering
    More about rust.docs.kernel.org
    AtomicOrdering in core::intrinsics - Rust

    … core_intrinsics ) Trait Implementations § Source § impl ConstParamTy_ for AtomicOrdering Source § impl Debug for AtomicOrdering Source § fn fmt (&self, f: &mut Formatter <'_>) -> Result Formats the value using the given formatter. Read more Source …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › char › index
    More about rust.docs.kernel.org
    core::char - Rust

    … when decoding UTF-16 code points. Escape Debug An iterator that yields the literal escape code of a char . Escape Default An iterator that yields the literal escape code of a char …

    0 points

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