Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] field projections v2 #3735

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8d2aaac
add `field_projection` v2 rfc
y86-dev Dec 4, 2024
a3a7749
fix typos
y86-dev Dec 4, 2024
bf0d342
add attibution for enum projections
y86-dev Dec 4, 2024
ae64e46
fix `PinField` trait
y86-dev Dec 4, 2024
7cdee51
add prior art: design meeting field projection
y86-dev Dec 4, 2024
fb938d5
add impl of `Projectable` and `Project` for `&T` and `Cow<'_, T>`
y86-dev Dec 4, 2024
27d5146
fix `Project` impl for `Cow<'_, T>`
y86-dev Dec 4, 2024
9b5b3f2
add alternative operator syntax `~`
y86-dev Dec 4, 2024
8142a78
add `ArcRef<T>` future possibility
y86-dev Dec 4, 2024
51cf2e2
make `Field` trait `unsafe`
y86-dev Dec 4, 2024
d528aa4
don't generate field types for misaligned fields
y86-dev Dec 4, 2024
1c9278f
fix typo
y86-dev Dec 4, 2024
32f1880
move `Cow<'_, T>` into future possibilities and fix its implementation
y86-dev Dec 5, 2024
d73e229
add unresolved questions for `Field` trait and enum projections
y86-dev Dec 5, 2024
95ebc57
text reflow
y86-dev Dec 5, 2024
d24e7c7
add deref pattern similarity and propose not having a `match_proj` op…
y86-dev Dec 5, 2024
c250db0
add `UnalignedField` trait
y86-dev Dec 5, 2024
6a7149f
add `Mapped{Mutex,RwLock{Read,Write}}Guard<T>` to projections and `ce…
y86-dev Dec 5, 2024
84e53e4
fix typos
y86-dev Dec 5, 2024
491d823
always require a generic for `#[projecting]` and allow zero-sized con…
y86-dev Dec 5, 2024
4de45c8
show that `#[projecting]` still allows other non-zero-sized fields
y86-dev Dec 5, 2024
358de37
text reflow
y86-dev Dec 5, 2024
dae2b04
add sized caveat for field types
y86-dev Dec 5, 2024
fc6279d
add guide-level explanation of implementing custom projections
y86-dev Dec 6, 2024
6282d95
remove using `repr` as an alternative to `#[projecting]`
y86-dev Dec 6, 2024
612c910
add prior art: Field Projection Use Cases document
y86-dev Dec 6, 2024
04b5193
make code more concise
y86-dev Dec 6, 2024
7df5239
expand text on tuple support
y86-dev Dec 7, 2024
7d50503
add future possibility `Option` stdlib
y86-dev Dec 8, 2024
3291759
fix typos
y86-dev Dec 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading