pub struct CmeFixtureMarkerV0 {
pub kind: &'static str,
pub name: Option<String>,
pub byte_start: usize,
pub byte_end: usize,
}Expand description
One marker extracted from fixture source text.
Fields§
§kind: &'static strMarker kind such as cursor, namedPoint, or rangeStart.
name: Option<String>Optional marker payload.
byte_start: usizeByte offset in the cleaned source.
byte_end: usizeByte end in the cleaned source.
Trait Implementations§
Source§impl Clone for CmeFixtureMarkerV0
impl Clone for CmeFixtureMarkerV0
Source§fn clone(&self) -> CmeFixtureMarkerV0
fn clone(&self) -> CmeFixtureMarkerV0
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 CmeFixtureMarkerV0
impl Debug for CmeFixtureMarkerV0
Source§impl PartialEq for CmeFixtureMarkerV0
impl PartialEq for CmeFixtureMarkerV0
Source§fn eq(&self, other: &CmeFixtureMarkerV0) -> bool
fn eq(&self, other: &CmeFixtureMarkerV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CmeFixtureMarkerV0
impl Serialize for CmeFixtureMarkerV0
impl Eq for CmeFixtureMarkerV0
impl StructuralPartialEq for CmeFixtureMarkerV0
Auto Trait Implementations§
impl Freeze for CmeFixtureMarkerV0
impl RefUnwindSafe for CmeFixtureMarkerV0
impl Send for CmeFixtureMarkerV0
impl Sync for CmeFixtureMarkerV0
impl Unpin for CmeFixtureMarkerV0
impl UnsafeUnpin for CmeFixtureMarkerV0
impl UnwindSafe for CmeFixtureMarkerV0
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