Struct starlark::analysis::LintMessage
source · pub struct LintMessage { /* private fields */ }
Expand description
A JSON-deriving type that gives a stable interface to downstream types. Do NOT change this type, change Message instead.
Implementations§
source§impl LintMessage
impl LintMessage
sourcepub fn new(x: EvalMessage) -> Self
pub fn new(x: EvalMessage) -> Self
Construct from an EvalMessage
.
Trait Implementations§
source§impl Clone for LintMessage
impl Clone for LintMessage
source§fn clone(&self) -> LintMessage
fn clone(&self) -> LintMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LintMessage
impl Debug for LintMessage
Auto Trait Implementations§
impl RefUnwindSafe for LintMessage
impl Send for LintMessage
impl Sync for LintMessage
impl Unpin for LintMessage
impl UnwindSafe for LintMessage
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