Page 4, found in 66 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › revocable › struct.RevocableRevocable in kernel::revocable - Rust
More about rust.docs.kernel.org
… into a proper error code and flattens the inner result into it if it makes sense within their subsystem. Source pub unsafe fn access (&self) -> &T Directly access the revocable wrapped object …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › pin › struct.UnsafePinnedUnsafePinned in core::pin - Rust
More about rust.docs.kernel.org
… UnsafePinned<T>> requires unsafe code. Source pub const fn into_inner (self) -> T 🔬 This is a nightly-only experimental API. ( unsafe_pinned #125735 ) Unwraps the value, consuming this UnsafePinned . Source § impl<T …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › mem › struct.ManuallyDropManuallyDrop in core::mem - 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: CloneFromCell > CloneFromCell for ManuallyDrop <T> 1.20.0 · Source § impl …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › default.rsdefault.rs - source
More about rust.docs.kernel.org
… 13 /// ``` 14 /// # #[allow(dead_code)] 15 /// struct SomeOptions { 16 /// foo: i32, 17 /// bar: f32, 18 /// } 19 /// ``` 20 /// 21 /// How can we define some default values? You can use `Default`: 22 /// 23 /// ``` 24 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › panic.rspanic.rs - source
More about rust.docs.kernel.org
… internal error: entered unreachable code" ) 91 ), 92 ($( $t :tt)+) => ( 93 $crate::panic !( "internal error: entered unreachable code: {}" , $crate::format_args !($( $t )+)) 94 ), 95 } 96 97 /// Invokes a closure, aborting if the closure …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › struct.UnsafeCellUnsafeCell in core::cell - Rust
More about rust.docs.kernel.org
… UnsafeCell<T> requires unsafe code. § Examples use std::cell::UnsafeCell; let uc = UnsafeCell::new( 5 ); 1.0.0 (const: 1.83.0) · Source pub const fn into_inner (self) -> T Unwraps the value, consuming the cell …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin › struct.UnsafePinnedUnsafePinned in core::pin - Rust
More about rust.docs.kernel.org
… UnsafePinned<T>> requires unsafe code. Source pub const fn into_inner (self) -> T 🔬 This is a nightly-only experimental API. ( unsafe_pinned #125735 ) Unwraps the value, consuming this UnsafePinned . Source § impl<T …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › mem › struct.ManuallyDropManuallyDrop in core::mem - 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: CloneFromCell > CloneFromCell for ManuallyDrop <T> 1.20.0 · Source § impl …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › panicking.rspanicking.rs - source
More about rust.docs.kernel.org
… jump into this 156 // code rather than expanding to panic("...") above, which adds extra bloat to call sites (for the 157 // constant string argument's pointer and length). 158 // 159 // This is especially …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › enum.AtomicOrderingAtomicOrdering in core::intrinsics - Rust
More about rust.docs.kernel.org
… core_intrinsics ) Trait Implementations § Source § impl ConstParamTy_ for AtomicOrdering Source § impl Debug for AtomicOrdering Source § fn fmt (&self, f: &mut Formatter <'_>) -> Result Formats the value using the given formatter. Read more Source …
Search for “Source Code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.