#traits #deref #raw-pointers #aliasable

no-std aliasable_deref_trait

Marker trait for types that deref to an address that is aliasable when coerced to a raw pointer

4 releases (1 stable)

1.0.0 Jun 29, 2021
0.2.1 Nov 21, 2019
0.2.0 Nov 20, 2019
0.1.0 Nov 8, 2019

#365 in Memory management

Download history 87100/week @ 2023-12-13 40927/week @ 2023-12-20 27624/week @ 2023-12-27 80584/week @ 2024-01-03 68446/week @ 2024-01-10 22948/week @ 2024-01-17 19722/week @ 2024-01-24 25458/week @ 2024-01-31 21176/week @ 2024-02-07 34933/week @ 2024-02-14 28780/week @ 2024-02-21 32101/week @ 2024-02-28 29984/week @ 2024-03-06 28692/week @ 2024-03-13 27653/week @ 2024-03-20 22185/week @ 2024-03-27

114,659 downloads per month
Used in aliasable

MIT license

6KB
80 lines

Build Status Coverage Status Crate Docs

trait AliasableDeref

Marker trait for types that deref to an address that is aliasable when coerced to a raw pointer.
Documentation hosted on docs.rs.

aliasable_deref_trait = "1"

lib.rs:

This crate defines an unsafe marker trait for types that deref to an address that is aliasable when coerced to a raw pointer.

No runtime deps

Features