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
sourceimpl<'de> Deserialize<'de> for Range
impl<'de> Deserialize<'de> for Range
sourcefn 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
sourceimpl PartialEq<Range> for Range
impl PartialEq<Range> for Range
impl Copy for Range
impl Eq for Range
impl StructuralEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more