Page 8, found in 123 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › struct.DecodeUtf16Error
    More about rust.docs.kernel.org
    DecodeUtf16Error in core::char - Rust

    … Decode Utf16 Error 1.9.0 · Source pub struct DecodeUtf16Error { /* private fields */ } Expand description An error that can be returned when decoding UTF-16 code points. This struct is created when using the DecodeUtf16 …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › core › primitive.str
    More about rust.docs.kernel.org
    str - Rust

    … heart); 1.9.0 (const: 1.86.0) · Source pub const fn is_char_boundary (&self, index: usize ) -> bool Checks that index -th byte is the first byte in a UTF-8 code point sequence or …

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

    … as a buffer, like <code>Cursor<[Vec]\<u8>></code> and 14 /// <code>Cursor<[&\[u8\]][bytes]></code>. 15 /// 16 /// # Examples 17 /// 18 /// We may want to write bytes to a [`File`] in our …

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

    … of the CPU the code is currently running on. 107 /// 108 /// The returned value is considered unstable because it may change 109 /// unexpectedly due to preemption or CPU migration. It should only …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › methods.rs
    More about rust.docs.kernel.org
    methods.rs - source

    … 13 /// The lowest valid code point a `char` can have, `'\0'`. 14 /// 15 /// Unlike integer types, `char` actually has a gap in the middle, 16 /// meaning that the range of possible `char …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › intrinsics › mod.rs
    More about rust.docs.kernel.org
    mod.rs - source

    … intrinsics available to Rust code. The actual implementations live in the compiler. 8 //! Some of these intrinsics are lowered to MIR in <https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_mir …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › fmt › trait.Pointer
    More about rust.docs.kernel.org
    Pointer in core::fmt - Rust

    … object safety". Implementors § 1.4.0 · Source § impl<F: FnPtr > Pointer for F 1.33.0 · Source § impl<Ptr: Pointer > Pointer for Pin <Ptr> 1.0.0 · Source § impl<T: PointeeSized > Pointer for &T 1.0.0 · Source § impl<T …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cmp › trait.PartialOrd
    More about rust.docs.kernel.org
    PartialOrd in core::cmp - Rust

    Skip to main content PartialOrd core :: cmp Trait Partial Ord 1.6.0 (const: unstable ) · Source pub trait PartialOrd<Rhs: PointeeSized = Self>: PartialEq <Rhs> + PointeeSized { // Required method fn partial_cmp (&self, other: &Rhs ) -> Option …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › panic › struct.Location
    More about rust.docs.kernel.org
    Location in core::panic - Rust

    … name refers to a source path on the compiling system, but it isn’t valid to represent this directly as a &Path . The compiled code may run on a different system with a …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › marker › struct.PhantomData
    More about rust.docs.kernel.org
    PhantomData in core::marker - Rust

    … 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: ? Sized > CloneFromCell for PhantomData <T> 1.0.0 · Source § impl …

    0 points

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