pub struct LoadedSourceEventBody {
pub reason: LoadedSourceEventReason,
pub source: Source,
}Expand description
Arguments for a LoadedSource event.
Fields§
§reason: LoadedSourceEventReasonThe reason for the event. Values: ‘new’, ‘changed’, ‘removed’
source: SourceThe new, changed, or removed source.
Trait Implementations§
Source§impl Clone for LoadedSourceEventBody
impl Clone for LoadedSourceEventBody
Source§impl Debug for LoadedSourceEventBody
impl Debug for LoadedSourceEventBody
Auto Trait Implementations§
impl Freeze for LoadedSourceEventBody
impl RefUnwindSafe for LoadedSourceEventBody
impl Send for LoadedSourceEventBody
impl Sync for LoadedSourceEventBody
impl Unpin for LoadedSourceEventBody
impl UnsafeUnpin for LoadedSourceEventBody
impl UnwindSafe for LoadedSourceEventBody
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