Skip to main content

padding_style_methods

Macro padding_style_methods 

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

Generates the padding methods for Styled, such as p_4 and px_2.

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