#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

#378 in Memory management

Download history 31098/week @ 2024-03-14 24369/week @ 2024-03-21 27402/week @ 2024-03-28 24616/week @ 2024-04-04 25631/week @ 2024-04-11 26165/week @ 2024-04-18 18999/week @ 2024-04-25 15543/week @ 2024-05-02 15947/week @ 2024-05-09 15974/week @ 2024-05-16 12890/week @ 2024-05-23 59027/week @ 2024-05-30 83913/week @ 2024-06-06 65939/week @ 2024-06-13 106132/week @ 2024-06-20 97594/week @ 2024-06-27

369,644 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