Page 24, found in 107 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › core › primitive.f64
    More about rust.docs.kernel.org
    f64 - Rust

    … f64::consts module . Implementations § Source § impl f64 1.43.0 · Source pub const RADIX : u32 = 2 The radix or base of the internal representation of f64 . Source pub const BITS : u32 = 64 🔬 This is …

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

    Skip to main content core/ cell.rs 1 //! Shareable mutable containers. 2 //! 3 //! Rust memory safety is based on this rule: Given an object `T`, it is only possible to 4 //! have one …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin › struct.Pin
    More about rust.docs.kernel.org
    Pin in core::pin - Rust

    … as of today. ↩ Implementations § Source § impl<Ptr: Deref <Target: Unpin >> Pin <Ptr> 1.33.0 (const: 1.84.0) · Source pub const fn new (pointer: Ptr) -> Pin <Ptr> Constructs a new Pin<Ptr> around a pointer …

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

    … be added by external code due to orphan rules. 190 /// 191 /// # Examples 192 /// 193 /// By using trait bounds we

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

    Skip to main content pin_init/ lib.rs 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 2 3 //! Library to safely and fallibly initialize pinned `struct`s using in-place constructors. 4 //! 5 …

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

    … fine: `join` synchronizes the code in a way such that the atomic 88 //! // store happens-before the non-atomic write. 89 //! let handle = s.spawn(|| atomic.store(1, Ordering::Relaxed)); // atomic store 90 //! handle.join …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › sync › atomic.rs
    More about rust.docs.kernel.org
    atomic.rs - source

    … fine: `join` synchronizes the code in a way such that the atomic 88 //! // store happens-before the non-atomic write. 89 //! let handle = s.spawn(|| atomic.store(1, Ordering::Relaxed)); // atomic store 90 //! handle.join …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ptr › mut_ptr.rs
    More about rust.docs.kernel.org
    mut_ptr.rs - source

    … the type if the code is 121 /// refactored. 122 /// 123 /// While not strictly required (`*mut T` coerces to `*const T`), this is provided for symmetry 124 /// with [`cast_mut`] on `*const T …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › array › equality.rs
    More about rust.docs.kernel.org
    equality.rs - source

    … are omitted to reduce code bloat 128 // __impl_slice_eq2! { [A; $N], &'b [B; $N] } 129 // __impl_slice_eq2! { [A; $N], &'b mut [B; $N] } 130 131 #[stable(feature = "rust1" , since = "1.0.0 …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › alloc › layout.rs
    More about rust.docs.kernel.org
    layout.rs - source

    … layout.rs 1 // Seemingly inconsequential code changes to this file can lead to measurable 2 // performance impact on compilation times, due at least in part to the fact 3 // that the layout code …

    0 points

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