pub struct SemanticSourceMapping {
pub source: String,
pub offset: u64,
pub logical_position: u64,
}Expand description
A token is selected only by offset into its admitted observed payload.
Fields§
§source: String§offset: u64§logical_position: u64Trait Implementations§
Source§impl Clone for SemanticSourceMapping
impl Clone for SemanticSourceMapping
Source§fn clone(&self) -> SemanticSourceMapping
fn clone(&self) -> SemanticSourceMapping
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 moreAuto Trait Implementations§
impl Freeze for SemanticSourceMapping
impl RefUnwindSafe for SemanticSourceMapping
impl Send for SemanticSourceMapping
impl Sync for SemanticSourceMapping
impl Unpin for SemanticSourceMapping
impl UnsafeUnpin for SemanticSourceMapping
impl UnwindSafe for SemanticSourceMapping
Blanket Implementations§
impl<T> Allocation for T
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