Skip to content

Commit 189ee8b

Browse files
authored
docs: add map attribute to list (sharksforarms#570)
The `map` attribute was missing from the "List of attributes". This commit adds it.
1 parent 90febe2 commit 189ee8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/attributes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ enum DekuEnum {
5858
| [pad_bits_after](#pad_bits_after) | field | Skip bits after reading, pad after writing
5959
| [cond](#cond) | field | Conditional expression for the field
6060
| [default](#default) | field | Provide default value. Used with [skip](#skip) or [cond](#cond)
61+
| [map](#map) | field | Specify a function or lambda to apply to the result of the read
6162
| [bits](#bits) | field | Set the bit-size of the field
6263
| [reader](#readerwriter) | variant, field | Custom reader code
6364
| [writer](#readerwriter) | variant, field | Custom writer code

0 commit comments

Comments
 (0)