Structs§
- An access expression to an associated function in a struct, e.g.
Pedersen64::hash()
.
diff --git a/leo_ast/access/associated_function_access/index.html b/leo_ast/access/associated_function_access/index.html index 4eba8cc80c..8b86668b57 100644 --- a/leo_ast/access/associated_function_access/index.html +++ b/leo_ast/access/associated_function_access/index.html @@ -1 +1 @@ -
Pedersen64::hash()
.Pedersen64::hash()
.pub struct AssociatedFunction {
+AssociatedFunction in leo_ast::access::associated_function_access - Rust pub struct AssociatedFunction {
pub variant: Identifier,
pub name: Identifier,
pub arguments: Vec<Expression>,
@@ -10,10 +10,10 @@
§arguments: Vec<Expression>
The arguments passed to the function name
.
§span: Span
The span for the entire expression Foo::bar()
.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for AssociatedFunction
Source§fn clone(&self) -> AssociatedFunction
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for AssociatedFunction
Source§impl<'de> Deserialize<'de> for AssociatedFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for AssociatedFunction
Source§impl Node for AssociatedFunction
Source§impl PartialEq for AssociatedFunction
Source§impl Serialize for AssociatedFunction
Source§impl Eq for AssociatedFunction
Source§impl StructuralPartialEq for AssociatedFunction
Auto Trait Implementations§
§impl Freeze for AssociatedFunction
§impl RefUnwindSafe for AssociatedFunction
§impl Send for AssociatedFunction
§impl Sync for AssociatedFunction
§impl Unpin for AssociatedFunction
§impl UnwindSafe for AssociatedFunction
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for AssociatedFunction
Source§fn clone(&self) -> AssociatedFunction
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for AssociatedFunction
Source§impl<'de> Deserialize<'de> for AssociatedFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for AssociatedFunction
Source§impl Node for AssociatedFunction
Source§impl PartialEq for AssociatedFunction
Source§impl Serialize for AssociatedFunction
Source§impl Eq for AssociatedFunction
Source§impl StructuralPartialEq for AssociatedFunction
Auto Trait Implementations§
§impl Freeze for AssociatedFunction
§impl RefUnwindSafe for AssociatedFunction
§impl Send for AssociatedFunction
§impl Sync for AssociatedFunction
§impl Unpin for AssociatedFunction
§impl UnwindSafe for AssociatedFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/access/struct.AssociatedFunction.html b/leo_ast/access/struct.AssociatedFunction.html
index 411af77309..db0e2ac6fc 100644
--- a/leo_ast/access/struct.AssociatedFunction.html
+++ b/leo_ast/access/struct.AssociatedFunction.html
@@ -1,4 +1,4 @@
-AssociatedFunction in leo_ast::access - Rust pub struct AssociatedFunction {
+AssociatedFunction in leo_ast::access - Rust pub struct AssociatedFunction {
pub variant: Identifier,
pub name: Identifier,
pub arguments: Vec<Expression>,
@@ -10,10 +10,10 @@
§arguments: Vec<Expression>
The arguments passed to the function name
.
§span: Span
The span for the entire expression Foo::bar()
.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for AssociatedFunction
Source§fn clone(&self) -> AssociatedFunction
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for AssociatedFunction
Source§impl<'de> Deserialize<'de> for AssociatedFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for AssociatedFunction
Source§impl Node for AssociatedFunction
Source§impl PartialEq for AssociatedFunction
Source§impl Serialize for AssociatedFunction
Source§impl Eq for AssociatedFunction
Source§impl StructuralPartialEq for AssociatedFunction
Auto Trait Implementations§
§impl Freeze for AssociatedFunction
§impl RefUnwindSafe for AssociatedFunction
§impl Send for AssociatedFunction
§impl Sync for AssociatedFunction
§impl Unpin for AssociatedFunction
§impl UnwindSafe for AssociatedFunction
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for AssociatedFunction
Source§fn clone(&self) -> AssociatedFunction
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for AssociatedFunction
Source§impl<'de> Deserialize<'de> for AssociatedFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for AssociatedFunction
Source§impl Node for AssociatedFunction
Source§impl PartialEq for AssociatedFunction
Source§impl Serialize for AssociatedFunction
Source§impl Eq for AssociatedFunction
Source§impl StructuralPartialEq for AssociatedFunction
Auto Trait Implementations§
§impl Freeze for AssociatedFunction
§impl RefUnwindSafe for AssociatedFunction
§impl Send for AssociatedFunction
§impl Sync for AssociatedFunction
§impl Unpin for AssociatedFunction
§impl UnwindSafe for AssociatedFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/all.html b/leo_ast/all.html
index 60604c1419..0b89a882ef 100644
--- a/leo_ast/all.html
+++ b/leo_ast/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Ast
- access::ArrayAccess
- access::AssociatedConstant
- access::AssociatedFunction
- access::MemberAccess
- access::TupleAccess
- access::array_access::ArrayAccess
- access::associated_constant_access::AssociatedConstant
- access::associated_function_access::AssociatedFunction
- access::member_access::MemberAccess
- access::tuple_access::TupleAccess
- common::identifier::Identifier
- common::location::Location
- common::node_builder::NodeBuilder
- common::node_builder::NodeBuilderInner
- common::positive_number::NonNegativeNumber
- common::static_string::StaticString
- expressions::ArrayExpression
- expressions::BinaryExpression
- expressions::CallExpression
- expressions::CastExpression
- expressions::ErrExpression
- expressions::StructExpression
- expressions::StructVariableInitializer
- expressions::TernaryExpression
- expressions::TupleExpression
- expressions::UnaryExpression
- expressions::UnitExpression
- expressions::array::ArrayExpression
- expressions::binary::BinaryExpression
- expressions::call::CallExpression
- expressions::cast::CastExpression
- expressions::err::ErrExpression
- expressions::literal::DisplayDecimal
- expressions::locator::LocatorExpression
- expressions::struct_init::StructExpression
- expressions::struct_init::StructVariableInitializer
- expressions::ternary::TernaryExpression
- expressions::tuple::TupleExpression
- expressions::unary::UnaryExpression
- expressions::unit::UnitExpression
- functions::Function
- functions::annotation::Annotation
- functions::input::Input
- functions::output::Output
- groups::group_literal::GroupTuple
- mapping::Mapping
- program::Program
- program::program_id::ProgramId
- program::program_scope::ProgramScope
- statement::assert::AssertStatement
- statement::assign::AssignStatement
- statement::block::Block
- statement::conditional::ConditionalStatement
- statement::console::console_statement::ConsoleStatement
- statement::const_::ConstDeclaration
- statement::definition::DefinitionStatement
- statement::expression::ExpressionStatement
- statement::iteration::IterationStatement
- statement::return_::ReturnStatement
- struct::Composite
- struct::member::Member
- stub::Stub
- stub::function_stub::FunctionStub
- types::array::ArrayType
- types::future::FutureType
- types::mapping::MappingType
- types::struct_type::CompositeType
- types::tuple::TupleType
Enums
- expressions::AccessExpression
- expressions::BinaryOperation
- expressions::Expression
- expressions::Literal
- expressions::UnaryOperation
- expressions::access::AccessExpression
- expressions::binary::BinaryOperation
- expressions::literal::Literal
- expressions::unary::UnaryOperation
- functions::core_function::CoreFunction
- functions::mode::Mode
- functions::variant::Variant
- groups::group_coordinate::GroupCoordinate
- groups::group_literal::GroupLiteral
- statement::Statement
- statement::assert::AssertVariant
- statement::console::console_function::ConsoleFunction
- statement::definition::DeclarationType
- statement::definition::declaration_type::DeclarationType
- types::core_constant::CoreConstant
- types::integer_type::IntegerType
- types::type_::Type
- value::Value
Traits
- common::node::Node
- expressions::FromStrRadix
- expressions::literal::FromStrRadix
- passes::consumer::ExpressionConsumer
- passes::consumer::FunctionConsumer
- passes::consumer::ImportConsumer
- passes::consumer::MappingConsumer
- passes::consumer::ProgramConsumer
- passes::consumer::ProgramScopeConsumer
- passes::consumer::StatementConsumer
- passes::consumer::StructConsumer
- passes::reconstructor::ExpressionReconstructor
- passes::reconstructor::ProgramReconstructor
- passes::reconstructor::StatementReconstructor
- passes::visitor::ExpressionVisitor
- passes::visitor::ProgramVisitor
- passes::visitor::StatementVisitor
Macros
- expressions::literal::implement_from_str_radix
- simple_node_impl
- value::implement_const_binary
- value::implement_const_unary
Functions
- common::imported_modules::deserialize
- common::imported_modules::serialize
- normalize_json_value
- remove_key_from_json
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Ast
- access::ArrayAccess
- access::AssociatedConstant
- access::AssociatedFunction
- access::MemberAccess
- access::TupleAccess
- access::array_access::ArrayAccess
- access::associated_constant_access::AssociatedConstant
- access::associated_function_access::AssociatedFunction
- access::member_access::MemberAccess
- access::tuple_access::TupleAccess
- common::identifier::Identifier
- common::location::Location
- common::node_builder::NodeBuilder
- common::node_builder::NodeBuilderInner
- common::positive_number::NonNegativeNumber
- common::static_string::StaticString
- expressions::ArrayExpression
- expressions::BinaryExpression
- expressions::CallExpression
- expressions::CastExpression
- expressions::ErrExpression
- expressions::StructExpression
- expressions::StructVariableInitializer
- expressions::TernaryExpression
- expressions::TupleExpression
- expressions::UnaryExpression
- expressions::UnitExpression
- expressions::array::ArrayExpression
- expressions::binary::BinaryExpression
- expressions::call::CallExpression
- expressions::cast::CastExpression
- expressions::err::ErrExpression
- expressions::literal::DisplayDecimal
- expressions::locator::LocatorExpression
- expressions::struct_init::StructExpression
- expressions::struct_init::StructVariableInitializer
- expressions::ternary::TernaryExpression
- expressions::tuple::TupleExpression
- expressions::unary::UnaryExpression
- expressions::unit::UnitExpression
- functions::Function
- functions::annotation::Annotation
- functions::input::Input
- functions::output::Output
- groups::group_literal::GroupTuple
- indent_display::Indent
- indent_display::IndentWriter
- mapping::Mapping
- program::Program
- program::program_id::ProgramId
- program::program_scope::ProgramScope
- statement::assert::AssertStatement
- statement::assign::AssignStatement
- statement::block::Block
- statement::conditional::ConditionalStatement
- statement::console::console_statement::ConsoleStatement
- statement::const_::ConstDeclaration
- statement::definition::DefinitionStatement
- statement::expression::ExpressionStatement
- statement::iteration::IterationStatement
- statement::return_::ReturnStatement
- struct::Composite
- struct::member::Member
- stub::Stub
- stub::function_stub::FunctionStub
- types::array::ArrayType
- types::future::FutureType
- types::mapping::MappingType
- types::struct_type::CompositeType
- types::tuple::TupleType
Enums
- expressions::AccessExpression
- expressions::Associativity
- expressions::BinaryOperation
- expressions::Expression
- expressions::Literal
- expressions::UnaryOperation
- expressions::access::AccessExpression
- expressions::binary::BinaryOperation
- expressions::literal::Literal
- expressions::unary::UnaryOperation
- functions::core_function::CoreFunction
- functions::mode::Mode
- functions::variant::Variant
- groups::group_coordinate::GroupCoordinate
- groups::group_literal::GroupLiteral
- statement::Statement
- statement::assert::AssertVariant
- statement::console::console_function::ConsoleFunction
- statement::definition::DeclarationType
- statement::definition::declaration_type::DeclarationType
- types::core_constant::CoreConstant
- types::integer_type::IntegerType
- types::type_::Type
- value::Value
Traits
- common::node::Node
- expressions::FromStrRadix
- expressions::literal::FromStrRadix
- passes::consumer::ExpressionConsumer
- passes::consumer::FunctionConsumer
- passes::consumer::ImportConsumer
- passes::consumer::MappingConsumer
- passes::consumer::ProgramConsumer
- passes::consumer::ProgramScopeConsumer
- passes::consumer::StatementConsumer
- passes::consumer::StructConsumer
- passes::reconstructor::ExpressionReconstructor
- passes::reconstructor::ProgramReconstructor
- passes::reconstructor::StatementReconstructor
- passes::visitor::ExpressionVisitor
- passes::visitor::ProgramVisitor
- passes::visitor::StatementVisitor
Macros
- expressions::literal::implement_from_str_radix
- simple_node_impl
- value::implement_const_binary
- value::implement_const_unary
Functions
- common::imported_modules::deserialize
- common::imported_modules::serialize
- normalize_json_value
- remove_key_from_json
Type Aliases
Constants
\ No newline at end of file
diff --git a/leo_ast/common/node/trait.Node.html b/leo_ast/common/node/trait.Node.html
index 68e6d97e18..b1696ec16b 100644
--- a/leo_ast/common/node/trait.Node.html
+++ b/leo_ast/common/node/trait.Node.html
@@ -16,4 +16,4 @@
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl Node for AccessExpression
Source§impl Node for Expression
Source§impl Node for Literal
Source§impl Node for Statement
Source§impl Node for ArrayAccess
Source§impl Node for AssociatedConstant
Source§impl Node for AssociatedFunction
Source§impl Node for MemberAccess
Source§impl Node for TupleAccess
Source§impl Node for ArrayExpression
Source§impl Node for BinaryExpression
Source§impl Node for CallExpression
Source§impl Node for CastExpression
Source§impl Node for ErrExpression
Source§impl Node for LocatorExpression
Source§impl Node for StructExpression
Source§impl Node for StructVariableInitializer
Source§impl Node for TernaryExpression
Source§impl Node for TupleExpression
Source§impl Node for UnaryExpression
Source§impl Node for UnitExpression
Source§impl Node for Annotation
Source§impl Node for Input
Source§impl Node for Output
Source§impl Node for Function
Source§impl Node for Mapping
Source§impl Node for AssertStatement
Source§impl Node for AssignStatement
Source§impl Node for Block
Source§impl Node for ConditionalStatement
Source§impl Node for ConsoleStatement
Source§impl Node for ConstDeclaration
Source§impl Node for DefinitionStatement
Source§impl Node for ExpressionStatement
Source§impl Node for IterationStatement
Source§impl Node for ReturnStatement
Source§impl Node for Member
Source§impl Node for Composite
Source§impl Node for FunctionStub
Source§impl Node for Identifier
\ No newline at end of file
+
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl Node for AccessExpression
Source§impl Node for Expression
Source§impl Node for Literal
Source§impl Node for Statement
Source§impl Node for ArrayAccess
Source§impl Node for AssociatedConstant
Source§impl Node for AssociatedFunction
Source§impl Node for MemberAccess
Source§impl Node for TupleAccess
Source§impl Node for ArrayExpression
Source§impl Node for BinaryExpression
Source§impl Node for CallExpression
Source§impl Node for CastExpression
Source§impl Node for ErrExpression
Source§impl Node for LocatorExpression
Source§impl Node for StructExpression
Source§impl Node for StructVariableInitializer
Source§impl Node for TernaryExpression
Source§impl Node for TupleExpression
Source§impl Node for UnaryExpression
Source§impl Node for UnitExpression
Source§impl Node for Annotation
Source§impl Node for Input
Source§impl Node for Output
Source§impl Node for Function
Source§impl Node for Mapping
Source§impl Node for AssertStatement
Source§impl Node for AssignStatement
Source§impl Node for Block
Source§impl Node for ConditionalStatement
Source§impl Node for ConsoleStatement
Source§impl Node for ConstDeclaration
Source§impl Node for DefinitionStatement
Source§impl Node for ExpressionStatement
Source§impl Node for IterationStatement
Source§impl Node for ReturnStatement
Source§impl Node for Member
Source§impl Node for Composite
Source§impl Node for FunctionStub
Source§impl Node for Identifier
\ No newline at end of file
diff --git a/leo_ast/expressions/array/index.html b/leo_ast/expressions/array/index.html
index 0003ef5f9d..67057b7c07 100644
--- a/leo_ast/expressions/array/index.html
+++ b/leo_ast/expressions/array/index.html
@@ -1 +1 @@
-leo_ast::expressions::array - Rust Structs§
- An array expression, e.g.,
[true, false, true, false]
.
\ No newline at end of file
+leo_ast::expressions::array - Rust Structs§
- An array expression, e.g.,
[true, false, true, false]
.
\ No newline at end of file
diff --git a/leo_ast/expressions/array/struct.ArrayExpression.html b/leo_ast/expressions/array/struct.ArrayExpression.html
index 944a58e1f5..ae1531b5ef 100644
--- a/leo_ast/expressions/array/struct.ArrayExpression.html
+++ b/leo_ast/expressions/array/struct.ArrayExpression.html
@@ -1,4 +1,4 @@
-ArrayExpression in leo_ast::expressions::array - Rust pub struct ArrayExpression {
+ArrayExpression in leo_ast::expressions::array - Rust pub struct ArrayExpression {
pub elements: Vec<Expression>,
pub span: Span,
pub id: NodeID,
@@ -6,10 +6,10 @@
Fields§
§elements: Vec<Expression>
The elements of the array.
§span: Span
The span from [
to ]
.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for ArrayExpression
Source§fn clone(&self) -> ArrayExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for ArrayExpression
Source§impl<'de> Deserialize<'de> for ArrayExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for ArrayExpression
Source§impl Node for ArrayExpression
Source§impl PartialEq for ArrayExpression
Source§impl Serialize for ArrayExpression
Source§impl Eq for ArrayExpression
Source§impl StructuralPartialEq for ArrayExpression
Auto Trait Implementations§
§impl Freeze for ArrayExpression
§impl RefUnwindSafe for ArrayExpression
§impl Send for ArrayExpression
§impl Sync for ArrayExpression
§impl Unpin for ArrayExpression
§impl UnwindSafe for ArrayExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ArrayExpression
Source§fn clone(&self) -> ArrayExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for ArrayExpression
Source§impl<'de> Deserialize<'de> for ArrayExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for ArrayExpression
Source§impl Node for ArrayExpression
Source§impl PartialEq for ArrayExpression
Source§impl Serialize for ArrayExpression
Source§impl Eq for ArrayExpression
Source§impl StructuralPartialEq for ArrayExpression
Auto Trait Implementations§
§impl Freeze for ArrayExpression
§impl RefUnwindSafe for ArrayExpression
§impl Send for ArrayExpression
§impl Sync for ArrayExpression
§impl Unpin for ArrayExpression
§impl UnwindSafe for ArrayExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html
index 5286071efb..bb04cfdce0 100644
--- a/leo_ast/expressions/binary/enum.BinaryOperation.html
+++ b/leo_ast/expressions/binary/enum.BinaryOperation.html
@@ -1,4 +1,4 @@
-BinaryOperation in leo_ast::expressions::binary - Rust pub enum BinaryOperation {
+BinaryOperation in leo_ast::expressions::binary - Rust pub enum BinaryOperation {
Show 30 variants
Add,
AddWrapped,
And,
@@ -61,12 +61,12 @@
§Sub
Subtraction, i.e. -
, .sub()
.
§SubWrapped
Wrapped subtraction, i.e. .sub_wrapped()
.
§Xor
Bitwise XOR, i.e. .xor()
.
-
Implementations§
Source§impl BinaryOperation
Sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
Returns a BinaryOperation
from the given Symbol
.
+
Implementations§
Source§impl BinaryOperation
Sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
Returns a BinaryOperation
from the given Symbol
.
This is used to resolve native operators invoked as method calls, e.g. a.add_wrapped(b)
.
-Trait Implementations§
Source§impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryOperation
Source§impl<'de> Deserialize<'de> for BinaryOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryOperation
Source§impl PartialEq for BinaryOperation
Source§impl Serialize for BinaryOperation
Source§impl Copy for BinaryOperation
Source§impl Eq for BinaryOperation
Source§impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
§impl Freeze for BinaryOperation
§impl RefUnwindSafe for BinaryOperation
§impl Send for BinaryOperation
§impl Sync for BinaryOperation
§impl Unpin for BinaryOperation
§impl UnwindSafe for BinaryOperation
Blanket Implementations§
Trait Implementations§
Source§impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryOperation
Source§impl<'de> Deserialize<'de> for BinaryOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryOperation
Source§impl PartialEq for BinaryOperation
Source§impl Serialize for BinaryOperation
Source§impl Copy for BinaryOperation
Source§impl Eq for BinaryOperation
Source§impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
§impl Freeze for BinaryOperation
§impl RefUnwindSafe for BinaryOperation
§impl Send for BinaryOperation
§impl Sync for BinaryOperation
§impl Unpin for BinaryOperation
§impl UnwindSafe for BinaryOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/binary/index.html b/leo_ast/expressions/binary/index.html
index 647f071f37..ca2ca540e1 100644
--- a/leo_ast/expressions/binary/index.html
+++ b/leo_ast/expressions/binary/index.html
@@ -1,2 +1,2 @@
-leo_ast::expressions::binary - Rust Structs§
- A binary expression
left op right
of two operands separated by some operator.
+leo_ast::expressions::binary - Rust
\ No newline at end of file
diff --git a/leo_ast/expressions/binary/struct.BinaryExpression.html b/leo_ast/expressions/binary/struct.BinaryExpression.html
index 6262bcade4..9f8c87a76a 100644
--- a/leo_ast/expressions/binary/struct.BinaryExpression.html
+++ b/leo_ast/expressions/binary/struct.BinaryExpression.html
@@ -1,4 +1,4 @@
-BinaryExpression in leo_ast::expressions::binary - Rust pub struct BinaryExpression {
+BinaryExpression in leo_ast::expressions::binary - Rust pub struct BinaryExpression {
pub left: Box<Expression>,
pub right: Box<Expression>,
pub op: BinaryOperation,
@@ -11,10 +11,10 @@
§op: BinaryOperation
The operand defining the meaning of the resulting binary expression.
§span: Span
The span from left
to right
.
§id: NodeID
The ID of the expression.
-Trait Implementations§
Source§impl Clone for BinaryExpression
Source§fn clone(&self) -> BinaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryExpression
Source§impl<'de> Deserialize<'de> for BinaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryExpression
Source§impl Node for BinaryExpression
Source§impl PartialEq for BinaryExpression
Source§impl Serialize for BinaryExpression
Source§impl Eq for BinaryExpression
Source§impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations§
§impl Freeze for BinaryExpression
§impl RefUnwindSafe for BinaryExpression
§impl Send for BinaryExpression
§impl Sync for BinaryExpression
§impl Unpin for BinaryExpression
§impl UnwindSafe for BinaryExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Implementations§
Source§impl BinaryExpression
Sourcepub(crate) fn precedence(&self) -> u32
Sourcepub(crate) fn associativity(&self) -> Associativity
Trait Implementations§
Source§impl Clone for BinaryExpression
Source§fn clone(&self) -> BinaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryExpression
Source§impl<'de> Deserialize<'de> for BinaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryExpression
Source§impl Node for BinaryExpression
Source§impl PartialEq for BinaryExpression
Source§impl Serialize for BinaryExpression
Source§impl Eq for BinaryExpression
Source§impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations§
§impl Freeze for BinaryExpression
§impl RefUnwindSafe for BinaryExpression
§impl Send for BinaryExpression
§impl Sync for BinaryExpression
§impl Unpin for BinaryExpression
§impl UnwindSafe for BinaryExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/cast/index.html b/leo_ast/expressions/cast/index.html
index 9ff6579f75..c186b32024 100644
--- a/leo_ast/expressions/cast/index.html
+++ b/leo_ast/expressions/cast/index.html
@@ -1 +1 @@
-leo_ast::expressions::cast - Rust Structs§
- A cast expression, e.g.
42u8 as u16
.
\ No newline at end of file
+leo_ast::expressions::cast - Rust Structs§
- A cast expression, e.g.
42u8 as u16
.
\ No newline at end of file
diff --git a/leo_ast/expressions/cast/struct.CastExpression.html b/leo_ast/expressions/cast/struct.CastExpression.html
index 1b2f30679d..2dae6b0bc6 100644
--- a/leo_ast/expressions/cast/struct.CastExpression.html
+++ b/leo_ast/expressions/cast/struct.CastExpression.html
@@ -9,7 +9,7 @@
§span: Span
Span of the entire cast 42u8 as u16
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for CastExpression
Source§fn clone(&self) -> CastExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CastExpression
Source§impl<'de> Deserialize<'de> for CastExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for CastExpression
Source§impl Node for CastExpression
Source§impl PartialEq for CastExpression
Source§fn eq(&self, other: &CastExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for CastExpression
Source§impl Node for CastExpression
Source§impl PartialEq for CastExpression
Source§impl Serialize for CastExpression
Source§impl Eq for CastExpression
Source§impl StructuralPartialEq for CastExpression
Auto Trait Implementations§
§impl Freeze for CastExpression
§impl RefUnwindSafe for CastExpression
§impl Send for CastExpression
§impl Sync for CastExpression
§impl Unpin for CastExpression
§impl UnwindSafe for CastExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/expressions/enum.Associativity.html b/leo_ast/expressions/enum.Associativity.html
new file mode 100644
index 0000000000..2f36a545a9
--- /dev/null
+++ b/leo_ast/expressions/enum.Associativity.html
@@ -0,0 +1,37 @@
+Associativity in leo_ast::expressions - Rust pub(crate) enum Associativity {
+ Left,
+ Right,
+ None,
+}
Variants§
Trait Implementations§
Source§impl Clone for Associativity
Source§fn clone(&self) -> Associativity
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl PartialEq for Associativity
Source§impl Copy for Associativity
Source§impl Eq for Associativity
Source§impl StructuralPartialEq for Associativity
Auto Trait Implementations§
§impl Freeze for Associativity
§impl RefUnwindSafe for Associativity
§impl Send for Associativity
§impl Sync for Associativity
§impl Unpin for Associativity
§impl UnwindSafe for Associativity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
+if into_left
is true
.
+Converts self
into a Right
variant of Either<Self, Self>
+otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts self
into a Left
variant of Either<Self, Self>
+if into_left(&self)
returns true
.
+Converts self
into a Right
variant of Either<Self, Self>
+otherwise. Read more§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
+[WithDispatch
] wrapper. Read more
\ No newline at end of file
diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html
index e34243aee2..2752790108 100644
--- a/leo_ast/expressions/enum.BinaryOperation.html
+++ b/leo_ast/expressions/enum.BinaryOperation.html
@@ -1,4 +1,4 @@
-BinaryOperation in leo_ast::expressions - Rust pub enum BinaryOperation {
+BinaryOperation in leo_ast::expressions - Rust pub enum BinaryOperation {
Show 30 variants
Add,
AddWrapped,
And,
@@ -61,12 +61,12 @@
§Sub
Subtraction, i.e. -
, .sub()
.
§SubWrapped
Wrapped subtraction, i.e. .sub_wrapped()
.
§Xor
Bitwise XOR, i.e. .xor()
.
-
Implementations§
Source§impl BinaryOperation
Sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
Returns a BinaryOperation
from the given Symbol
.
+
Implementations§
Source§impl BinaryOperation
Sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
Returns a BinaryOperation
from the given Symbol
.
This is used to resolve native operators invoked as method calls, e.g. a.add_wrapped(b)
.
-Trait Implementations§
Source§impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryOperation
Source§impl<'de> Deserialize<'de> for BinaryOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryOperation
Source§impl PartialEq for BinaryOperation
Source§impl Serialize for BinaryOperation
Source§impl Copy for BinaryOperation
Source§impl Eq for BinaryOperation
Source§impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
§impl Freeze for BinaryOperation
§impl RefUnwindSafe for BinaryOperation
§impl Send for BinaryOperation
§impl Sync for BinaryOperation
§impl Unpin for BinaryOperation
§impl UnwindSafe for BinaryOperation
Blanket Implementations§
Trait Implementations§
Source§impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryOperation
Source§impl<'de> Deserialize<'de> for BinaryOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryOperation
Source§impl PartialEq for BinaryOperation
Source§impl Serialize for BinaryOperation
Source§impl Copy for BinaryOperation
Source§impl Eq for BinaryOperation
Source§impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
§impl Freeze for BinaryOperation
§impl RefUnwindSafe for BinaryOperation
§impl Send for BinaryOperation
§impl Sync for BinaryOperation
§impl Unpin for BinaryOperation
§impl UnwindSafe for BinaryOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/enum.Expression.html b/leo_ast/expressions/enum.Expression.html
index 57c48348d2..fad969c466 100644
--- a/leo_ast/expressions/enum.Expression.html
+++ b/leo_ast/expressions/enum.Expression.html
@@ -1,4 +1,4 @@
-Expression in leo_ast::expressions - Rust pub enum Expression {
+Expression in leo_ast::expressions - Rust pub enum Expression {
Show 14 variants
Access(AccessExpression),
Array(ArrayExpression),
Binary(BinaryExpression),
@@ -29,7 +29,7 @@
§Tuple(TupleExpression)
A tuple expression e.g., (foo, 42, true)
.
§Unary(UnaryExpression)
An unary expression.
§Unit(UnitExpression)
A unit expression e.g. ()
-
Trait Implementations§
Source§impl Clone for Expression
Source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for Expression
Source§impl Default for Expression
Source§impl<'de> Deserialize<'de> for Expression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+
Implementations§
Source§impl Expression
Sourcepub(crate) fn precedence(&self) -> u32
Sourcepub(crate) fn associativity(&self) -> Associativity
Trait Implementations§
Source§impl Clone for Expression
Source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for Expression
Source§impl Default for Expression
Source§impl<'de> Deserialize<'de> for Expression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for Expression
Source§impl Node for Expression
Source§impl PartialEq for Expression
Source§impl Serialize for Expression
Source§impl Eq for Expression
Source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl Freeze for Expression
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
Source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/index.html b/leo_ast/expressions/index.html
index 5f1a57b266..eeaf4fe9a3 100644
--- a/leo_ast/expressions/index.html
+++ b/leo_ast/expressions/index.html
@@ -1,3 +1,3 @@
-leo_ast::expressions - Rust Re-exports§
pub use locator::*;
Modules§
Structs§
- An array expression, e.g.,
[true, false, true, false]
. - A binary expression
left op right
of two operands separated by some operator.
+leo_ast::expressions - Rust Re-exports§
pub use locator::*;
Modules§
Structs§
- An array expression, e.g.,
[true, false, true, false]
. - A binary expression
left op right
of two operands separated by some operator.
For example, foo + bar
. - A function call expression, e.g.
foo(args)
or Foo::bar(args)
. - A cast expression, e.g.
42u8 as u16
. - Represents a syntactically invalid expression.
- A struct initialization expression, e.g.,
Foo { bar: 42, baz }
. - An initializer for a single field / variable of a struct initializer expression.
-That is, in
Foo { bar: 42, baz }
, this is either bar: 42
, or baz
. - A ternary conditional expression, that is,
condition ? if_true : if_false
. - A tuple expression, e.g.,
(foo, false, 42)
. - An unary expression applying an operator to an inner expression.
- Represents a unit expression.
Enums§
- An access expressions, extracting a smaller part out of a whole.
- A binary operator.
- Expression that evaluates to a value.
- A literal.
- A unary operator for a unary expression.
Traits§
- This trait allows to parse integer literals of any type generically.
\ No newline at end of file
+That is, in Foo { bar: 42, baz }
, this is either bar: 42
, or baz
. - A ternary conditional expression, that is,
condition ? if_true : if_false
. - A tuple expression, e.g.,
(foo, false, 42)
. - An unary expression applying an operator to an inner expression.
- Represents a unit expression.
Enums§
- An access expressions, extracting a smaller part out of a whole.
- A binary operator.
- Expression that evaluates to a value.
- A literal.
- A unary operator for a unary expression.
Traits§
- This trait allows to parse integer literals of any type generically.
\ No newline at end of file
diff --git a/leo_ast/expressions/sidebar-items.js b/leo_ast/expressions/sidebar-items.js
index 53fdf77ab7..5964e3bc70 100644
--- a/leo_ast/expressions/sidebar-items.js
+++ b/leo_ast/expressions/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"enum":["AccessExpression","BinaryOperation","Expression","Literal","UnaryOperation"],"mod":["access","array","binary","call","cast","err","literal","locator","struct_init","ternary","tuple","unary","unit"],"struct":["ArrayExpression","BinaryExpression","CallExpression","CastExpression","ErrExpression","StructExpression","StructVariableInitializer","TernaryExpression","TupleExpression","UnaryExpression","UnitExpression"],"trait":["FromStrRadix"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"enum":["AccessExpression","Associativity","BinaryOperation","Expression","Literal","UnaryOperation"],"mod":["access","array","binary","call","cast","err","literal","locator","struct_init","ternary","tuple","unary","unit"],"struct":["ArrayExpression","BinaryExpression","CallExpression","CastExpression","ErrExpression","StructExpression","StructVariableInitializer","TernaryExpression","TupleExpression","UnaryExpression","UnitExpression"],"trait":["FromStrRadix"]};
\ No newline at end of file
diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html
index 74e3e60c26..413eb4fd16 100644
--- a/leo_ast/expressions/struct.ArrayExpression.html
+++ b/leo_ast/expressions/struct.ArrayExpression.html
@@ -1,4 +1,4 @@
-ArrayExpression in leo_ast::expressions - Rust pub struct ArrayExpression {
+ArrayExpression in leo_ast::expressions - Rust pub struct ArrayExpression {
pub elements: Vec<Expression>,
pub span: Span,
pub id: NodeID,
@@ -6,10 +6,10 @@
Fields§
§elements: Vec<Expression>
The elements of the array.
§span: Span
The span from [
to ]
.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for ArrayExpression
Source§fn clone(&self) -> ArrayExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for ArrayExpression
Source§impl<'de> Deserialize<'de> for ArrayExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for ArrayExpression
Source§impl Node for ArrayExpression
Source§impl PartialEq for ArrayExpression
Source§impl Serialize for ArrayExpression
Source§impl Eq for ArrayExpression
Source§impl StructuralPartialEq for ArrayExpression
Auto Trait Implementations§
§impl Freeze for ArrayExpression
§impl RefUnwindSafe for ArrayExpression
§impl Send for ArrayExpression
§impl Sync for ArrayExpression
§impl Unpin for ArrayExpression
§impl UnwindSafe for ArrayExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for ArrayExpression
Source§fn clone(&self) -> ArrayExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for ArrayExpression
Source§impl<'de> Deserialize<'de> for ArrayExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for ArrayExpression
Source§impl Node for ArrayExpression
Source§impl PartialEq for ArrayExpression
Source§impl Serialize for ArrayExpression
Source§impl Eq for ArrayExpression
Source§impl StructuralPartialEq for ArrayExpression
Auto Trait Implementations§
§impl Freeze for ArrayExpression
§impl RefUnwindSafe for ArrayExpression
§impl Send for ArrayExpression
§impl Sync for ArrayExpression
§impl Unpin for ArrayExpression
§impl UnwindSafe for ArrayExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/struct.BinaryExpression.html b/leo_ast/expressions/struct.BinaryExpression.html
index 0ec5e03592..17067aa0d1 100644
--- a/leo_ast/expressions/struct.BinaryExpression.html
+++ b/leo_ast/expressions/struct.BinaryExpression.html
@@ -1,4 +1,4 @@
-BinaryExpression in leo_ast::expressions - Rust pub struct BinaryExpression {
+BinaryExpression in leo_ast::expressions - Rust pub struct BinaryExpression {
pub left: Box<Expression>,
pub right: Box<Expression>,
pub op: BinaryOperation,
@@ -11,10 +11,10 @@
§op: BinaryOperation
The operand defining the meaning of the resulting binary expression.
§span: Span
The span from left
to right
.
§id: NodeID
The ID of the expression.
-Trait Implementations§
Source§impl Clone for BinaryExpression
Source§fn clone(&self) -> BinaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryExpression
Source§impl<'de> Deserialize<'de> for BinaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryExpression
Source§impl Node for BinaryExpression
Source§impl PartialEq for BinaryExpression
Source§impl Serialize for BinaryExpression
Source§impl Eq for BinaryExpression
Source§impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations§
§impl Freeze for BinaryExpression
§impl RefUnwindSafe for BinaryExpression
§impl Send for BinaryExpression
§impl Sync for BinaryExpression
§impl Unpin for BinaryExpression
§impl UnwindSafe for BinaryExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Implementations§
Source§impl BinaryExpression
Sourcepub(crate) fn precedence(&self) -> u32
Sourcepub(crate) fn associativity(&self) -> Associativity
Trait Implementations§
Source§impl Clone for BinaryExpression
Source§fn clone(&self) -> BinaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for BinaryExpression
Source§impl<'de> Deserialize<'de> for BinaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for BinaryExpression
Source§impl Node for BinaryExpression
Source§impl PartialEq for BinaryExpression
Source§impl Serialize for BinaryExpression
Source§impl Eq for BinaryExpression
Source§impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations§
§impl Freeze for BinaryExpression
§impl RefUnwindSafe for BinaryExpression
§impl Send for BinaryExpression
§impl Sync for BinaryExpression
§impl Unpin for BinaryExpression
§impl UnwindSafe for BinaryExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/struct.CastExpression.html b/leo_ast/expressions/struct.CastExpression.html
index 50c6621605..101698f714 100644
--- a/leo_ast/expressions/struct.CastExpression.html
+++ b/leo_ast/expressions/struct.CastExpression.html
@@ -9,7 +9,7 @@
§span: Span
Span of the entire cast 42u8 as u16
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for CastExpression
Source§fn clone(&self) -> CastExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for CastExpression
Source§impl<'de> Deserialize<'de> for CastExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for CastExpression
Source§impl Node for CastExpression
Source§impl PartialEq for CastExpression
Source§fn eq(&self, other: &CastExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for CastExpression
Source§impl Node for CastExpression
Source§impl PartialEq for CastExpression
Source§impl Serialize for CastExpression
Source§impl Eq for CastExpression
Source§impl StructuralPartialEq for CastExpression
Auto Trait Implementations§
§impl Freeze for CastExpression
§impl RefUnwindSafe for CastExpression
§impl Send for CastExpression
§impl Sync for CastExpression
§impl Unpin for CastExpression
§impl UnwindSafe for CastExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/expressions/struct.StructExpression.html b/leo_ast/expressions/struct.StructExpression.html
index 654697e0fb..e8b23e1fb8 100644
--- a/leo_ast/expressions/struct.StructExpression.html
+++ b/leo_ast/expressions/struct.StructExpression.html
@@ -1,4 +1,4 @@
-StructExpression in leo_ast::expressions - Rust pub struct StructExpression {
+StructExpression in leo_ast::expressions - Rust pub struct StructExpression {
pub name: Identifier,
pub members: Vec<StructVariableInitializer>,
pub span: Span,
@@ -10,12 +10,12 @@
are excluded from this list.
§span: Span
A span from name
to }
.
§id: NodeID
The ID of the node.
-Implementations§
Source§impl StructExpression
Sourcepub fn check_record(&self) -> bool
Returns true if the record has all required fields and visibility.
-Sourcepub fn to_record_string(&self) -> String
Returns the struct as a record interface with visibility.
-Trait Implementations§
Source§impl Clone for StructExpression
Source§fn clone(&self) -> StructExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructExpression
Source§impl<'de> Deserialize<'de> for StructExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructExpression
Source§impl Node for StructExpression
Source§impl PartialEq for StructExpression
Source§impl Serialize for StructExpression
Source§impl Eq for StructExpression
Source§impl StructuralPartialEq for StructExpression
Auto Trait Implementations§
§impl Freeze for StructExpression
§impl RefUnwindSafe for StructExpression
§impl Send for StructExpression
§impl Sync for StructExpression
§impl Unpin for StructExpression
§impl UnwindSafe for StructExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Implementations§
Source§impl StructExpression
Sourcepub fn check_record(&self) -> bool
Returns true if the record has all required fields and visibility.
+Sourcepub fn to_record_string(&self) -> String
Returns the struct as a record interface with visibility.
+Trait Implementations§
Source§impl Clone for StructExpression
Source§fn clone(&self) -> StructExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructExpression
Source§impl<'de> Deserialize<'de> for StructExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructExpression
Source§impl Node for StructExpression
Source§impl PartialEq for StructExpression
Source§impl Serialize for StructExpression
Source§impl Eq for StructExpression
Source§impl StructuralPartialEq for StructExpression
Auto Trait Implementations§
§impl Freeze for StructExpression
§impl RefUnwindSafe for StructExpression
§impl Send for StructExpression
§impl Sync for StructExpression
§impl Unpin for StructExpression
§impl UnwindSafe for StructExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index 0fad88206e..094310aeda 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -1,4 +1,4 @@
-StructVariableInitializer in leo_ast::expressions - Rust pub struct StructVariableInitializer {
+StructVariableInitializer in leo_ast::expressions - Rust pub struct StructVariableInitializer {
pub identifier: Identifier,
pub expression: Option<Expression>,
pub span: Span,
@@ -10,10 +10,10 @@
When None
, a binding, in scope, with the name will be used instead.
§span: Span
The span of the node.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for StructVariableInitializer
Source§fn clone(&self) -> StructVariableInitializer
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructVariableInitializer
Source§impl<'de> Deserialize<'de> for StructVariableInitializer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructVariableInitializer
Source§impl Node for StructVariableInitializer
Source§impl Eq for StructVariableInitializer
Source§impl StructuralPartialEq for StructVariableInitializer
Auto Trait Implementations§
§impl Freeze for StructVariableInitializer
§impl RefUnwindSafe for StructVariableInitializer
§impl Send for StructVariableInitializer
§impl Sync for StructVariableInitializer
§impl Unpin for StructVariableInitializer
§impl UnwindSafe for StructVariableInitializer
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for StructVariableInitializer
Source§fn clone(&self) -> StructVariableInitializer
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructVariableInitializer
Source§impl<'de> Deserialize<'de> for StructVariableInitializer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructVariableInitializer
Source§impl Node for StructVariableInitializer
Source§impl Eq for StructVariableInitializer
Source§impl StructuralPartialEq for StructVariableInitializer
Auto Trait Implementations§
§impl Freeze for StructVariableInitializer
§impl RefUnwindSafe for StructVariableInitializer
§impl Send for StructVariableInitializer
§impl Sync for StructVariableInitializer
§impl Unpin for StructVariableInitializer
§impl UnwindSafe for StructVariableInitializer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 01828c9cc8..61ec25020e 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -11,7 +11,7 @@
§span: Span
The span from condition
to if_false
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for TernaryExpression
Source§fn clone(&self) -> TernaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for TernaryExpression
Source§impl<'de> Deserialize<'de> for TernaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for TernaryExpression
Source§impl Node for TernaryExpression
Source§impl PartialEq for TernaryExpression
Source§fn eq(&self, other: &TernaryExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for TernaryExpression
Source§impl Node for TernaryExpression
Source§impl PartialEq for TernaryExpression
Source§impl Serialize for TernaryExpression
Source§impl Eq for TernaryExpression
Source§impl StructuralPartialEq for TernaryExpression
Auto Trait Implementations§
§impl Freeze for TernaryExpression
§impl RefUnwindSafe for TernaryExpression
§impl Send for TernaryExpression
§impl Sync for TernaryExpression
§impl Unpin for TernaryExpression
§impl UnwindSafe for TernaryExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index e4fc9c85cf..8f17d9b0f7 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -9,7 +9,7 @@
§span: Span
The span covering op inner
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for UnaryExpression
Source§fn clone(&self) -> UnaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for UnaryExpression
Source§impl<'de> Deserialize<'de> for UnaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for UnaryExpression
Source§impl Node for UnaryExpression
Source§impl PartialEq for UnaryExpression
Source§fn eq(&self, other: &UnaryExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for UnaryExpression
Source§impl Node for UnaryExpression
Source§impl PartialEq for UnaryExpression
Source§impl Serialize for UnaryExpression
Source§impl Eq for UnaryExpression
Source§impl StructuralPartialEq for UnaryExpression
Auto Trait Implementations§
§impl Freeze for UnaryExpression
§impl RefUnwindSafe for UnaryExpression
§impl Send for UnaryExpression
§impl Sync for UnaryExpression
§impl Unpin for UnaryExpression
§impl UnwindSafe for UnaryExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/expressions/struct_init/index.html b/leo_ast/expressions/struct_init/index.html
index ab16022034..e05963276b 100644
--- a/leo_ast/expressions/struct_init/index.html
+++ b/leo_ast/expressions/struct_init/index.html
@@ -1,2 +1,2 @@
-leo_ast::expressions::struct_init - Rust Structs§
- A struct initialization expression, e.g.,
Foo { bar: 42, baz }
. - An initializer for a single field / variable of a struct initializer expression.
+
leo_ast::expressions::struct_init - Rust Structs§
- A struct initialization expression, e.g.,
Foo { bar: 42, baz }
. - An initializer for a single field / variable of a struct initializer expression.
That is, in
Foo { bar: 42, baz }
, this is either bar: 42
, or baz
.
\ No newline at end of file
diff --git a/leo_ast/expressions/struct_init/struct.StructExpression.html b/leo_ast/expressions/struct_init/struct.StructExpression.html
index e8760f4ace..9d1730a2bb 100644
--- a/leo_ast/expressions/struct_init/struct.StructExpression.html
+++ b/leo_ast/expressions/struct_init/struct.StructExpression.html
@@ -1,4 +1,4 @@
-StructExpression in leo_ast::expressions::struct_init - Rust pub struct StructExpression {
+StructExpression in leo_ast::expressions::struct_init - Rust pub struct StructExpression {
pub name: Identifier,
pub members: Vec<StructVariableInitializer>,
pub span: Span,
@@ -10,12 +10,12 @@
are excluded from this list.
§span: Span
A span from name
to }
.
§id: NodeID
The ID of the node.
-Implementations§
Source§impl StructExpression
Sourcepub fn check_record(&self) -> bool
Returns true if the record has all required fields and visibility.
-Sourcepub fn to_record_string(&self) -> String
Returns the struct as a record interface with visibility.
-Trait Implementations§
Source§impl Clone for StructExpression
Source§fn clone(&self) -> StructExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructExpression
Source§impl<'de> Deserialize<'de> for StructExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructExpression
Source§impl Node for StructExpression
Source§impl PartialEq for StructExpression
Source§impl Serialize for StructExpression
Source§impl Eq for StructExpression
Source§impl StructuralPartialEq for StructExpression
Auto Trait Implementations§
§impl Freeze for StructExpression
§impl RefUnwindSafe for StructExpression
§impl Send for StructExpression
§impl Sync for StructExpression
§impl Unpin for StructExpression
§impl UnwindSafe for StructExpression
Blanket Implementations§
Source§impl<T> Any for Twhere
+Implementations§
Source§impl StructExpression
Sourcepub fn check_record(&self) -> bool
Returns true if the record has all required fields and visibility.
+Sourcepub fn to_record_string(&self) -> String
Returns the struct as a record interface with visibility.
+Trait Implementations§
Source§impl Clone for StructExpression
Source§fn clone(&self) -> StructExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructExpression
Source§impl<'de> Deserialize<'de> for StructExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructExpression
Source§impl Node for StructExpression
Source§impl PartialEq for StructExpression
Source§impl Serialize for StructExpression
Source§impl Eq for StructExpression
Source§impl StructuralPartialEq for StructExpression
Auto Trait Implementations§
§impl Freeze for StructExpression
§impl RefUnwindSafe for StructExpression
§impl Send for StructExpression
§impl Sync for StructExpression
§impl Unpin for StructExpression
§impl UnwindSafe for StructExpression
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 37fda0e0f6..686c816965 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -1,4 +1,4 @@
-StructVariableInitializer in leo_ast::expressions::struct_init - Rust pub struct StructVariableInitializer {
+StructVariableInitializer in leo_ast::expressions::struct_init - Rust pub struct StructVariableInitializer {
pub identifier: Identifier,
pub expression: Option<Expression>,
pub span: Span,
@@ -10,10 +10,10 @@
When None
, a binding, in scope, with the name will be used instead.
§span: Span
The span of the node.
§id: NodeID
The ID of the node.
-Trait Implementations§
Source§impl Clone for StructVariableInitializer
Source§fn clone(&self) -> StructVariableInitializer
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructVariableInitializer
Source§impl<'de> Deserialize<'de> for StructVariableInitializer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructVariableInitializer
Source§impl Node for StructVariableInitializer
Source§impl Eq for StructVariableInitializer
Source§impl StructuralPartialEq for StructVariableInitializer
Auto Trait Implementations§
§impl Freeze for StructVariableInitializer
§impl RefUnwindSafe for StructVariableInitializer
§impl Send for StructVariableInitializer
§impl Sync for StructVariableInitializer
§impl Unpin for StructVariableInitializer
§impl UnwindSafe for StructVariableInitializer
Blanket Implementations§
Source§impl<T> Any for Twhere
+Trait Implementations§
Source§impl Clone for StructVariableInitializer
Source§fn clone(&self) -> StructVariableInitializer
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for StructVariableInitializer
Source§impl<'de> Deserialize<'de> for StructVariableInitializer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for StructVariableInitializer
Source§impl Node for StructVariableInitializer
Source§impl Eq for StructVariableInitializer
Source§impl StructuralPartialEq for StructVariableInitializer
Auto Trait Implementations§
§impl Freeze for StructVariableInitializer
§impl RefUnwindSafe for StructVariableInitializer
§impl Send for StructVariableInitializer
§impl Sync for StructVariableInitializer
§impl Unpin for StructVariableInitializer
§impl UnwindSafe for StructVariableInitializer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/expressions/ternary/index.html b/leo_ast/expressions/ternary/index.html
index 5685d2b78a..645bf3f527 100644
--- a/leo_ast/expressions/ternary/index.html
+++ b/leo_ast/expressions/ternary/index.html
@@ -1 +1 @@
-leo_ast::expressions::ternary - Rust Structs§
- A ternary conditional expression, that is,
condition ? if_true : if_false
.
\ No newline at end of file
+leo_ast::expressions::ternary - Rust Structs§
- A ternary conditional expression, that is,
condition ? if_true : if_false
.
\ No newline at end of file
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 38ff339bd6..fc2077f541 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -11,7 +11,7 @@
§span: Span
The span from condition
to if_false
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for TernaryExpression
Source§fn clone(&self) -> TernaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for TernaryExpression
Source§impl<'de> Deserialize<'de> for TernaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for TernaryExpression
Source§impl Node for TernaryExpression
Source§impl PartialEq for TernaryExpression
Source§fn eq(&self, other: &TernaryExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for TernaryExpression
Source§impl Node for TernaryExpression
Source§impl PartialEq for TernaryExpression
Source§impl Serialize for TernaryExpression
Source§impl Eq for TernaryExpression
Source§impl StructuralPartialEq for TernaryExpression
Auto Trait Implementations§
§impl Freeze for TernaryExpression
§impl RefUnwindSafe for TernaryExpression
§impl Send for TernaryExpression
§impl Sync for TernaryExpression
§impl Unpin for TernaryExpression
§impl UnwindSafe for TernaryExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/expressions/unary/index.html b/leo_ast/expressions/unary/index.html
index cdd2df8cd7..d95867a035 100644
--- a/leo_ast/expressions/unary/index.html
+++ b/leo_ast/expressions/unary/index.html
@@ -1 +1 @@
-leo_ast::expressions::unary - Rust
\ No newline at end of file
+leo_ast::expressions::unary - Rust
\ No newline at end of file
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index e932566489..1e1b6adc30 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -9,7 +9,7 @@
§span: Span
The span covering op inner
.
§id: NodeID
The ID of the node.
Trait Implementations§
Source§impl Clone for UnaryExpression
Source§fn clone(&self) -> UnaryExpression
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreSource§impl Debug for UnaryExpression
Source§impl<'de> Deserialize<'de> for UnaryExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Display for UnaryExpression
Source§impl Node for UnaryExpression
Source§impl PartialEq for UnaryExpression
Source§fn eq(&self, other: &UnaryExpression) -> bool
Tests for self
and other
values to be equal, and is used by ==
.Source§impl Display for UnaryExpression
Source§impl Node for UnaryExpression
Source§impl PartialEq for UnaryExpression
Source§impl Serialize for UnaryExpression
Source§impl Eq for UnaryExpression
Source§impl StructuralPartialEq for UnaryExpression
Auto Trait Implementations§
§impl Freeze for UnaryExpression
§impl RefUnwindSafe for UnaryExpression
§impl Send for UnaryExpression
§impl Sync for UnaryExpression
§impl Unpin for UnaryExpression
§impl UnwindSafe for UnaryExpression
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/fn.normalize_json_value.html b/leo_ast/fn.normalize_json_value.html
index dd73ebec3e..bfde2d1ec7 100644
--- a/leo_ast/fn.normalize_json_value.html
+++ b/leo_ast/fn.normalize_json_value.html
@@ -1,4 +1,4 @@
-normalize_json_value in leo_ast - Rust pub fn normalize_json_value(value: Value) -> Value
Expand description
Helper function to normalize AST JSON into a form compatible with tgc.
+
normalize_json_value in leo_ast - Rust pub fn normalize_json_value(value: Value) -> Value
Expand description
Helper function to normalize AST JSON into a form compatible with tgc.
This function will traverse the original JSON value and produce a new
one under the following rules:
diff --git a/leo_ast/fn.remove_key_from_json.html b/leo_ast/fn.remove_key_from_json.html
index fd463df41e..a6b0766eb2 100644
--- a/leo_ast/fn.remove_key_from_json.html
+++ b/leo_ast/fn.remove_key_from_json.html
@@ -1,2 +1,2 @@
-remove_key_from_json in leo_ast - Rust pub fn remove_key_from_json(value: Value, key: &str) -> Value
Expand description
Helper function to recursively filter keys from AST JSON
+remove_key_from_json in leo_ast - Rust
\ No newline at end of file
diff --git a/leo_ast/functions/index.html b/leo_ast/functions/index.html
index e3901b765e..7d1c944142 100644
--- a/leo_ast/functions/index.html
+++ b/leo_ast/functions/index.html
@@ -1 +1 @@
-leo_ast::functions - Rust Re-exports§
pub use annotation::*;
pub use core_function::*;
pub use variant::*;
pub use input::*;
pub use output::*;
pub use mode::*;
Modules§
Structs§
- A function definition.
\ No newline at end of file
+leo_ast::functions - Rust Re-exports§
pub use annotation::*;
pub use core_function::*;
pub use variant::*;
pub use input::*;
pub use output::*;
pub use mode::*;
Modules§
Structs§
- A function definition.
\ No newline at end of file
diff --git a/leo_ast/functions/input/index.html b/leo_ast/functions/input/index.html
index cb22a423af..fdfad7ea4a 100644
--- a/leo_ast/functions/input/index.html
+++ b/leo_ast/functions/input/index.html
@@ -1 +1 @@
-leo_ast::functions::input - Rust
\ No newline at end of file
+leo_ast::functions::input - Rust
\ No newline at end of file
diff --git a/leo_ast/functions/input/struct.Input.html b/leo_ast/functions/input/struct.Input.html
index d4a9978091..429ea29293 100644
--- a/leo_ast/functions/input/struct.Input.html
+++ b/leo_ast/functions/input/struct.Input.html
@@ -10,8 +10,8 @@
§type_: Type
What’s the parameter’s type?
§span: Span
The parameters span from any annotations to its type.
§id: NodeID
The ID of the node.
-Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for Input
Source§fn eq(&self, other: &Input) -> bool
Tests for self
and other
values to be equal, and is used by ==
.1.0.0 · Source§fn ne(&self, other: &Rhs) -> bool
Tests for !=
. The default implementation is almost always sufficient,
+Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Eq for Input
Source§impl StructuralPartialEq for Input
Auto Trait Implementations§
§impl Freeze for Input
§impl RefUnwindSafe for Input
§impl Send for Input
§impl Sync for Input
§impl Unpin for Input
§impl UnwindSafe for Input
Blanket Implementations§
Source§impl<T> Borrow<T> for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index 07801ae57c..365651fda9 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -1,4 +1,4 @@
-Function in leo_ast::functions - Rust pub struct Function {
+Function in leo_ast::functions - Rust pub struct Function {
pub annotations: Vec<Annotation>,
pub variant: Variant,
pub identifier: Identifier,
@@ -18,7 +18,7 @@
§block: Block
The body of the function.
§span: Span
The entire span of the function definition.
§id: NodeID
The ID of the node.
-Implementations§
Source§impl Function
Implementations§
Source§impl Function
Sourcepub fn new(
annotations: Vec<Annotation>,
variant: Variant,
identifier: Identifier,
@@ -28,12 +28,11 @@
span: Span,
id: NodeID,
) -> Self
Initialize a new function.
-Sourcefn format(&self, f: &mut Formatter<'_>) -> Result
Private formatting method used for optimizing fmt::Debug and fmt::Display implementations.
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Function
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<Function> for FunctionStub
Source§impl From<FunctionStub> for Function
Source§fn from(function: FunctionStub) -> Self
Converts to this type from the input type.Source§impl Eq for Function
Auto Trait Implementations§
§impl Freeze for Function
§impl !RefUnwindSafe for Function
§impl Send for Function
§impl !Sync for Function
§impl Unpin for Function
§impl UnwindSafe for Function
Blanket Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Function
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<Function> for FunctionStub
Source§impl From<FunctionStub> for Function
Source§fn from(function: FunctionStub) -> Self
Converts to this type from the input type.Source§impl Eq for Function
Auto Trait Implementations§
§impl Freeze for Function
§impl !RefUnwindSafe for Function
§impl Send for Function
§impl !Sync for Function
§impl Unpin for Function
§impl UnwindSafe for Function
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/leo_ast/indent_display/constant.SPACES.html b/leo_ast/indent_display/constant.SPACES.html
new file mode 100644
index 0000000000..cdc4257269
--- /dev/null
+++ b/leo_ast/indent_display/constant.SPACES.html
@@ -0,0 +1 @@
+SPACES in leo_ast::indent_display - Rust