pub struct GeneratedRootFile { /* private fields */ }Expand description
A package-root file Mars generates and owns.
GENERATED_ROOT_FILES is the only list of them: publishing excludes these
paths from authored-source walks, and sentinel validation accepts only them.
A tree row names one of these constants directly; build::plugin::spec’s test
keeps the tree rows and this list in agreement, so a tree cannot generate a
root file the list does not cover.
Implementations§
Trait Implementations§
Source§impl Clone for GeneratedRootFile
impl Clone for GeneratedRootFile
impl Copy for GeneratedRootFile
Auto Trait Implementations§
impl Freeze for GeneratedRootFile
impl RefUnwindSafe for GeneratedRootFile
impl Send for GeneratedRootFile
impl Sync for GeneratedRootFile
impl Unpin for GeneratedRootFile
impl UnsafeUnpin for GeneratedRootFile
impl UnwindSafe for GeneratedRootFile
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