pub struct LeanWorkerModuleSourceSpan {
pub start_line: u32,
pub start_column: u32,
pub end_line: u32,
pub end_column: u32,
}Expand description
Source span in the original file. Positions are 1-based.
Fields§
§start_line: u32§start_column: u32§end_line: u32§end_column: u32Trait Implementations§
Source§impl Clone for LeanWorkerModuleSourceSpan
impl Clone for LeanWorkerModuleSourceSpan
Source§fn clone(&self) -> LeanWorkerModuleSourceSpan
fn clone(&self) -> LeanWorkerModuleSourceSpan
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 LeanWorkerModuleSourceSpan
impl Debug for LeanWorkerModuleSourceSpan
Source§impl<'de> Deserialize<'de> for LeanWorkerModuleSourceSpan
impl<'de> Deserialize<'de> for LeanWorkerModuleSourceSpan
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerModuleSourceSpan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerModuleSourceSpan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerModuleSourceSpan
Source§impl PartialEq for LeanWorkerModuleSourceSpan
impl PartialEq for LeanWorkerModuleSourceSpan
Source§fn eq(&self, other: &LeanWorkerModuleSourceSpan) -> bool
fn eq(&self, other: &LeanWorkerModuleSourceSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerModuleSourceSpan
impl Serialize for LeanWorkerModuleSourceSpan
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerModuleSourceSpan
Auto Trait Implementations§
impl Freeze for LeanWorkerModuleSourceSpan
impl RefUnwindSafe for LeanWorkerModuleSourceSpan
impl Send for LeanWorkerModuleSourceSpan
impl Sync for LeanWorkerModuleSourceSpan
impl Unpin for LeanWorkerModuleSourceSpan
impl UnsafeUnpin for LeanWorkerModuleSourceSpan
impl UnwindSafe for LeanWorkerModuleSourceSpan
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