{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2024%2F07%2F30%2F000000\" title=\"\u3010Rust\u3011\u9045\u5ef6\u521d\u671f\u5316\u3092\u884c\u3046 LazyCell \u3068\u00a0LazyLock - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"LazyCell LazyLock LazyCell \u3068 LazyLock \u306f\u9045\u5ef6\u521d\u671f\u5316\u3092\u63d0\u4f9b\u3059\u308b\u69cb\u9020\u4f53\u3067\u3001Rust 1.80.0 \u3067\u5b89\u5b9a\u7248\u3068\u306a\u3063\u305f\u3002 LazyLock \u306f\u30b9\u30ec\u30c3\u30c9\u30bb\u30fc\u30d5\u3067\u3042\u308a\u3001static \u5909\u6570\u3092\u9045\u5ef6\u521d\u671f\u5316\u3067\u304d\u308b\u3002 LazyCell LazyCell \u306f\u521d\u56de\u30a2\u30af\u30bb\u30b9\u6642\u306b\u6307\u5b9a\u3055\u308c\u305f\u95a2\u6570 F \u3067\u5024\u3092\u521d\u671f\u5316\u3057\u3001\u305d\u308c\u4ee5\u964d\u306f\u521d\u671f\u5316\u6e08\u307f\u306e\u5024\u3092\u5229\u7528\u3067\u304d\u308b\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u9020\u4f53\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3002 pub struct LazyCell<T, F = fn() -> T> { state: UnsafeCell<State<T, F>>, } \u5358\u7d14\u306b 3 \u3067\u9045\u5ef6\u521d\u671f\u5316\u3059\u308b\u4f8b\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u3088\u2026","provider_url":"https://hatena.blog","title":"\u3010Rust\u3011\u9045\u5ef6\u521d\u671f\u5316\u3092\u884c\u3046 LazyCell \u3068\u00a0LazyLock","type":"rich","height":"190","published":"2024-07-30 00:00:00","author_url":"https://blog.hatena.ne.jp/Naotsugu/","version":"1.0","width":"100%","author_name":"Naotsugu","categories":[],"blog_title":"A Memorandum","provider_name":"Hatena Blog","blog_url":"https://blog1.mammb.com/","url":"https://blog1.mammb.com/entry/2024/07/30/000000"}