[][src]Function near_bindgen_core::initializer_attribute::process_init_method

pub fn process_init_method(
    method: &ImplItemMethod,
    impl_type: &Type,
    is_trait_impl: bool
) -> Result<TokenStream2>

Attempts processing initialization method. Expects method to be static (not take self) and return Self.