pub struct Switched {
pub crate_name: String,
pub on: bool,
pub files: Vec<PathBuf>,
pub functions: Vec<String>,
pub skipped: Vec<String>,
pub switch: String,
}Fields§
§crate_name: String§on: bool§files: Vec<PathBuf>Source files that changed.
functions: Vec<String>Functions that run in Rust while the unit is on.
skipped: Vec<String>Exports left to the original, with why.
switch: StringThe variable that sends this unit back to the original for one run.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Switched
impl Freeze for Switched
impl Move for Switched
impl RefUnwindSafe for Switched
impl Send for Switched
impl Sync for Switched
impl Unpin for Switched
impl UnsafeUnpin for Switched
impl UnwindSafe for Switched
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