Skip to main content

AstStatement

Enum AstStatement 

Source
pub enum AstStatement {
Show 28 variants EmptyStatement(EmptyStatement), DefaultValue(DefaultValue), Literal(AstLiteral), MultipliedStatement(MultipliedStatement), ReferenceExpr(ReferenceExpr), Identifier(String), Super(Option<()>), This, DirectAccess(DirectAccess), HardwareAccess(HardwareAccess), BinaryExpression(BinaryExpression), UnaryExpression(UnaryExpression), ExpressionList(Vec<AstNode>), ParenExpression(Box<AstNode>), RangeStatement(RangeStatement), VlaRangeStatement, Assignment(Assignment), OutputAssignment(Assignment), RefAssignment(Assignment), CallStatement(CallStatement), ControlStatement(AstControlStatement), CaseCondition(Box<AstNode>), ExitStatement(()), ContinueStatement(()), ReturnStatement(ReturnStatement), JumpStatement(JumpStatement), LabelStatement(LabelStatement), AllocationStatement(Allocation),
}

Variants§

§

EmptyStatement(EmptyStatement)

§

DefaultValue(DefaultValue)

§

Literal(AstLiteral)

§

MultipliedStatement(MultipliedStatement)

§

ReferenceExpr(ReferenceExpr)

§

Identifier(String)

§

Super(Option<()>)

§

This

§

DirectAccess(DirectAccess)

§

HardwareAccess(HardwareAccess)

§

BinaryExpression(BinaryExpression)

§

UnaryExpression(UnaryExpression)

§

ExpressionList(Vec<AstNode>)

§

ParenExpression(Box<AstNode>)

§

RangeStatement(RangeStatement)

§

VlaRangeStatement

§

Assignment(Assignment)

§

OutputAssignment(Assignment)

§

RefAssignment(Assignment)

§

CallStatement(CallStatement)

§

ControlStatement(AstControlStatement)

§

CaseCondition(Box<AstNode>)

§

ExitStatement(())

§

ContinueStatement(())

§

ReturnStatement(ReturnStatement)

§

JumpStatement(JumpStatement)

§

LabelStatement(LabelStatement)

§

AllocationStatement(Allocation)

Trait Implementations§

Source§

impl Clone for AstStatement

Source§

fn clone(&self) -> AstStatement

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AstStatement

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AstStatement
where 'de: 'static,

Source§

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 AstStatement

Source§

fn eq(&self, other: &AstStatement) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for AstStatement

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime Allocation

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime Assignment

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime AstControlStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime AstLiteral

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime BinaryExpression

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime Box<AstNode>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime CallStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime DefaultValue

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime DirectAccess

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime EmptyStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime HardwareAccess

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime JumpStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime LabelStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime MultipliedStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime Option<()>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime RangeStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime ReferenceExpr

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime ReturnStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime String

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime UnaryExpression

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime Vec<AstNode>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for ()

Source§

type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut Allocation

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut Assignment

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut AstControlStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut AstLiteral

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut BinaryExpression

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut Box<AstNode>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut CallStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut DefaultValue

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut DirectAccess

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut EmptyStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut HardwareAccess

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut JumpStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut LabelStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut MultipliedStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut Option<()>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut RangeStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut ReferenceExpr

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut ReturnStatement

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut String

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut UnaryExpression

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut Vec<AstNode>

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for ()

Source§

type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime mut AstStatement, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for ()

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for Allocation

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for Assignment

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for AstControlStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for AstLiteral

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for BinaryExpression

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for Box<AstNode>

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for CallStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for DefaultValue

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for DirectAccess

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for EmptyStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for HardwareAccess

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for JumpStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for LabelStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for MultipliedStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for Option<()>

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for RangeStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for ReferenceExpr

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for ReturnStatement

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for String

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for UnaryExpression

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AstStatement> for Vec<AstNode>

Source§

type Error = TryIntoError<AstStatement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: AstStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for AstStatement

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,