Page 8, found in 123 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › struct.DecodeUtf16ErrorDecodeUtf16Error in core::char - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › core › primitive.strstr - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › io › cursor.rscursor.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › kernel › cpu.rscpu.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › char › methods.rsmethods.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › intrinsics › mod.rsmod.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › fmt › trait.PointerPointer in core::fmt - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cmp › trait.PartialOrdPartialOrd in core::cmp - Rust
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › panic › struct.LocationLocation in core::panic - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › marker › struct.PhantomDataPhantomData in core::marker - 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: ? Sized > CloneFromCell for PhantomData <T> 1.0.0 · Source § impl …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.