Page 24, found in 107 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › core › primitive.f64f64 - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › cell.rscell.rs - source
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin › struct.PinPin in core::pin - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › convert › mod.rsmod.rs - source
More about rust.docs.kernel.org
… be added by external code due to orphan rules. 190 /// 191 /// # Examples 192 /// 193 /// By using trait bounds we
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin_init › lib.rslib.rs - source
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › sync › atomic.rsatomic.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › sync › atomic.rsatomic.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ptr › mut_ptr.rsmut_ptr.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › array › equality.rsequality.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › alloc › layout.rslayout.rs - source
More about rust.docs.kernel.org
… 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 …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.