#floating-point #alias #size #floating #pointers #type #point #pointer

fsize

fsize is aliased to the floating-point type of pointer size

3 releases (1 stable)

Uses old Rust 2015

1.0.0 Oct 25, 2022
0.1.1 Oct 25, 2022
0.1.0 Jan 4, 2018

#492 in Rust patterns

Download history 52/week @ 2022-08-11 41/week @ 2022-08-18 32/week @ 2022-08-25 40/week @ 2022-09-01 37/week @ 2022-09-08 23/week @ 2022-09-15 33/week @ 2022-09-22 55/week @ 2022-09-29 57/week @ 2022-10-06 47/week @ 2022-10-13 74/week @ 2022-10-20 62/week @ 2022-10-27 70/week @ 2022-11-03 43/week @ 2022-11-10 53/week @ 2022-11-17 21/week @ 2022-11-24

194 downloads per month
Used in 6 crates (2 directly)

CC0 license

2KB


lib.rs:

The pointer-sized floating-point type.

The size of this primitive is how many bytes it takes to reference any location in memory. For example, on a 32 bit target, this is 4 bytes and on a 64 bit target, this is 8 bytes.

As Rust only supports f32 and f64, fsize is only provided for 32 and 64 bit targets.

No runtime deps