1use syn::Path; 2 3#[derive(Clone)] 4pub enum RustVisibility { 5 /// `pub` 6 Public, 7 /// `pub(crate)`, `pub(super)` or `pub(in path::to::module)` 8 Restricted(Path), 9 /// Default 10 Private, 11}