Skip to main content

margin_style_methods

Macro margin_style_methods 

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

Generates the margin methods for Styled, such as m_4 and mx_auto.

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