pub struct PropsSource {
pub file: String,
pub line: u32,
pub column: u32,
}Expand description
A source declaration on either side of a binding diagnostic.
Fields§
§file: StringSource file reported by the compiler or derive expansion.
line: u32One-based declaration line.
column: u32One-based declaration column (UTF-16 for TypeScript).
Implementations§
Source§impl PropsSource
impl PropsSource
Trait Implementations§
Source§impl Clone for PropsSource
impl Clone for PropsSource
Source§fn clone(&self) -> PropsSource
fn clone(&self) -> PropsSource
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 PropsSource
impl Debug for PropsSource
impl Eq for PropsSource
Source§impl PartialEq for PropsSource
impl PartialEq for PropsSource
impl StructuralPartialEq for PropsSource
Auto Trait Implementations§
impl Freeze for PropsSource
impl RefUnwindSafe for PropsSource
impl Send for PropsSource
impl Sync for PropsSource
impl Unpin for PropsSource
impl UnsafeUnpin for PropsSource
impl UnwindSafe for PropsSource
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