pub struct PrivateItem {
pub path: Vec<String>,
pub file: PathBuf,
pub line: usize,
pub crate_visible: bool,
}Expand description
A mod or a wired function that is not pub: the wiring cannot name it or what is below it.
Fields§
§path: Vec<String>§file: PathBuf§line: usize§crate_visible: boolpub(crate): the module’s own wiring reaches it, the app’s does not.
Trait Implementations§
Source§impl Clone for PrivateItem
impl Clone for PrivateItem
Source§impl Debug for PrivateItem
impl Debug for PrivateItem
impl Eq for PrivateItem
Source§impl PartialEq for PrivateItem
impl PartialEq for PrivateItem
impl StructuralPartialEq for PrivateItem
Auto Trait Implementations§
impl Forget for PrivateItem
impl Freeze for PrivateItem
impl RefUnwindSafe for PrivateItem
impl Send for PrivateItem
impl Sync for PrivateItem
impl Unpin for PrivateItem
impl UnsafeUnpin for PrivateItem
impl UnwindSafe for PrivateItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more