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