You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the proposed #[skip] attribute on bitfield fields it is possible to entirely skip code generation for the flagged field. Also this allows to have two optional parameters, getters and setters that skips generation of the field's getters or setters respectively. By default #[skip] skips both, #[skip(getters)] only skips generation of getters, #[skip(setters)] only skips generation of setters and #[skip(getters, setters)] is just equal to #[skip].
The text was updated successfully, but these errors were encountered:
Using the proposed
#[skip]
attribute on bitfield fields it is possible to entirely skip code generation for the flagged field. Also this allows to have two optional parameters,getters
andsetters
that skips generation of the field's getters or setters respectively. By default#[skip]
skips both,#[skip(getters)]
only skips generation of getters,#[skip(setters)]
only skips generation ofsetters
and#[skip(getters, setters)]
is just equal to#[skip]
.The text was updated successfully, but these errors were encountered: