#[repr(C)]pub struct Location(_);
Expand description
A location in JavaScript source.
Implementations§
source§impl Location
impl Location
pub fn get_line_number(&self) -> int
pub fn get_column_number(&self) -> int
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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