pub struct Origin {
pub module_path: &'static str,
pub filename: &'static str,
pub line_nr: u32,
}
Expand description
Structure representing the origin of an event.
Fields§
§module_path: &'static str
Module path where the event was set.
Note: Use module_path!()
.
filename: &'static str
Filename where the event was set.
Note: Use file!()
.
line_nr: u32
Line number where the event was set.
Note: Use line!()
.
Implementations§
Trait Implementations§
impl Eq for Origin
impl StructuralEq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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