Struct sway_types::Range
source · [−]Expand description
Based on <https://llvm.org/docs/CoverageMappingFormat.html#source-code-range>
Fields
start: Position
Beginning of the code range
end: Position
End of the code range (inclusive)
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Range
impl UnwindSafe for Range
Blanket Implementations
Mutably borrows from an owned value. Read more