pub struct ReloadReport {
pub value: Value,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Result of a successful hot reload.
Fields§
§value: ValueValue produced by evaluating the reloaded source.
diagnostics: Vec<Diagnostic>Non-fatal reload diagnostics such as incompatible preserved values.
Trait Implementations§
Source§impl Clone for ReloadReport
impl Clone for ReloadReport
Source§fn clone(&self) -> ReloadReport
fn clone(&self) -> ReloadReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReloadReport
impl Debug for ReloadReport
Source§impl PartialEq for ReloadReport
impl PartialEq for ReloadReport
Source§fn eq(&self, other: &ReloadReport) -> bool
fn eq(&self, other: &ReloadReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReloadReport
Auto Trait Implementations§
impl Freeze for ReloadReport
impl RefUnwindSafe for ReloadReport
impl Send for ReloadReport
impl Sync for ReloadReport
impl Unpin for ReloadReport
impl UnsafeUnpin for ReloadReport
impl UnwindSafe for ReloadReport
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