pub struct Declared {
pub file: &'static str,
pub line: u32,
pub column: u32,
pub crate_dir: &'static str,
}Expand description
Where an actor! was written.
Fields§
§file: &'static strAs file!() gives it: relative to wherever the compiler ran, which is
usually the workspace root.
line: u32§column: u32§crate_dir: &'static strThe declaring crate’s manifest directory.
Implementations§
Trait Implementations§
impl Copy for Declared
impl Eq for Declared
impl StructuralPartialEq for Declared
Auto Trait Implementations§
impl Freeze for Declared
impl RefUnwindSafe for Declared
impl Send for Declared
impl Sync for Declared
impl Unpin for Declared
impl UnsafeUnpin for Declared
impl UnwindSafe for Declared
Blanket Implementations§
impl<M> AllowedSignal<M> for Mwhere
M: 'static,
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