Module luminance::rw
[−]
[src]
I/O access rights.
I/O functions might operate in three favours:
- in read-only (
R
); - in write-only (
W
); - in read-write (
RW
).
That module exports that concept via unit-structs plus the notion of Readable
and Writable
.
You can use that module to tag types and functions to add the concept of access.
Structs
R |
Read-only access. |
RW |
Both read and write access. |
W |
Write-only access. |
Traits
Readable |
A trait that represents readable access; that is, |
Writable |
A trait that represents writable access; that is, |