Page 15, found in 80 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › marker.rsmarker.rs - source
More about rust.docs.kernel.org
… 112 /// ``` 113 /// # #![allow(dead_code)] 114 /// struct Foo<T>(T); 115 /// struct Bar<T: ?Sized>(T); 116 /// 117 /// // struct FooUse(Foo<[i32]>); // error: Sized is not implemented for [i32] 118 /// struct BarUse …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ffi › struct.CStrCStr in core::ffi - Rust
More about rust.docs.kernel.org
… my_string_safe()); Implementations § Source § impl CStr 1.0.0 (const: 1.81.0) · Source pub const unsafe fn from_ptr <'a>(ptr: *const c_char ) -> &'a CStr Wraps a raw C string with a safe …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › future › poll_fn.rspoll_fn.rs - source
More about rust.docs.kernel.org
… for the `unsafe` 111 /// <code>[Pin::new_unchecked](&mut fut)</code> constructor. 112 /// 113 /// [`pin!`]: crate::pin::pin! 114 #[stable(feature = "future_poll_fn" , since = "1.64.0" )] 115 pub fn poll_fn <T …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › num › casts.rscasts.rs - source
More about rust.docs.kernel.org
… these, if only for code that is architecture-specific. 14 //! 15 //! This module provides ways to perform such conversions safely: 16 //! 17 //! - A series of const functions (e.g. [`usize_as_u64`]) supporting …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › arch › indexkernel::num::casts::arch - Rust
More about rust.docs.kernel.org
… num :: casts Module arch Source Expand description Conversions that are only lossless for the current architecture. § Portability Callers of this module become dependent on the setting of CONFIG_64BIT . Use with caution …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › iter › trait.StepStep in core::iter - Rust
More about rust.docs.kernel.org
Skip to main content Step core :: iter Trait Step Source pub trait Step: Clone + PartialOrd + Sized { // Required methods fn steps_between (start: &Self, end: &Self) -> ( usize , Option < usize >); fn forward_checked (start …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf128fmuladdf128 in core::intrinsics - Rust
More about rust.docs.kernel.org
Skip to main content fmuladdf128 core :: intrinsics Function fmuladdf128 Source pub const fn fmuladdf128(a: f128 , b: f128 , c: f128 ) -> f128 🔬 This is a nightly-only experimental API. ( core_intrinsics ) Expand description …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › macros › indexmacros - Rust
More about rust.docs.kernel.org
Skip to main content Crate macros Crate macros Source Expand description Crate for all kernel procedural macros. Macros § Covariant ForLt Obtain a type that implements CovariantForLt (and ForLt ) for the given higher …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf32fmuladdf32 in core::intrinsics - Rust
More about rust.docs.kernel.org
Skip to main content fmuladdf32 core :: intrinsics Function fmuladdf32 Source pub const fn fmuladdf32(a: f32 , b: f32 , c: f32 ) -> f32 🔬 This is a nightly-only experimental API. ( core_intrinsics ) Expand description …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf64fmuladdf64 in core::intrinsics - Rust
More about rust.docs.kernel.org
Skip to main content fmuladdf64 core :: intrinsics Function fmuladdf64 Source pub const fn fmuladdf64(a: f64 , b: f64 , c: f64 ) -> f64 🔬 This is a nightly-only experimental API. ( core_intrinsics ) Expand description …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.