Page 14, found in 127 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › struct.CovariantUnsafeCell
    More about rust.docs.kernel.org
    CovariantUnsafeCell in core::cell - Rust

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

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › hint › fn.must_use
    More about rust.docs.kernel.org
    must_use in core::hint - Rust

    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 …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ascii › enum.Char
    More about rust.docs.kernel.org
    Char in core::ascii - Rust

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

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

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

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › mem › alignment.rs
    More about rust.docs.kernel.org
    alignment.rs - source

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

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

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

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

    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 …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › s390x › index
    More about rust.docs.kernel.org
    core::arch::s390x - Rust

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

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

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

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › convert › trait.AsRef
    More about rust.docs.kernel.org
    AsRef in core::convert - Rust

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

    0 points

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