pub struct MessageResolution<'a> {
pub lint_name: &'a str,
pub key: MessageKey<'a>,
pub args: &'a Arguments<'a>,
}Expand description
Parameters supplied to safe_resolve_message_set.
Fields§
§lint_name: &'a strTarget lint identifier used for logging and error context.
key: MessageKey<'a>Fluent message key describing the diagnostic entry point.
args: &'a Arguments<'a>Fluent argument map supplied to the lookup.
Trait Implementations§
Source§impl<'a> Clone for MessageResolution<'a>
impl<'a> Clone for MessageResolution<'a>
Source§fn clone(&self) -> MessageResolution<'a>
fn clone(&self) -> MessageResolution<'a>
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 moreimpl<'a> Copy for MessageResolution<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MessageResolution<'a>
impl<'a> !Send for MessageResolution<'a>
impl<'a> !Sync for MessageResolution<'a>
impl<'a> !UnwindSafe for MessageResolution<'a>
impl<'a> Freeze for MessageResolution<'a>
impl<'a> Unpin for MessageResolution<'a>
impl<'a> UnsafeUnpin for MessageResolution<'a>
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