サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
夏の料理
blog.waft.me
September 1, 2017 外部とは? pubキーワードがつけられたものは外部から参照できる。 この場合の「外部」とは「モジュール外」のことで、基本的にはモジュールが境界となる。 ただしもちろんクレートもモジュールを含んでいるので、外部クレートのことも指す。 pubキーワードについて pubの規則は2つのみ。 ・ If an item is public, then it can be accessed externally from some module m if you can access all the item’s parent modules from m. You can also potentially be able to name the item through re-exports. See below. ・If an item is private, i
このページを最初にブックマークしてみませんか?
『https://blog.waft.me/』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く