Page 3, found in 64 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › 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 › … › ops › function.rsfunction.rs - source
More about rust.docs.kernel.org
… closure with no arguments: `|| {{ /* code */ }}`" 63 ), 64 on( 65 Self = "unsafe fn" , 66 note = "unsafe function cannot be called generically without an unsafe block" , 67 // SAFETY: tidy is not smart enough to …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › kernel › error.rserror.rs - source
More about rust.docs.kernel.org
… the C-compatible error codes. 20 #[rustfmt::skip] 21 pub mod code { 22 macro_rules! declare_err { 23 ( $err :tt $(,) ? $( $doc :expr),+) => { 24 $( 25 #[doc = $doc ] 26 )* 27 pub const $err : super …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.nevernever - 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 1.100.0 · Source § impl Copy for ! 1.100.0 · Source § impl Debug for ! Source …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › io › error.rserror.rs - source
More about rust.docs.kernel.org
… representation assumes that error codes are 5 // always 32-bit wide. 6 // 7 // This assumption is invalid on 64-bit UEFI, where error codes are 64-bit. 8 // Therefore, the packed representation …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › option.rsoption.rs - source
More about rust.docs.kernel.org
… as_ref`] converts from <code>[&][][Option]\<T></code> to <code>[Option]<[&]T></code> 182 //! * [`as_mut`] converts from <code>[&mut] [Option]\<T></code> to <code>[Option]<[&mut] T></code> 183 //! * [`as_deref …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › pin.rspin.rs - source
More about rust.docs.kernel.org
… intended to be the source of truth for users of [`Pin<Ptr>`] 36 //! that are implementing the [`unsafe`] pieces of an interface that relies on pinning for validity; 37 //! users of [`Pin …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › core › primitive.charchar - Rust
More about rust.docs.kernel.org
… of_val( & v[..])); Implementations § Source § impl char 1.83.0 · Source pub const MIN : char = '\0' The lowest valid code point a char can have, '\0' . Unlike integer types, char actually has a gap …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › option.rsoption.rs - source
More about rust.docs.kernel.org
… as_ref`] converts from <code>[&][][Option]\<T></code> to <code>[Option]<[&]T></code> 182 //! * [`as_mut`] converts from <code>[&mut] [Option]\<T></code> to <code>[Option]<[&mut] T></code> 183 //! * [`as_deref …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.charchar - Rust
More about rust.docs.kernel.org
… of_val( & v[..])); Implementations § Source § impl char 1.83.0 · Source pub const MIN : char = '\0' The lowest valid code point a char can have, '\0' . Unlike integer types, char actually has a gap …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.