pub struct ScriptLine<'a> {
pub line_no: usize,
pub span: Range<usize>,
pub raw: &'a str,
pub kind: ScriptLineKind<'a>,
}Fields§
§line_no: usize§span: Range<usize>§raw: &'a str§kind: ScriptLineKind<'a>Trait Implementations§
Source§impl<'a> Clone for ScriptLine<'a>
impl<'a> Clone for ScriptLine<'a>
Source§fn clone(&self) -> ScriptLine<'a>
fn clone(&self) -> ScriptLine<'a>
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<'a> Debug for ScriptLine<'a>
impl<'a> Debug for ScriptLine<'a>
impl<'a> Eq for ScriptLine<'a>
Source§impl<'a> PartialEq for ScriptLine<'a>
impl<'a> PartialEq for ScriptLine<'a>
Source§fn eq(&self, other: &ScriptLine<'a>) -> bool
fn eq(&self, other: &ScriptLine<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ScriptLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScriptLine<'a>
impl<'a> RefUnwindSafe for ScriptLine<'a>
impl<'a> Send for ScriptLine<'a>
impl<'a> Sync for ScriptLine<'a>
impl<'a> Unpin for ScriptLine<'a>
impl<'a> UnsafeUnpin for ScriptLine<'a>
impl<'a> UnwindSafe for ScriptLine<'a>
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