Page 7, found in 111 ms

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

    … 197 } 198 199 /// Selects code at compile-time based on `cfg` predicates. 200 /// 201 /// This macro evaluates, at compile-time, a series of `cfg` predicates, 202 /// selects the first that is true …

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

    … 197 } 198 199 /// Selects code at compile-time based on `cfg` predicates. 200 /// 201 /// This macro evaluates, at compile-time, a series of `cfg` predicates, 202 /// selects the first that is true …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › panic › struct.Location
    More about rust.docs.kernel.org
    Location in core::panic - Rust

    … name refers to a source path on the compiling system, but it isn’t valid to represent this directly as a &Path . The compiled code may run on a different system with a …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › marker › struct.PhantomData
    More about rust.docs.kernel.org
    PhantomData in core::marker - Rust

    … more 1.0.0 (const: unstable ) · Source § fn clone_from (&mut self, source: &Self) where Self:, Performs copy-assignment from source . Read more Source § impl<T: ? Sized > CloneFromCell for PhantomData <T> 1.0.0 · Source § impl …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › 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
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.fn
    More about rust.docs.kernel.org
    fn - Rust

    … concern only arises in code that alters the type of function pointers, and code that imports functions via extern blocks. Altering the type of function pointers is wildly unsafe (as in, a …

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

    Skip to main content is_val_statically_known core :: intrinsics Function is_ val_ statically_ known Source pub const fn is_val_statically_known<T: Copy >(_arg: T) -> bool 🔬 This is a nightly …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › error › index
    More about rust.docs.kernel.org
    kernel::error - Rust

    … error kernel Module error Source Expand description Kernel errors. C header: include/uapi/asm-generic/errno-base.h C header: include/uapi/asm-generic/errno.h C header: include/linux/errno.h Modules § code Contains …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › task › struct.Waker
    More about rust.docs.kernel.org
    Waker in core::task - Rust

    … wishing to avoid unsafe code may implement the Wake trait instead, at the cost of a required heap allocation.) 1.36.0 (const: 1.82.0) · Source pub const unsafe fn from_raw (waker: RawWaker ) -> Waker …

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

    Skip to main content Module interrupt kernel Module interrupt Source Expand description Interrupt controls This module allows Rust code to annotate areas of code where local processor interrupts should be disabled, along …

    0 points

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