Attribute Macro contructor_derive::constructor
source · #[constructor]
Expand description
Registers a function to be called before main (if an executable) or when loaded (if a dynamic library).
#[constructor]
Registers a function to be called before main (if an executable) or when loaded (if a dynamic library).