Skip to main content

position_style_methods

Macro position_style_methods 

Source
position_style_methods!() { /* proc-macro */ }
Expand description

Generates the position methods for Styled, such as relative and absolute.

Call it in the body of the Styled trait. The optional { visibility: pub } argument sets the visibility of the generated methods.