pub enum CStyleForPart {
Comma {
span: Span,
},
Binary(BinaryExpression),
CommandSubstitution(CommandSubstitution),
Expansion(Expansion),
Number(Number),
Parenthesized(ParenthesizedExpression),
Postfix(PostfixExpression),
SimpleExpansion(SimpleExpansion),
StringNode(StringNode),
Unary(UnaryExpression),
VariableAssignment(VariableAssignment),
Word(Word),
}Expand description
Element inside the parenthesized header of a C-style for ((..;..;..)).
Variants§
Comma
Binary(BinaryExpression)
CommandSubstitution(CommandSubstitution)
Expansion(Expansion)
Number(Number)
Parenthesized(ParenthesizedExpression)
Postfix(PostfixExpression)
SimpleExpansion(SimpleExpansion)
StringNode(StringNode)
Unary(UnaryExpression)
VariableAssignment(VariableAssignment)
Word(Word)
Trait Implementations§
Source§impl Clone for CStyleForPart
impl Clone for CStyleForPart
Source§fn clone(&self) -> CStyleForPart
fn clone(&self) -> CStyleForPart
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 CStyleForPart
impl Debug for CStyleForPart
Source§impl<'de> Deserialize<'de> for CStyleForPart
impl<'de> Deserialize<'de> for CStyleForPart
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 CStyleForPart
impl PartialEq for CStyleForPart
Source§impl Serialize for CStyleForPart
impl Serialize for CStyleForPart
impl StructuralPartialEq for CStyleForPart
Auto Trait Implementations§
impl Freeze for CStyleForPart
impl RefUnwindSafe for CStyleForPart
impl Send for CStyleForPart
impl Sync for CStyleForPart
impl Unpin for CStyleForPart
impl UnsafeUnpin for CStyleForPart
impl UnwindSafe for CStyleForPart
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