Skip to main content

Crate bitwarden_core_macro

Crate bitwarden_core_macro 

Source
Expand description

Proc macros for the Bitwarden SDK.

Provides:

  • #[derive(FromClient)] derive macro for implementing the FromClient trait on client structs.
  • #[client_trait] attribute macro that generates a FromClientShared bridge for a feature client’s hand-written trait.

Attribute Macros§

client_trait
Attribute macro that emits the FromClientShared bridge for a hand-written feature client trait.

Derive Macros§

FromClient
Derive macro for implementing the FromClient trait on client structs.