pub struct OriginRange {
pub target_start: u32,
pub len: u32,
pub origin: Origin,
}Expand description
Finalized target-line range. Each target line is emitted at most once.
Fields§
§target_start: u32§len: u32§origin: OriginTrait Implementations§
Source§impl Clone for OriginRange
impl Clone for OriginRange
Source§fn clone(&self) -> OriginRange
fn clone(&self) -> OriginRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OriginRange
impl Debug for OriginRange
Source§impl<'de> Deserialize<'de> for OriginRange
impl<'de> Deserialize<'de> for OriginRange
Source§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
impl Eq for OriginRange
Source§impl PartialEq for OriginRange
impl PartialEq for OriginRange
Source§impl Serialize for OriginRange
impl Serialize for OriginRange
impl StructuralPartialEq for OriginRange
Auto Trait Implementations§
impl Freeze for OriginRange
impl RefUnwindSafe for OriginRange
impl Send for OriginRange
impl Sync for OriginRange
impl Unpin for OriginRange
impl UnsafeUnpin for OriginRange
impl UnwindSafe for OriginRange
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