pub enum VariantEndingPart {
Single(SpannedNumber),
Range {
start: SpannedNumber,
end: SpannedNumber,
span: Span,
},
Text {
text: String,
span: Span,
},
}Variants§
Trait Implementations§
Source§impl Clone for VariantEndingPart
impl Clone for VariantEndingPart
Source§impl Debug for VariantEndingPart
impl Debug for VariantEndingPart
impl Eq for VariantEndingPart
Source§impl PartialEq for VariantEndingPart
impl PartialEq for VariantEndingPart
impl StructuralPartialEq for VariantEndingPart
Auto Trait Implementations§
impl Freeze for VariantEndingPart
impl RefUnwindSafe for VariantEndingPart
impl Send for VariantEndingPart
impl Sync for VariantEndingPart
impl Unpin for VariantEndingPart
impl UnsafeUnpin for VariantEndingPart
impl UnwindSafe for VariantEndingPart
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