pub enum FileKind {
Backend,
Frontend,
PluginManifest,
Unknown,
}Expand description
Classify a changed file as backend, frontend, or unknown.
Uses file extension to determine the build target. The caller uses
frontend_dir to disambiguate files that could be either (e.g. .json
files exist in both Rust and JS projects, but we only treat them as
frontend if they’re inside the frontend directory).
Variants§
Auto Trait Implementations§
impl Freeze for FileKind
impl RefUnwindSafe for FileKind
impl Send for FileKind
impl Sync for FileKind
impl Unpin for FileKind
impl UnsafeUnpin for FileKind
impl UnwindSafe for FileKind
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