pub enum SegmentDisposition {
Included,
Truncated,
Duplicate,
ConflictShadowed,
OmittedForBudget,
}Expand description
Final compiler disposition of one input segment.
Variants§
Included
Full content appears in output.
Truncated
Truncated content with marker appears in output.
Duplicate
Exact duplicate was deduplicated.
ConflictShadowed
Lower-precedence conflict was shadowed.
OmittedForBudget
Explicit omit/truncate behavior could not fit the budget.
Trait Implementations§
Source§impl Clone for SegmentDisposition
impl Clone for SegmentDisposition
Source§fn clone(&self) -> SegmentDisposition
fn clone(&self) -> SegmentDisposition
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 moreimpl Copy for SegmentDisposition
Source§impl Debug for SegmentDisposition
impl Debug for SegmentDisposition
impl Eq for SegmentDisposition
Source§impl PartialEq for SegmentDisposition
impl PartialEq for SegmentDisposition
impl StructuralPartialEq for SegmentDisposition
Auto Trait Implementations§
impl Freeze for SegmentDisposition
impl RefUnwindSafe for SegmentDisposition
impl Send for SegmentDisposition
impl Sync for SegmentDisposition
impl Unpin for SegmentDisposition
impl UnsafeUnpin for SegmentDisposition
impl UnwindSafe for SegmentDisposition
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