#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

#440 in Memory management

Download history 76579/week @ 2024-07-20 82848/week @ 2024-07-27 71657/week @ 2024-08-03 57108/week @ 2024-08-10 58082/week @ 2024-08-17 53171/week @ 2024-08-24 44981/week @ 2024-08-31 42467/week @ 2024-09-07 46712/week @ 2024-09-14 43431/week @ 2024-09-21 51215/week @ 2024-09-28 40988/week @ 2024-10-05 35358/week @ 2024-10-12 11552/week @ 2024-10-19 9649/week @ 2024-10-26 7476/week @ 2024-11-02

66,869 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