pub enum MayaLightTopLevelItem {
Command(Box<MayaLightTopLevelCommand>),
Proc {
name: Option<String>,
is_global: bool,
span: TextRange,
},
Other {
span: TextRange,
},
}Variants§
Trait Implementations§
Source§impl Clone for MayaLightTopLevelItem
impl Clone for MayaLightTopLevelItem
Source§fn clone(&self) -> MayaLightTopLevelItem
fn clone(&self) -> MayaLightTopLevelItem
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 MayaLightTopLevelItem
impl Debug for MayaLightTopLevelItem
Source§impl PartialEq for MayaLightTopLevelItem
impl PartialEq for MayaLightTopLevelItem
impl Eq for MayaLightTopLevelItem
impl StructuralPartialEq for MayaLightTopLevelItem
Auto Trait Implementations§
impl Freeze for MayaLightTopLevelItem
impl RefUnwindSafe for MayaLightTopLevelItem
impl Send for MayaLightTopLevelItem
impl Sync for MayaLightTopLevelItem
impl Unpin for MayaLightTopLevelItem
impl UnsafeUnpin for MayaLightTopLevelItem
impl UnwindSafe for MayaLightTopLevelItem
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