{"blog_url":"https://giarrium.hatenablog.com/","published":"2021-10-16 18:33:03","title":"121\u65e5\u76ee","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F10%2F16%2F183303\" title=\"121\u65e5\u76ee - \u305c\u306e\u305c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/gurrium/","categories":["Swift"],"blog_title":"\u305c\u306e\u305c","description":"\u65e5\u8a18 \u6687\u3059\u304e\u308b\uff0e \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 struct CallableStruct { var value: Int func callAsFunction(_ number: Int, scale: Int) { print(scale * (number + value)) } func callAsFunction() { print(\"nothing\") } } let callable = CallableStruct(value: 1) callable(2, scale: 3) callable() callable.callAsFunction(2, scale: 3) calla\u2026","version":"1.0","type":"rich","provider_name":"Hatena Blog","width":"100%","author_name":"gurrium","image_url":null,"provider_url":"https://hatena.blog","url":"https://giarrium.hatenablog.com/entry/2021/10/16/183303","height":"190"}