Page 15, found in 80 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › marker.rs
    More about rust.docs.kernel.org
    marker.rs - source

    … 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 …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ffi › struct.CStr
    More about rust.docs.kernel.org
    CStr in core::ffi - Rust

    … 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 …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › future › poll_fn.rs
    More about rust.docs.kernel.org
    poll_fn.rs - source

    … 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 …

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

    … 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 …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › arch › index
    More about rust.docs.kernel.org
    kernel::num::casts::arch - Rust

    … 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 …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › iter › trait.Step
    More about rust.docs.kernel.org
    Step in core::iter - Rust

    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 …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf128
    More about rust.docs.kernel.org
    fmuladdf128 in core::intrinsics - Rust

    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 …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › macros › index
    More about rust.docs.kernel.org
    macros - Rust

    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 …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf32
    More about rust.docs.kernel.org
    fmuladdf32 in core::intrinsics - Rust

    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 …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.fmuladdf64
    More about rust.docs.kernel.org
    fmuladdf64 in core::intrinsics - Rust

    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 …

    0 points

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