pub struct UpdateTarget {
pub boundary: PathBuf,
pub accepted: PathBuf,
pub within_circular_import: bool,
}Expand description
One boundary an update stops at (Vite’s PropagationBoundary): the module
that accepts, the module it accepts (itself, or a declared dependency), and
whether the boundary sits inside an import cycle with the changed chain, in
which case a failed re-import must reset the page instead of surfacing an
error (Vite’s isWithinCircularImport).
Fields§
§boundary: PathBuf§accepted: PathBuf§within_circular_import: boolTrait Implementations§
Source§impl Clone for UpdateTarget
impl Clone for UpdateTarget
Source§impl Debug for UpdateTarget
impl Debug for UpdateTarget
impl Eq for UpdateTarget
Source§impl Ord for UpdateTarget
impl Ord for UpdateTarget
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UpdateTarget
impl PartialEq for UpdateTarget
Source§impl PartialOrd for UpdateTarget
impl PartialOrd for UpdateTarget
impl StructuralPartialEq for UpdateTarget
Auto Trait Implementations§
impl Freeze for UpdateTarget
impl RefUnwindSafe for UpdateTarget
impl Send for UpdateTarget
impl Sync for UpdateTarget
impl Unpin for UpdateTarget
impl UnsafeUnpin for UpdateTarget
impl UnwindSafe for UpdateTarget
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