Struct devise_core::mapper::MapperBuild
source · pub struct MapperBuild { /* private fields */ }
Implementations§
source§impl MapperBuild
impl MapperBuild
pub fn new() -> Self
pub fn with_output<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, TokenStream) -> TokenStream + 'static,
pub fn try_with_output<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, TokenStream) -> Result<TokenStream> + 'static,
pub fn input_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Input<'_>) -> TokenStream + 'static,
pub fn try_input_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Input<'_>) -> Result<TokenStream> + 'static,
pub fn struct_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Struct<'_>) -> TokenStream + 'static,
pub fn try_struct_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Struct<'_>) -> Result<TokenStream> + 'static,
pub fn enum_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Enum<'_>) -> TokenStream + 'static,
pub fn try_enum_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Enum<'_>) -> Result<TokenStream> + 'static,
pub fn variant_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Variant<'_>) -> TokenStream + 'static,
pub fn try_variant_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Variant<'_>) -> Result<TokenStream> + 'static,
pub fn fields_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Fields<'_>) -> TokenStream + 'static,
pub fn try_fields_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Fields<'_>) -> Result<TokenStream> + 'static,
pub fn field_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Field<'_>) -> TokenStream + 'static,
pub fn try_field_map<F>(self, f: F) -> Selfwhere F: FnMut(&mut Self, Field<'_>) -> Result<TokenStream> + 'static,
Trait Implementations§
source§impl Default for MapperBuild
impl Default for MapperBuild
source§fn default() -> MapperBuild
fn default() -> MapperBuild
Returns the “default value” for a type. Read more