Trait DefinedAt
pub trait DefinedAt {
// Required method
fn defined_at(&self) -> Option<&'static Location<'static>>;
}
Expand description
Describes where the signal was defined. This is used for diagnostic warnings and is purely a debug-mode tool.
Required Methodsยง
fn defined_at(&self) -> Option<&'static Location<'static>>
fn defined_at(&self) -> Option<&'static Location<'static>>
Returns the location at which the signal was defined. This is usually simply None
in
release mode.