524 matching pages, found in 98 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.f32f32 - Rust
More about rust.docs.kernel.org
… 0.0: IEEE 754 floating-point numbers have a bit that indicates their sign, so −0.0 is a possible value. For comparison −0.0 = +0.0, but floating-point operations can carry the sign bit …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › any › struct.TypeIdTypeId in core::any - Rust
More about rust.docs.kernel.org
… 2 ); struct Unit; struct Point { x: u32, y: u32, } assert_eq! ( const { TypeId::of::<Unit>().variants() }, 1 ); assert_eq! ( const { TypeId::of::<Point>().variants() }, 1 ); assert_eq! ( const { TypeId::of::<(f32, f32 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › num › enum.FpCategoryFpCategory in core::num - Rust
More about rust.docs.kernel.org
… Subnormal” or “denormal” floating point representation (less precise, relative to their magnitude, than Normal ). Subnormal numbers are larger in magnitude than Zero but smaller in magnitude than all Normal numbers. § 1.6.0 Normal …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ops › indexcore::ops - Rust
More about rust.docs.kernel.org
… y - other.y} } } assert_eq! (Point {x: 3 , y: 3 }, Point {x: 1 , y: 0 } + Point {x: 2 , y: 3 }); assert_eq! (Point {x: - 1 , y: - 3 }, Point {x: 1 , y: 0 } - Point …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › time › indexkernel::time - Rust
More about rust.docs.kernel.org
… type represents a specific point in time. The Delta type represents a span of time. Note that the C side uses ktime_t type to represent both. However, timestamp and timedelta are …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › char › indexcore::char - Rust
More about rust.docs.kernel.org
… UTF-16 encoded code points from an iterator of u16 s. Decode Utf16 Error An error that can be returned when decoding UTF-16 code points. Escape Debug An iterator that yields …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › pin_init › fn.zeroedzeroed in pin_init - Rust
More about rust.docs.kernel.org
… zeroed}; #[derive(Zeroable)] struct Point { x: u32, y: u32, } let point: Point = zeroed(); assert_eq! (point.x, 0 ); assert_eq! (point.y, 0
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › any › struct.TypeIdTypeId in core::any - Rust
More about rust.docs.kernel.org
… 2 ); struct Unit; struct Point { x: u32, y: u32, } assert_eq! ( const { TypeId::of::<Unit>().variants() }, 1 ); assert_eq! ( const { TypeId::of::<Point>().variants() }, 1 ); assert_eq! ( const { TypeId::of::<(f32, f32 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › pin_init › trait.ZeroableZeroable in pin_init - Rust
More about rust.docs.kernel.org
… Zeroable; #[derive(Zeroable)] struct Point { x: u32, y: u32, } let point: Point = Zeroable::zeroed(); assert_eq! (point.x, 0 ); assert_eq! (point.y, 0 ); Dyn Compatibility § This trait is dyn compatible . In older versions …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › hrtimer › trait.HasHrTimerHasHrTimer in kernel::time::hrtimer - Rust
More about rust.docs.kernel.org
… is containing the HrTimer pointed to by ptr . This function is useful to get access to the value without creating intermediate references. § Safety ptr must point to a HrTimer<T> field in …
Search for “point site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.