Page 7, found in 96 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › macros › mod.rsmod.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › macros › mod.rsmod.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › panic › struct.LocationLocation in core::panic - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › marker › struct.PhantomDataPhantomData in core::marker - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › hint.rshint.rs - source
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.fnfn - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.is_val_statically_knownis_val_statically_known in core::intrinsics - Rust
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › error › indexkernel::error - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › task › struct.WakerWaker in core::task - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › interrupt › indexkernel::interrupt - Rust
More about rust.docs.kernel.org
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 …
Search for “Source Code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.