Page 14, found in 127 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › struct.CovariantUnsafeCellCovariantUnsafeCell in core::cell - Rust
More about rust.docs.kernel.org
… CovariantUnsafeCell<T> requires unsafe code. § Examples #![feature(covariant_unsafe_cell)] use std::cell::CovariantUnsafeCell; let uc = CovariantUnsafeCell::new( 5 ); Source pub const fn into_inner (self) -> T 🔬 This is a nightly-only …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › hint › fn.must_usemust_use in core::hint - Rust
More about rust.docs.kernel.org
Skip to main content must_use core :: hint Function must_ use Source pub const fn must_use<T>(value: T) -> T 🔬 This is a nightly-only experimental API. ( hint_must_use #94745 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ascii › enum.CharChar in core::ascii - Rust
More about rust.docs.kernel.org
… Controls and Basic Latin code chart. This block was based on older 7-bit character code standards such as ANSI X3.4-1977, ISO 646-1973, and NIST FIPS 1-2 . § When to …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › str › mod.rsmod.rs - source
More about rust.docs.kernel.org
… pub use validations::{ next_code_point , utf8_char_width }; 63 64 #[inline(never)] 65 #[cold] 66 #[track_caller] 67 #[rustc_allow_const_fn_unstable(const_eval_select)] 68 #[cfg(not(panic = "immediate …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › mem › alignment.rsalignment.rs - source
More about rust.docs.kernel.org
… Self::of] whenever 62 /// <code>T: [Sized]</code>, 63 /// but also supports determining the alignment required by a `dyn Trait` value, which is the 64 /// alignment of the underlying concrete type. 65 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ops › mod.rsmod.rs - source
More about rust.docs.kernel.org
… these operators in generic code, requires some 28 //! attention if values have to be reused as opposed to letting the operators 29 //! consume them. One option is to occasionally use [`clone`]. 30 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pci › indexkernel::pci - Rust
More about rust.docs.kernel.org
Skip to main content Module pci kernel Module pci Source Expand description Abstractions for the PCI bus. C header: include/linux/pci.h Structs § Adapter An adapter for the registration of PCI drivers …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › s390x › indexcore::arch::s390x - Rust
More about rust.docs.kernel.org
… Equal Index with Condition Code vec_ cmpeq_ or_ 0_ idx ⚠ Experimental vector Vector Compare Equal or Zero Index vec_ cmpeq_ or_ 0_ idx_ cc ⚠ Experimental vector Vector Compare Equal or Zero Index …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › str › struct.CStrCStr in kernel::str - Rust
More about rust.docs.kernel.org
… my_string_safe()); Implementations § Source § impl CStr 1.0.0 (const: 1.81.0) · Source pub const unsafe fn from_ptr <'a>(ptr: *const i8 ) -> &'a CStr Wraps a raw C string with a safe C …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › convert › trait.AsRefAsRef in core::convert - Rust
More about rust.docs.kernel.org
… called "object safety". Implementors § Source § impl AsRef < ByteStr > for ByteStr Source § impl AsRef < ByteStr > for str 1.7.0 (const: unstable ) · Source § impl AsRef < CStr > for CStr Source § impl AsRef < LocalWaker > for Waker Source …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.