pub struct Inputs {
pub dirs: Vec<PathBuf>,
pub file_regex: Option<String>,
pub files: Vec<PathBuf>,
}Expand description
Source files that trigger re-generation when they change.
At least one of dirs or files should be non-empty.
Fields§
§dirs: Vec<PathBuf>Directories to watch for added/removed files.
file_regex: Option<String>Optional regex filter applied to filenames inside dirs.
files: Vec<PathBuf>Individual files to watch (used when the input is a single spec file).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Inputs
impl<'de> Deserialize<'de> for Inputs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
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