Struct syn::VisRestricted
source · pub struct VisRestricted {
pub pub_token: Pub,
pub paren_token: Paren,
pub in_token: Option<In>,
pub path: Box<Path>,
}
Expand description
A visibility level restricted to some path: pub(self)
or
pub(super)
or pub(crate)
or pub(in some::module)
.
Fields§
§pub_token: Pub
§paren_token: Paren
§in_token: Option<In>
§path: Box<Path>