pub struct ChunkLabelEntry { /* private fields */ }Implementations§
Source§impl ChunkLabelEntry
impl ChunkLabelEntry
pub fn new( value: String, declaration_range: TextRange, value_range: TextRange, source: ChunkLabelSource, ) -> Self
pub fn value(&self) -> &str
pub fn source(&self) -> ChunkLabelSource
pub fn declaration_range(&self) -> TextRange
pub fn value_range(&self) -> TextRange
Trait Implementations§
Source§impl Clone for ChunkLabelEntry
impl Clone for ChunkLabelEntry
Source§fn clone(&self) -> ChunkLabelEntry
fn clone(&self) -> ChunkLabelEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ChunkLabelEntry
impl Debug for ChunkLabelEntry
Source§impl Hash for ChunkLabelEntry
impl Hash for ChunkLabelEntry
Source§impl PartialEq for ChunkLabelEntry
impl PartialEq for ChunkLabelEntry
impl Eq for ChunkLabelEntry
impl StructuralPartialEq for ChunkLabelEntry
Auto Trait Implementations§
impl Freeze for ChunkLabelEntry
impl RefUnwindSafe for ChunkLabelEntry
impl Send for ChunkLabelEntry
impl Sync for ChunkLabelEntry
impl Unpin for ChunkLabelEntry
impl UnsafeUnpin for ChunkLabelEntry
impl UnwindSafe for ChunkLabelEntry
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