pub struct MergedEntry { /* private fields */ }Expand description
One mapping entry in a merged semantic view.
Implementations§
Source§impl MergedEntry
impl MergedEntry
Sourcepub fn key_sources(&self) -> &[SourceSpan]
pub fn key_sources(&self) -> &[SourceSpan]
Returns every authored key location that participated in this entry.
Sourcepub const fn syntax(&self) -> EntrySyntax
pub const fn syntax(&self) -> EntrySyntax
Returns the most recent authored syntax form for this entry.
Sourcepub const fn value(&self) -> &MergedValue
pub const fn value(&self) -> &MergedValue
Returns the merged entry value.
Trait Implementations§
Source§impl Clone for MergedEntry
impl Clone for MergedEntry
Source§fn clone(&self) -> MergedEntry
fn clone(&self) -> MergedEntry
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 MergedEntry
impl Debug for MergedEntry
impl Eq for MergedEntry
Source§impl PartialEq for MergedEntry
impl PartialEq for MergedEntry
impl StructuralPartialEq for MergedEntry
Auto Trait Implementations§
impl Freeze for MergedEntry
impl RefUnwindSafe for MergedEntry
impl Send for MergedEntry
impl Sync for MergedEntry
impl Unpin for MergedEntry
impl UnsafeUnpin for MergedEntry
impl UnwindSafe for MergedEntry
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