pub struct ScriptLocation {
pub file: ScriptFile,
pub line: usize,
}Fields§
§file: ScriptFile§line: usizeImplementations§
Source§impl ScriptLocation
impl ScriptLocation
pub fn new(file: ScriptFile, line: usize) -> Self
Trait Implementations§
Source§impl Clone for ScriptLocation
impl Clone for ScriptLocation
Source§fn clone(&self) -> ScriptLocation
fn clone(&self) -> ScriptLocation
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 ScriptLocation
impl Debug for ScriptLocation
Source§impl Display for ScriptLocation
impl Display for ScriptLocation
Source§impl PartialEq for ScriptLocation
impl PartialEq for ScriptLocation
Source§fn eq(&self, other: &ScriptLocation) -> bool
fn eq(&self, other: &ScriptLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScriptLocation
impl Serialize for ScriptLocation
impl Eq for ScriptLocation
impl StructuralPartialEq for ScriptLocation
Auto Trait Implementations§
impl Freeze for ScriptLocation
impl RefUnwindSafe for ScriptLocation
impl Send for ScriptLocation
impl Sync for ScriptLocation
impl Unpin for ScriptLocation
impl UnsafeUnpin for ScriptLocation
impl UnwindSafe for ScriptLocation
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