Skip to main content

Crate patina_macro

Crate patina_macro 

Source
Expand description

A crate containing macros to be re-exported in the patina crate.

§License

Copyright (c) Microsoft Corporation.

SPDX-License-Identifier: Apache-2.0

Attribute Macros§

component
Attribute macro for component impl blocks with automatic parameter validation.
patina_test
A proc-macro that registers the annotated function as a test case to be run by patina_test component.

Derive Macros§

FromHob
Derive Macro for implementing the HobConfig trait for a type.
IntoService
Derive Macro for implementing the IntoService trait for a type.
SmbiosRecord
Derive Macro for implementing the SmbiosRecordStructure trait.