pub struct CodeRange {
pub start: u32,
pub end: u32,
pub address: usize,
}Fields§
§start: u32Start byte of the range.
end: u32End byte of the range.
address: usizeAddress of the source code to which the range applies.
Stored as only the address to improve the performance of hashing.
Implementations§
Trait Implementations§
impl Eq for CodeRange
impl StructuralPartialEq for CodeRange
Auto Trait Implementations§
impl Freeze for CodeRange
impl RefUnwindSafe for CodeRange
impl Send for CodeRange
impl Sync for CodeRange
impl Unpin for CodeRange
impl UnwindSafe for CodeRange
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