pub struct DeclarationCommand {
pub span: Span,
pub parts: Vec<DeclarationPart>,
}Fields§
§span: Span§parts: Vec<DeclarationPart>declare, typeset, export, readonly, local, plus flag words
and the resulting assignments — the grammar bundles them as ordered
anonymous children, so we keep them as a flat list.
Trait Implementations§
Source§impl Clone for DeclarationCommand
impl Clone for DeclarationCommand
Source§fn clone(&self) -> DeclarationCommand
fn clone(&self) -> DeclarationCommand
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 moreSource§impl Debug for DeclarationCommand
impl Debug for DeclarationCommand
Source§impl<'de> Deserialize<'de> for DeclarationCommand
impl<'de> Deserialize<'de> for DeclarationCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeclarationCommand
impl PartialEq for DeclarationCommand
Source§impl Serialize for DeclarationCommand
impl Serialize for DeclarationCommand
impl StructuralPartialEq for DeclarationCommand
Auto Trait Implementations§
impl Freeze for DeclarationCommand
impl RefUnwindSafe for DeclarationCommand
impl Send for DeclarationCommand
impl Sync for DeclarationCommand
impl Unpin for DeclarationCommand
impl UnsafeUnpin for DeclarationCommand
impl UnwindSafe for DeclarationCommand
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