#deref #trait #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

#65 in #trait

Download history 42/week @ 2022-12-02 51/week @ 2022-12-09 58/week @ 2022-12-16 46/week @ 2022-12-23 37/week @ 2022-12-30 45/week @ 2023-01-06 37/week @ 2023-01-13 44/week @ 2023-01-20 67/week @ 2023-01-27 94/week @ 2023-02-03 83/week @ 2023-02-10 72/week @ 2023-02-17 41/week @ 2023-02-24 48/week @ 2023-03-03 38/week @ 2023-03-10 50/week @ 2023-03-17

186 downloads per month
Used in 2 crates (via 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

  • alloc
  • std