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 Switchedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<String>: Freeze,
impl Move for Switched
impl RefUnwindSafe for Switched
impl Send for Switchedwhere
RawVecInner: Send,
impl Sync for Switchedwhere
RawVecInner: Sync,
impl Unpin for Switched
impl UnsafeUnpin for Switchedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Switchedwhere
RawVecInner: UnwindSafe,
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