pub struct CollectionEntry<T> {
pub value: T,
pub field_span: SourceSpan,
pub value_span: Span,
}Expand description
One valid collection entry, retaining its declaration and relative spans.
Fields§
§value: TParsed value.
field_span: SourceSpanSpan of the complete DCF field declaration.
value_span: SpanSpan relative to the unfolded field value.
Trait Implementations§
Source§impl<T: Clone> Clone for CollectionEntry<T>
impl<T: Clone> Clone for CollectionEntry<T>
Source§impl<T: Debug> Debug for CollectionEntry<T>
impl<T: Debug> Debug for CollectionEntry<T>
impl<T: Eq> Eq for CollectionEntry<T>
Source§impl<T: PartialEq> PartialEq for CollectionEntry<T>
impl<T: PartialEq> PartialEq for CollectionEntry<T>
impl<T: PartialEq> StructuralPartialEq for CollectionEntry<T>
Auto Trait Implementations§
impl<T> Freeze for CollectionEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for CollectionEntry<T>where
T: RefUnwindSafe,
impl<T> Send for CollectionEntry<T>where
T: Send,
impl<T> Sync for CollectionEntry<T>where
T: Sync,
impl<T> Unpin for CollectionEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for CollectionEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for CollectionEntry<T>where
T: UnwindSafe,
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