pub struct ZshCaseGroupPart {
pub pattern_part_index: usize,
pub span: Span,
}Expand description
One branch separator recognized inside a zsh case pattern group.
Fields§
§pattern_part_index: usizeIndex of the owning pattern part within the parsed pattern.
span: SpanSource span covering the separator syntax.
Trait Implementations§
Source§impl Clone for ZshCaseGroupPart
impl Clone for ZshCaseGroupPart
Source§fn clone(&self) -> ZshCaseGroupPart
fn clone(&self) -> ZshCaseGroupPart
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 ZshCaseGroupPart
impl Debug for ZshCaseGroupPart
Source§impl PartialEq for ZshCaseGroupPart
impl PartialEq for ZshCaseGroupPart
impl Eq for ZshCaseGroupPart
impl StructuralPartialEq for ZshCaseGroupPart
Auto Trait Implementations§
impl Freeze for ZshCaseGroupPart
impl RefUnwindSafe for ZshCaseGroupPart
impl Send for ZshCaseGroupPart
impl Sync for ZshCaseGroupPart
impl Unpin for ZshCaseGroupPart
impl UnsafeUnpin for ZshCaseGroupPart
impl UnwindSafe for ZshCaseGroupPart
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