pub struct MayaTopLevelCommand {
pub head: String,
pub captured: bool,
pub raw_items: Vec<MayaRawShellItem>,
pub normalized: Option<MayaNormalizedCommand>,
pub specialized: Option<MayaSpecializedCommand>,
pub promotion_kind: MayaPromotionKind,
pub span: TextRange,
}Expand description
Maya-specific view of a top-level command statement.
This keeps the original shell-like surface in Self::raw_items while also
attaching optional normalized and specialized forms.
Fields§
§head: String§captured: bool§raw_items: Vec<MayaRawShellItem>§normalized: Option<MayaNormalizedCommand>§specialized: Option<MayaSpecializedCommand>§promotion_kind: MayaPromotionKind§span: TextRangeTrait Implementations§
Source§impl Clone for MayaTopLevelCommand
impl Clone for MayaTopLevelCommand
Source§fn clone(&self) -> MayaTopLevelCommand
fn clone(&self) -> MayaTopLevelCommand
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 MayaTopLevelCommand
impl Debug for MayaTopLevelCommand
Source§impl PartialEq for MayaTopLevelCommand
impl PartialEq for MayaTopLevelCommand
impl Eq for MayaTopLevelCommand
impl StructuralPartialEq for MayaTopLevelCommand
Auto Trait Implementations§
impl Freeze for MayaTopLevelCommand
impl RefUnwindSafe for MayaTopLevelCommand
impl Send for MayaTopLevelCommand
impl Sync for MayaTopLevelCommand
impl Unpin for MayaTopLevelCommand
impl UnsafeUnpin for MayaTopLevelCommand
impl UnwindSafe for MayaTopLevelCommand
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