Struct sway_error::warning::CompileWarning
source · Fields§
§span: Span
§warning_content: Warning
Implementations§
Trait Implementations§
source§impl Clone for CompileWarning
impl Clone for CompileWarning
source§fn clone(&self) -> CompileWarning
fn clone(&self) -> CompileWarning
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 CompileWarning
impl Debug for CompileWarning
source§impl Hash for CompileWarning
impl Hash for CompileWarning
source§impl PartialEq<CompileWarning> for CompileWarning
impl PartialEq<CompileWarning> for CompileWarning
source§fn eq(&self, other: &CompileWarning) -> bool
fn eq(&self, other: &CompileWarning) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.