Struct leo_ast::common::static_string::StaticString
source · pub struct StaticString(String);
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl Clone for StaticString
impl Clone for StaticString
source§fn clone(&self) -> StaticString
fn clone(&self) -> StaticString
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StaticString
impl Debug for StaticString
source§impl Default for StaticString
impl Default for StaticString
source§fn default() -> StaticString
fn default() -> StaticString
source§impl<'de> Deserialize<'de> for StaticString
impl<'de> Deserialize<'de> for StaticString
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for StaticString
impl Display for StaticString
source§impl PartialEq for StaticString
impl PartialEq for StaticString
source§fn eq(&self, other: &StaticString) -> bool
fn eq(&self, other: &StaticString) -> bool
self
and other
values to be equal, and is used
+Struct leo_ast::common::static_string::StaticString
source · pub struct StaticString(String);
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl Clone for StaticString
impl Clone for StaticString
source§fn clone(&self) -> StaticString
fn clone(&self) -> StaticString
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StaticString
impl Debug for StaticString
source§impl Default for StaticString
impl Default for StaticString
source§fn default() -> StaticString
fn default() -> StaticString
source§impl<'de> Deserialize<'de> for StaticString
impl<'de> Deserialize<'de> for StaticString
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for StaticString
impl Display for StaticString
source§impl PartialEq for StaticString
impl PartialEq for StaticString
source§fn eq(&self, other: &StaticString) -> bool
fn eq(&self, other: &StaticString) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StaticString
impl Serialize for StaticString
impl Eq for StaticString
impl StructuralPartialEq for StaticString
Auto Trait Implementations§
impl Freeze for StaticString
impl RefUnwindSafe for StaticString
impl Send for StaticString
impl Sync for StaticString
impl Unpin for StaticString
impl UnwindSafe for StaticString
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/array/struct.ArrayExpression.html b/leo_ast/expressions/array/struct.ArrayExpression.html
index 26a62ec8b9..581d8da3ba 100644
--- a/leo_ast/expressions/array/struct.ArrayExpression.html
+++ b/leo_ast/expressions/array/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/array/struct.ArrayExpression.html b/leo_ast/expressions/array/struct.ArrayExpression.html
index 26a62ec8b9..581d8da3ba 100644
--- a/leo_ast/expressions/array/struct.ArrayExpression.html
+++ b/leo_ast/expressions/array/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
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
impl Clone for ArrayExpression
source§fn clone(&self) -> ArrayExpression
fn clone(&self) -> ArrayExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArrayExpression
impl Debug for ArrayExpression
source§impl<'de> Deserialize<'de> for ArrayExpression
impl<'de> Deserialize<'de> for ArrayExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for ArrayExpression
impl Display for ArrayExpression
source§impl Node for ArrayExpression
impl Node for ArrayExpression
source§impl PartialEq for ArrayExpression
impl PartialEq for ArrayExpression
source§fn eq(&self, other: &ArrayExpression) -> bool
fn eq(&self, other: &ArrayExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ArrayExpression
impl Clone for ArrayExpression
source§fn clone(&self) -> ArrayExpression
fn clone(&self) -> ArrayExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArrayExpression
impl Debug for ArrayExpression
source§impl<'de> Deserialize<'de> for ArrayExpression
impl<'de> Deserialize<'de> for ArrayExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for ArrayExpression
impl Display for ArrayExpression
source§impl Node for ArrayExpression
impl Node for ArrayExpression
source§impl PartialEq for ArrayExpression
impl PartialEq for ArrayExpression
source§fn eq(&self, other: &ArrayExpression) -> bool
fn eq(&self, other: &ArrayExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayExpression
impl Serialize for ArrayExpression
impl Eq for ArrayExpression
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
diff --git a/leo_ast/expressions/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html
index 48bd39fb9e..087f96b7f3 100644
--- a/leo_ast/expressions/binary/enum.BinaryOperation.html
+++ b/leo_ast/expressions/binary/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§Xor
Bitwise XOR, i.e. .xor()
.
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html
index 48bd39fb9e..087f96b7f3 100644
--- a/leo_ast/expressions/binary/enum.BinaryOperation.html
+++ b/leo_ast/expressions/binary/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§Xor
Bitwise XOR, i.e. .xor()
.
Xor
Bitwise XOR, i.e. .xor()
.
Implementations§
source§impl BinaryOperation
impl BinaryOperation
sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
pub 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
impl Clone for BinaryOperation
source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BinaryOperation
impl Debug for BinaryOperation
source§impl<'de> Deserialize<'de> for BinaryOperation
impl<'de> Deserialize<'de> for BinaryOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for BinaryOperation
impl Display for BinaryOperation
source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
source§fn eq(&self, other: &BinaryOperation) -> bool
fn eq(&self, other: &BinaryOperation) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for BinaryOperation
impl Clone for BinaryOperation
source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BinaryOperation
impl Debug for BinaryOperation
source§impl<'de> Deserialize<'de> for BinaryOperation
impl<'de> Deserialize<'de> for BinaryOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for BinaryOperation
impl Display for BinaryOperation
source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
source§fn eq(&self, other: &BinaryOperation) -> bool
fn eq(&self, other: &BinaryOperation) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BinaryOperation
impl Serialize for BinaryOperation
impl Copy for BinaryOperation
impl Eq for BinaryOperation
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> Any for Twhere
diff --git a/leo_ast/expressions/call/struct.CallExpression.html b/leo_ast/expressions/call/struct.CallExpression.html
index 712f5c9d40..b5681dd2de 100644
--- a/leo_ast/expressions/call/struct.CallExpression.html
+++ b/leo_ast/expressions/call/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html
index d0a03974b6..18fbc41c55 100644
--- a/leo_ast/expressions/enum.BinaryOperation.html
+++ b/leo_ast/expressions/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§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
.
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§fn eq(&self, other: &BinaryOperation) -> bool
This method tests for self
and other
values to be equal, and is used
+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§fn eq(&self, other: &BinaryOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html
index 4f1071eb06..fe7a83253f 100644
--- a/leo_ast/expressions/struct.ArrayExpression.html
+++ b/leo_ast/expressions/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
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§fn eq(&self, other: &ArrayExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+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§fn eq(&self, other: &ArrayExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.CallExpression.html b/leo_ast/expressions/struct.CallExpression.html
index 1a9121cb27..e89c175120 100644
--- a/leo_ast/expressions/struct.CallExpression.html
+++ b/leo_ast/expressions/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/call/struct.CallExpression.html b/leo_ast/expressions/call/struct.CallExpression.html
index 712f5c9d40..b5681dd2de 100644
--- a/leo_ast/expressions/call/struct.CallExpression.html
+++ b/leo_ast/expressions/call/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html
index d0a03974b6..18fbc41c55 100644
--- a/leo_ast/expressions/enum.BinaryOperation.html
+++ b/leo_ast/expressions/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§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
.
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§fn eq(&self, other: &BinaryOperation) -> bool
This method tests for self
and other
values to be equal, and is used
+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§fn eq(&self, other: &BinaryOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html
index 4f1071eb06..fe7a83253f 100644
--- a/leo_ast/expressions/struct.ArrayExpression.html
+++ b/leo_ast/expressions/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
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§fn eq(&self, other: &ArrayExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+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§fn eq(&self, other: &ArrayExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.CallExpression.html b/leo_ast/expressions/struct.CallExpression.html
index 1a9121cb27..e89c175120 100644
--- a/leo_ast/expressions/struct.CallExpression.html
+++ b/leo_ast/expressions/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The name of the parent program call, e.g.bar
in bar.aleo
.
Span of the entire call function(arguments)
.
The ID of the node.
-source§impl Clone for CallExpression
impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
fn clone(&self) -> CallExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallExpression
impl Debug for CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
impl<'de> Deserialize<'de> for CallExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for CallExpression
impl Display for CallExpression
source§impl Node for CallExpression
impl Node for CallExpression
source§impl PartialEq for CallExpression
impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
fn eq(&self, other: &CallExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
fn clone(&self) -> CallExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallExpression
impl Debug for CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
impl<'de> Deserialize<'de> for CallExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for CallExpression
impl Display for CallExpression
source§impl Node for CallExpression
impl Node for CallExpression
source§impl PartialEq for CallExpression
impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
fn eq(&self, other: &CallExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
impl Serialize for CallExpression
impl Eq for CallExpression
impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
impl Freeze for CallExpression
impl RefUnwindSafe for CallExpression
impl Send for CallExpression
impl Sync for CallExpression
impl Unpin for CallExpression
impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html
index d0a03974b6..18fbc41c55 100644
--- a/leo_ast/expressions/enum.BinaryOperation.html
+++ b/leo_ast/expressions/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§Xor
Bitwise XOR, i.e. .xor()
.
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/enum.BinaryOperation.html b/leo_ast/expressions/enum.BinaryOperation.html
index d0a03974b6..18fbc41c55 100644
--- a/leo_ast/expressions/enum.BinaryOperation.html
+++ b/leo_ast/expressions/enum.BinaryOperation.html
@@ -63,8 +63,8 @@
§Xor
Bitwise XOR, i.e. .xor()
.
Xor
Bitwise XOR, i.e. .xor()
.
Implementations§
source§impl BinaryOperation
impl BinaryOperation
sourcepub fn from_symbol(symbol: Symbol) -> Option<Self>
pub 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
impl Clone for BinaryOperation
source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BinaryOperation
impl Debug for BinaryOperation
source§impl<'de> Deserialize<'de> for BinaryOperation
impl<'de> Deserialize<'de> for BinaryOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for BinaryOperation
impl Display for BinaryOperation
source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
source§fn eq(&self, other: &BinaryOperation) -> bool
fn eq(&self, other: &BinaryOperation) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for BinaryOperation
impl Clone for BinaryOperation
source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BinaryOperation
impl Debug for BinaryOperation
source§impl<'de> Deserialize<'de> for BinaryOperation
impl<'de> Deserialize<'de> for BinaryOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for BinaryOperation
impl Display for BinaryOperation
source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
source§fn eq(&self, other: &BinaryOperation) -> bool
fn eq(&self, other: &BinaryOperation) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BinaryOperation
impl Serialize for BinaryOperation
impl Copy for BinaryOperation
impl Eq for BinaryOperation
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> Any for Twhere
diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html
index 4f1071eb06..fe7a83253f 100644
--- a/leo_ast/expressions/struct.ArrayExpression.html
+++ b/leo_ast/expressions/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.ArrayExpression.html b/leo_ast/expressions/struct.ArrayExpression.html
index 4f1071eb06..fe7a83253f 100644
--- a/leo_ast/expressions/struct.ArrayExpression.html
+++ b/leo_ast/expressions/struct.ArrayExpression.html
@@ -6,8 +6,8 @@
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
impl Clone for ArrayExpression
source§fn clone(&self) -> ArrayExpression
fn clone(&self) -> ArrayExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArrayExpression
impl Debug for ArrayExpression
source§impl<'de> Deserialize<'de> for ArrayExpression
impl<'de> Deserialize<'de> for ArrayExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for ArrayExpression
impl Display for ArrayExpression
source§impl Node for ArrayExpression
impl Node for ArrayExpression
source§impl PartialEq for ArrayExpression
impl PartialEq for ArrayExpression
source§fn eq(&self, other: &ArrayExpression) -> bool
fn eq(&self, other: &ArrayExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ArrayExpression
impl Clone for ArrayExpression
source§fn clone(&self) -> ArrayExpression
fn clone(&self) -> ArrayExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArrayExpression
impl Debug for ArrayExpression
source§impl<'de> Deserialize<'de> for ArrayExpression
impl<'de> Deserialize<'de> for ArrayExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for ArrayExpression
impl Display for ArrayExpression
source§impl Node for ArrayExpression
impl Node for ArrayExpression
source§impl PartialEq for ArrayExpression
impl PartialEq for ArrayExpression
source§fn eq(&self, other: &ArrayExpression) -> bool
fn eq(&self, other: &ArrayExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayExpression
impl Serialize for ArrayExpression
impl Eq for ArrayExpression
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
diff --git a/leo_ast/expressions/struct.CallExpression.html b/leo_ast/expressions/struct.CallExpression.html
index 1a9121cb27..e89c175120 100644
--- a/leo_ast/expressions/struct.CallExpression.html
+++ b/leo_ast/expressions/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.CallExpression.html b/leo_ast/expressions/struct.CallExpression.html
index 1a9121cb27..e89c175120 100644
--- a/leo_ast/expressions/struct.CallExpression.html
+++ b/leo_ast/expressions/struct.CallExpression.html
@@ -11,8 +11,8 @@
§program: Option<Symbol>
The name of the parent program call, e.g.bar
in bar.aleo
.
§span: Span
Span of the entire call function(arguments)
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
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 CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
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 CallExpression
source§impl Node for CallExpression
source§impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
source§impl Eq for CallExpression
source§impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
§impl Freeze for CallExpression
§impl RefUnwindSafe for CallExpression
§impl Send for CallExpression
§impl Sync for CallExpression
§impl Unpin for CallExpression
§impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The name of the parent program call, e.g.bar
in bar.aleo
.
Span of the entire call function(arguments)
.
The ID of the node.
-source§impl Clone for CallExpression
impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
fn clone(&self) -> CallExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallExpression
impl Debug for CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
impl<'de> Deserialize<'de> for CallExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for CallExpression
impl Display for CallExpression
source§impl Node for CallExpression
impl Node for CallExpression
source§impl PartialEq for CallExpression
impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
fn eq(&self, other: &CallExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CallExpression
impl Clone for CallExpression
source§fn clone(&self) -> CallExpression
fn clone(&self) -> CallExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallExpression
impl Debug for CallExpression
source§impl<'de> Deserialize<'de> for CallExpression
impl<'de> Deserialize<'de> for CallExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for CallExpression
impl Display for CallExpression
source§impl Node for CallExpression
impl Node for CallExpression
source§impl PartialEq for CallExpression
impl PartialEq for CallExpression
source§fn eq(&self, other: &CallExpression) -> bool
fn eq(&self, other: &CallExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallExpression
impl Serialize for CallExpression
impl Eq for CallExpression
impl StructuralPartialEq for CallExpression
Auto Trait Implementations§
impl Freeze for CallExpression
impl RefUnwindSafe for CallExpression
impl Send for CallExpression
impl Sync for CallExpression
impl Unpin for CallExpression
impl UnwindSafe for CallExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.StructVariableInitializer.html b/leo_ast/expressions/struct.StructVariableInitializer.html
index e7894a15d6..e4eacf8e8c 100644
--- a/leo_ast/expressions/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
None
, a binding, in scope, with the name will be used instead.
The span of the node.
The ID of the node.
-source§impl Clone for StructVariableInitializer
impl Clone for StructVariableInitializer
source§fn clone(&self) -> StructVariableInitializer
fn clone(&self) -> StructVariableInitializer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StructVariableInitializer
impl Debug for StructVariableInitializer
source§impl<'de> Deserialize<'de> for StructVariableInitializer
impl<'de> Deserialize<'de> for StructVariableInitializer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for StructVariableInitializer
impl Display for StructVariableInitializer
source§impl Node for StructVariableInitializer
impl Node for StructVariableInitializer
source§impl PartialEq for StructVariableInitializer
impl PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
fn eq(&self, other: &StructVariableInitializer) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for StructVariableInitializer
impl Clone for StructVariableInitializer
source§fn clone(&self) -> StructVariableInitializer
fn clone(&self) -> StructVariableInitializer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StructVariableInitializer
impl Debug for StructVariableInitializer
source§impl<'de> Deserialize<'de> for StructVariableInitializer
impl<'de> Deserialize<'de> for StructVariableInitializer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for StructVariableInitializer
impl Display for StructVariableInitializer
source§impl Node for StructVariableInitializer
impl Node for StructVariableInitializer
source§impl PartialEq for StructVariableInitializer
impl PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
fn eq(&self, other: &StructVariableInitializer) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for StructVariableInitializer
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
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.TernaryExpression.html b/leo_ast/expressions/struct.TernaryExpression.html
index 7c684d6a83..9abb434049 100644
--- a/leo_ast/expressions/struct.TernaryExpression.html
+++ b/leo_ast/expressions/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The branch the expression evaluates to if condition
evaluates to false.
The span from condition
to if_false
.
The ID of the node.
-source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
source§impl<'de> Deserialize<'de> for TernaryExpression
impl<'de> Deserialize<'de> for TernaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for TernaryExpression
impl Display for TernaryExpression
source§impl Node for TernaryExpression
impl Node for TernaryExpression
source§impl PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
source§fn eq(&self, other: &TernaryExpression) -> bool
fn eq(&self, other: &TernaryExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
source§impl<'de> Deserialize<'de> for TernaryExpression
impl<'de> Deserialize<'de> for TernaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for TernaryExpression
impl Display for TernaryExpression
source§impl Node for TernaryExpression
impl Node for TernaryExpression
source§impl PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
source§fn eq(&self, other: &TernaryExpression) -> bool
fn eq(&self, other: &TernaryExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TernaryExpression
impl Serialize for TernaryExpression
impl Eq for TernaryExpression
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> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.TupleExpression.html b/leo_ast/expressions/struct.TupleExpression.html
index 6973e415e2..1325519641 100644
--- a/leo_ast/expressions/struct.TupleExpression.html
+++ b/leo_ast/expressions/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
foo
, false
, and 42
.
The span from (
to )
.
The ID of the node.
-source§impl Clone for TupleExpression
impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
fn clone(&self) -> TupleExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TupleExpression
impl Debug for TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
impl<'de> Deserialize<'de> for TupleExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for TupleExpression
impl Display for TupleExpression
source§impl Node for TupleExpression
impl Node for TupleExpression
source§impl PartialEq for TupleExpression
impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
fn eq(&self, other: &TupleExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
fn clone(&self) -> TupleExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TupleExpression
impl Debug for TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
impl<'de> Deserialize<'de> for TupleExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for TupleExpression
impl Display for TupleExpression
source§impl Node for TupleExpression
impl Node for TupleExpression
source§impl PartialEq for TupleExpression
impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
fn eq(&self, other: &TupleExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
impl Serialize for TupleExpression
impl Eq for TupleExpression
impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
impl Freeze for TupleExpression
impl RefUnwindSafe for TupleExpression
impl Send for TupleExpression
impl Sync for TupleExpression
impl Unpin for TupleExpression
impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct.UnaryExpression.html b/leo_ast/expressions/struct.UnaryExpression.html
index f6a8a21d6a..204e9c90ba 100644
--- a/leo_ast/expressions/struct.UnaryExpression.html
+++ b/leo_ast/expressions/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The unary operator to apply to inner
.
The span covering op inner
.
The ID of the node.
-source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnaryExpression
impl Debug for UnaryExpression
source§impl<'de> Deserialize<'de> for UnaryExpression
impl<'de> Deserialize<'de> for UnaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for UnaryExpression
impl Display for UnaryExpression
source§impl Node for UnaryExpression
impl Node for UnaryExpression
source§impl PartialEq for UnaryExpression
impl PartialEq for UnaryExpression
source§fn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnaryExpression
impl Debug for UnaryExpression
source§impl<'de> Deserialize<'de> for UnaryExpression
impl<'de> Deserialize<'de> for UnaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for UnaryExpression
impl Display for UnaryExpression
source§impl Node for UnaryExpression
impl Node for UnaryExpression
source§impl PartialEq for UnaryExpression
impl PartialEq for UnaryExpression
source§fn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnaryExpression
impl Serialize for UnaryExpression
impl Eq for UnaryExpression
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> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
index 92d9655c07..968eb8167a 100644
--- a/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
+++ b/leo_ast/expressions/struct_init/struct.StructVariableInitializer.html
@@ -10,8 +10,8 @@
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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
+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 PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
None
, a binding, in scope, with the name will be used instead.
The span of the node.
The ID of the node.
-source§impl Clone for StructVariableInitializer
impl Clone for StructVariableInitializer
source§fn clone(&self) -> StructVariableInitializer
fn clone(&self) -> StructVariableInitializer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StructVariableInitializer
impl Debug for StructVariableInitializer
source§impl<'de> Deserialize<'de> for StructVariableInitializer
impl<'de> Deserialize<'de> for StructVariableInitializer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for StructVariableInitializer
impl Display for StructVariableInitializer
source§impl Node for StructVariableInitializer
impl Node for StructVariableInitializer
source§impl PartialEq for StructVariableInitializer
impl PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
fn eq(&self, other: &StructVariableInitializer) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for StructVariableInitializer
impl Clone for StructVariableInitializer
source§fn clone(&self) -> StructVariableInitializer
fn clone(&self) -> StructVariableInitializer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StructVariableInitializer
impl Debug for StructVariableInitializer
source§impl<'de> Deserialize<'de> for StructVariableInitializer
impl<'de> Deserialize<'de> for StructVariableInitializer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for StructVariableInitializer
impl Display for StructVariableInitializer
source§impl Node for StructVariableInitializer
impl Node for StructVariableInitializer
source§impl PartialEq for StructVariableInitializer
impl PartialEq for StructVariableInitializer
source§fn eq(&self, other: &StructVariableInitializer) -> bool
fn eq(&self, other: &StructVariableInitializer) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for StructVariableInitializer
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
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/ternary/struct.TernaryExpression.html b/leo_ast/expressions/ternary/struct.TernaryExpression.html
index 3b92d348cb..f53e06a33d 100644
--- a/leo_ast/expressions/ternary/struct.TernaryExpression.html
+++ b/leo_ast/expressions/ternary/struct.TernaryExpression.html
@@ -10,8 +10,8 @@
§if_false: Box<Expression>
The branch the expression evaluates to if condition
evaluates to false.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The branch the expression evaluates to if condition
evaluates to false.
The span from condition
to if_false
.
The ID of the node.
-source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
source§impl<'de> Deserialize<'de> for TernaryExpression
impl<'de> Deserialize<'de> for TernaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for TernaryExpression
impl Display for TernaryExpression
source§impl Node for TernaryExpression
impl Node for TernaryExpression
source§impl PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
source§fn eq(&self, other: &TernaryExpression) -> bool
fn eq(&self, other: &TernaryExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
source§impl<'de> Deserialize<'de> for TernaryExpression
impl<'de> Deserialize<'de> for TernaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for TernaryExpression
impl Display for TernaryExpression
source§impl Node for TernaryExpression
impl Node for TernaryExpression
source§impl PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
source§fn eq(&self, other: &TernaryExpression) -> bool
fn eq(&self, other: &TernaryExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TernaryExpression
impl Serialize for TernaryExpression
impl Eq for TernaryExpression
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> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/tuple/struct.TupleExpression.html b/leo_ast/expressions/tuple/struct.TupleExpression.html
index aac9fb87c2..8bb95e994c 100644
--- a/leo_ast/expressions/tuple/struct.TupleExpression.html
+++ b/leo_ast/expressions/tuple/struct.TupleExpression.html
@@ -7,8 +7,8 @@
In the example above, it would be foo
, false
, and 42
.
§span: Span
The span from (
to )
.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
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 TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
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 TupleExpression
source§impl Node for TupleExpression
source§impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
source§impl Eq for TupleExpression
source§impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
§impl Freeze for TupleExpression
§impl RefUnwindSafe for TupleExpression
§impl Send for TupleExpression
§impl Sync for TupleExpression
§impl Unpin for TupleExpression
§impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
foo
, false
, and 42
.
The span from (
to )
.
The ID of the node.
-source§impl Clone for TupleExpression
impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
fn clone(&self) -> TupleExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TupleExpression
impl Debug for TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
impl<'de> Deserialize<'de> for TupleExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for TupleExpression
impl Display for TupleExpression
source§impl Node for TupleExpression
impl Node for TupleExpression
source§impl PartialEq for TupleExpression
impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
fn eq(&self, other: &TupleExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for TupleExpression
impl Clone for TupleExpression
source§fn clone(&self) -> TupleExpression
fn clone(&self) -> TupleExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TupleExpression
impl Debug for TupleExpression
source§impl<'de> Deserialize<'de> for TupleExpression
impl<'de> Deserialize<'de> for TupleExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for TupleExpression
impl Display for TupleExpression
source§impl Node for TupleExpression
impl Node for TupleExpression
source§impl PartialEq for TupleExpression
impl PartialEq for TupleExpression
source§fn eq(&self, other: &TupleExpression) -> bool
fn eq(&self, other: &TupleExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TupleExpression
impl Serialize for TupleExpression
impl Eq for TupleExpression
impl StructuralPartialEq for TupleExpression
Auto Trait Implementations§
impl Freeze for TupleExpression
impl RefUnwindSafe for TupleExpression
impl Send for TupleExpression
impl Sync for TupleExpression
impl Unpin for TupleExpression
impl UnwindSafe for TupleExpression
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/expressions/unary/struct.UnaryExpression.html b/leo_ast/expressions/unary/struct.UnaryExpression.html
index 50d444924d..6d2fc4ab58 100644
--- a/leo_ast/expressions/unary/struct.UnaryExpression.html
+++ b/leo_ast/expressions/unary/struct.UnaryExpression.html
@@ -8,8 +8,8 @@
§op: UnaryOperation
The unary operator to apply to inner
.
§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
This method tests for self
and other
values to be equal, and is used
+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
This method tests for self
and other
values to be equal, and is used
by ==
.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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
§span: Span
A span locating where the annotation occurred in the source.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
source§fn clone(&self) -> Annotation
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 Annotation
source§impl<'de> Deserialize<'de> for Annotation
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 Annotation
source§impl Node for Annotation
source§impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
source§impl Eq for Annotation
source§impl StructuralPartialEq for Annotation
Auto Trait Implementations§
§impl Freeze for Annotation
§impl RefUnwindSafe for Annotation
§impl Send for Annotation
§impl Sync for Annotation
§impl Unpin for Annotation
§impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The unary operator to apply to inner
.
The span covering op inner
.
The ID of the node.
-source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnaryExpression
impl Debug for UnaryExpression
source§impl<'de> Deserialize<'de> for UnaryExpression
impl<'de> Deserialize<'de> for UnaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for UnaryExpression
impl Display for UnaryExpression
source§impl Node for UnaryExpression
impl Node for UnaryExpression
source§impl PartialEq for UnaryExpression
impl PartialEq for UnaryExpression
source§fn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnaryExpression
impl Debug for UnaryExpression
source§impl<'de> Deserialize<'de> for UnaryExpression
impl<'de> Deserialize<'de> for UnaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for UnaryExpression
impl Display for UnaryExpression
source§impl Node for UnaryExpression
impl Node for UnaryExpression
source§impl PartialEq for UnaryExpression
impl PartialEq for UnaryExpression
source§fn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnaryExpression
impl Serialize for UnaryExpression
impl Eq for UnaryExpression
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> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
impl<T> Any for Twhere
diff --git a/leo_ast/functions/annotation/struct.Annotation.html b/leo_ast/functions/annotation/struct.Annotation.html
index 460a6b3235..a89d2db96b 100644
--- a/leo_ast/functions/annotation/struct.Annotation.html
+++ b/leo_ast/functions/annotation/struct.Annotation.html
@@ -6,8 +6,8 @@
Fields§
§identifier: Identifier
The name of the annotation.
span: Span
A span locating where the annotation occurred in the source.
id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for Annotation
impl Clone for Annotation
source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Annotation
impl Debug for Annotation
source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for Annotation
impl Display for Annotation
source§impl Node for Annotation
impl Node for Annotation
source§impl PartialEq for Annotation
impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
fn eq(&self, other: &Annotation) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for Annotation
impl Clone for Annotation
source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Annotation
impl Debug for Annotation
source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for Annotation
impl Display for Annotation
source§impl Node for Annotation
impl Node for Annotation
source§impl PartialEq for Annotation
impl PartialEq for Annotation
source§fn eq(&self, other: &Annotation) -> bool
fn eq(&self, other: &Annotation) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Annotation
impl Serialize for Annotation
impl Eq for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/functions/mode/enum.Mode.html b/leo_ast/functions/mode/enum.Mode.html
index 68751ec0f1..2899510771 100644
--- a/leo_ast/functions/mode/enum.Mode.html
+++ b/leo_ast/functions/mode/enum.Mode.html
@@ -4,8 +4,8 @@
Private,
Public,
}Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
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 Mode
source§impl Copy for Mode
source§impl Eq for Mode
source§impl StructuralPartialEq for Mode
Auto Trait Implementations§
§impl Freeze for Mode
§impl RefUnwindSafe for Mode
§impl Send for Mode
§impl Sync for Mode
§impl Unpin for Mode
§impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
Expand description
The mode associated with a type.
-Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
impl<'de> Deserialize<'de> for Mode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl PartialEq for Mode
impl PartialEq for Mode
source§fn eq(&self, other: &Mode) -> bool
fn eq(&self, other: &Mode) -> bool
self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mode
impl<'de> Deserialize<'de> for Mode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for Mode
impl PartialEq for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/functions/output/struct.Output.html b/leo_ast/functions/output/struct.Output.html
index 3aa59c8c73..6ef6524f43 100644
--- a/leo_ast/functions/output/struct.Output.html
+++ b/leo_ast/functions/output/struct.Output.html
@@ -8,8 +8,8 @@
§type_: Type
The type of the function output.
§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 Output
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 Output
source§fn eq(&self, other: &Output) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
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 Output
source§impl Eq for Output
source§impl StructuralPartialEq for Output
Auto Trait Implementations§
§impl Freeze for Output
§impl RefUnwindSafe for Output
§impl Send for Output
§impl Sync for Output
§impl Unpin for Output
§impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize 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.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 PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
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 GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
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 GroupCoordinate
source§impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
source§impl Eq for GroupCoordinate
source§impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
§impl Freeze for GroupCoordinate
§impl RefUnwindSafe for GroupCoordinate
§impl Send for GroupCoordinate
§impl Sync for GroupCoordinate
§impl Unpin for GroupCoordinate
§impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The type of the function output.
The parameters span from any annotations to its type.
The ID of the node.
-source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl PartialEq for Output
impl PartialEq for Output
source§fn eq(&self, other: &Output) -> bool
fn eq(&self, other: &Output) -> bool
self
and other
values to be equal, and is used
+Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for Output
impl PartialEq for Output
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize a new function.
sourcefn format(&self, f: &mut Formatter<'_>) -> Result
Private formatting method used for optimizing fmt::Debug and fmt::Display implementations.
-
impl<T> Any for Twhere
diff --git a/leo_ast/functions/struct.Function.html b/leo_ast/functions/struct.Function.html
index ce7295274d..1e57940325 100644
--- a/leo_ast/functions/struct.Function.html
+++ b/leo_ast/functions/struct.Function.html
@@ -30,8 +30,8 @@
) -> SelfInitialize a new function.
sourcefn format(&self, f: &mut Formatter<'_>) -> Result
Private formatting method used for optimizing fmt::Debug and fmt::Display implementations.
-
Initialize a new function.
sourcefn format(&self, f: &mut Formatter<'_>) -> Result
fn 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
impl<'de> Deserialize<'de> for Function
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl From<Function> for FunctionStub
impl From<Function> for FunctionStub
source§impl From<FunctionStub> for Function
impl From<FunctionStub> for Function
source§fn from(function: FunctionStub) -> Self
fn from(function: FunctionStub) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Function
impl<'de> Deserialize<'de> for Function
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl From<Function> for FunctionStub
impl From<Function> for FunctionStub
source§impl From<FunctionStub> for Function
impl From<FunctionStub> for Function
source§fn from(function: FunctionStub) -> Self
fn from(function: FunctionStub) -> Self
source§impl PartialEq for Function
impl PartialEq for Function
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> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
impl<T> Any for Twhere
diff --git a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
index 82fc300c0b..5f4302cddd 100644
--- a/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
+++ b/leo_ast/groups/group_coordinate/enum.GroupCoordinate.html
@@ -8,8 +8,8 @@
§SignHigh
A sign high recovery, i.e. +
.
§SignLow
A sign low recovery, i.e., -
.
§Inferred
Recovery with an inferred value.
-
SignHigh
A sign high recovery, i.e. +
.
SignLow
A sign low recovery, i.e., -
.
Inferred
Recovery with an inferred value.
-Trait Implementations§
source§impl Clone for GroupCoordinate
impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
fn clone(&self) -> GroupCoordinate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupCoordinate
impl Debug for GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
impl<'de> Deserialize<'de> for GroupCoordinate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for GroupCoordinate
impl Display for GroupCoordinate
source§impl PartialEq for GroupCoordinate
impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
fn eq(&self, other: &GroupCoordinate) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for GroupCoordinate
impl Clone for GroupCoordinate
source§fn clone(&self) -> GroupCoordinate
fn clone(&self) -> GroupCoordinate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupCoordinate
impl Debug for GroupCoordinate
source§impl<'de> Deserialize<'de> for GroupCoordinate
impl<'de> Deserialize<'de> for GroupCoordinate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for GroupCoordinate
impl Display for GroupCoordinate
source§impl PartialEq for GroupCoordinate
impl PartialEq for GroupCoordinate
source§fn eq(&self, other: &GroupCoordinate) -> bool
fn eq(&self, other: &GroupCoordinate) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupCoordinate
impl Serialize for GroupCoordinate
impl Eq for GroupCoordinate
impl StructuralPartialEq for GroupCoordinate
Auto Trait Implementations§
impl Freeze for GroupCoordinate
impl RefUnwindSafe for GroupCoordinate
impl Send for GroupCoordinate
impl Sync for GroupCoordinate
impl Unpin for GroupCoordinate
impl UnwindSafe for GroupCoordinate
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/mapping/struct.Mapping.html b/leo_ast/mapping/struct.Mapping.html
index 40b43e63dd..72b41569cb 100644
--- a/leo_ast/mapping/struct.Mapping.html
+++ b/leo_ast/mapping/struct.Mapping.html
@@ -10,8 +10,8 @@
§value_type: Type
The type of the value.
§span: Span
The entire span of the mapping declaration.
§id: NodeID
The ID of the node.
-Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§fn eq(&self, other: &Mapping) -> bool
This method tests for self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
sourcepub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
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 Mapping
source§impl Eq for Mapping
source§impl StructuralPartialEq for Mapping
Auto Trait Implementations§
§impl Freeze for Mapping
§impl RefUnwindSafe for Mapping
§impl Send for Mapping
§impl Sync for Mapping
§impl Unpin for Mapping
§impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The type of the value.
The entire span of the mapping declaration.
The ID of the node.
-source§impl Mapping
impl Mapping
pub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
source§impl<'de> Deserialize<'de> for Mapping
impl<'de> Deserialize<'de> for Mapping
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl PartialEq for Mapping
impl PartialEq for Mapping
source§fn eq(&self, other: &Mapping) -> bool
fn eq(&self, other: &Mapping) -> bool
self
and other
values to be equal, and is used
+Implementations§
source§impl Mapping
impl Mapping
pub fn from_snarkvm<N: Network>(mapping: &MappingCore<N>) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mapping
impl<'de> Deserialize<'de> for Mapping
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for Mapping
impl PartialEq for Mapping
impl Eq for Mapping
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnwindSafe for Mapping
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html
index 99166e44b9..913f459d27 100644
--- a/leo_ast/program/program_id/struct.ProgramId.html
+++ b/leo_ast/program/program_id/struct.ProgramId.html
@@ -4,7 +4,7 @@
}Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
§network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
Expand description
An identifier for a program that is eventually deployed to the network.
Fields§
§name: Identifier
The name of the program.
network: Identifier
The network associated with the program.
-Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
source§impl From<Identifier> for ProgramId
impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
fn from(name: Identifier) -> Self
source§impl Hash for ProgramId
impl Hash for ProgramId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
§stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
§program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
source§fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
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 Program
source§impl Eq for Program
source§impl StructuralPartialEq for Program
Auto Trait Implementations§
§impl Freeze for Program
§impl !RefUnwindSafe for Program
§impl Send for Program
§impl !Sync for Program
§impl Unpin for Program
§impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
source§impl<'de> Deserialize<'de> for ProgramId
impl<'de> Deserialize<'de> for ProgramId
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
source§impl From<Identifier> for ProgramId
impl From<Identifier> for ProgramId
source§fn from(name: Identifier) -> Self
fn from(name: Identifier) -> Self
source§impl PartialEq for ProgramId
impl PartialEq for ProgramId
source§fn eq(&self, other: &ProgramId) -> bool
fn eq(&self, other: &ProgramId) -> bool
self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
!=
. The default implementation is almost always
diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html
index 8862f2229b..74346006bd 100644
--- a/leo_ast/program/struct.Program.html
+++ b/leo_ast/program/struct.Program.html
@@ -6,9 +6,9 @@
Fields§
§imports: IndexMap<Symbol, (Program, Span)>
A map from import names to import definitions.
stubs: IndexMap<Symbol, Stub>
A map from program stub names to program stub scopes.
program_scopes: IndexMap<Symbol, ProgramScope>
A map from program names to program scopes.
-Trait Implementations§
source§impl Default for Program
impl Default for Program
source§fn default() -> Self
fn default() -> Self
Constructs an empty program node.
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Program
impl<'de> Deserialize<'de> for Program
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl PartialEq for Program
impl PartialEq for Program
impl Eq for Program
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Freeze for Program
impl !RefUnwindSafe for Program
impl Send for Program
impl !Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/statement/definition/struct.DefinitionStatement.html b/leo_ast/statement/definition/struct.DefinitionStatement.html
index 39e89ac789..ed53cb3ef4 100644
--- a/leo_ast/statement/definition/struct.DefinitionStatement.html
+++ b/leo_ast/statement/definition/struct.DefinitionStatement.html
@@ -12,8 +12,8 @@
§value: Expression
An initializer value for the bindings.
§span: Span
The span excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
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 DefinitionStatement
source§impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
source§impl Eq for DefinitionStatement
source§impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
§impl Freeze for DefinitionStatement
§impl RefUnwindSafe for DefinitionStatement
§impl Send for DefinitionStatement
§impl Sync for DefinitionStatement
§impl Unpin for DefinitionStatement
§impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
§span: Span
The span of return expression
excluding the semicolon.
§id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
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 ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
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 ReturnStatement
source§impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
source§impl Eq for ReturnStatement
source§impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
§impl Freeze for ReturnStatement
§impl RefUnwindSafe for ReturnStatement
§impl Send for ReturnStatement
§impl Sync for ReturnStatement
§impl Unpin for ReturnStatement
§impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
An initializer value for the bindings.
The span excluding the semicolon.
The ID of the node.
-source§impl Clone for DefinitionStatement
impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
fn clone(&self) -> DefinitionStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefinitionStatement
impl Debug for DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
impl<'de> Deserialize<'de> for DefinitionStatement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for DefinitionStatement
impl Display for DefinitionStatement
source§impl Node for DefinitionStatement
impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
fn eq(&self, other: &DefinitionStatement) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for DefinitionStatement
impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
fn clone(&self) -> DefinitionStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefinitionStatement
impl Debug for DefinitionStatement
source§impl<'de> Deserialize<'de> for DefinitionStatement
impl<'de> Deserialize<'de> for DefinitionStatement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for DefinitionStatement
impl Display for DefinitionStatement
source§impl Node for DefinitionStatement
impl Node for DefinitionStatement
source§impl PartialEq for DefinitionStatement
impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
fn eq(&self, other: &DefinitionStatement) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DefinitionStatement
impl Serialize for DefinitionStatement
impl Eq for DefinitionStatement
impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
impl Freeze for DefinitionStatement
impl RefUnwindSafe for DefinitionStatement
impl Send for DefinitionStatement
impl Sync for DefinitionStatement
impl Unpin for DefinitionStatement
impl UnwindSafe for DefinitionStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
impl<T> Any for Twhere
diff --git a/leo_ast/statement/return_/struct.ReturnStatement.html b/leo_ast/statement/return_/struct.ReturnStatement.html
index aa46e54a7a..bc6cd36318 100644
--- a/leo_ast/statement/return_/struct.ReturnStatement.html
+++ b/leo_ast/statement/return_/struct.ReturnStatement.html
@@ -6,8 +6,8 @@
Fields§
§expression: Expression
The expression to return to the function caller.
span: Span
The span of return expression
excluding the semicolon.
id: NodeID
The ID of the node.
-Trait Implementations§
source§impl Clone for ReturnStatement
impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
fn clone(&self) -> ReturnStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReturnStatement
impl Debug for ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
impl<'de> Deserialize<'de> for ReturnStatement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for ReturnStatement
impl Display for ReturnStatement
source§impl Node for ReturnStatement
impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
fn eq(&self, other: &ReturnStatement) -> bool
self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for ReturnStatement
impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
fn clone(&self) -> ReturnStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReturnStatement
impl Debug for ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
impl<'de> Deserialize<'de> for ReturnStatement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for ReturnStatement
impl Display for ReturnStatement
source§impl Node for ReturnStatement
impl Node for ReturnStatement
source§impl PartialEq for ReturnStatement
impl PartialEq for ReturnStatement
source§fn eq(&self, other: &ReturnStatement) -> bool
fn eq(&self, other: &ReturnStatement) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReturnStatement
impl Serialize for ReturnStatement
impl Eq for ReturnStatement
impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations§
impl Freeze for ReturnStatement
impl RefUnwindSafe for ReturnStatement
impl Send for ReturnStatement
impl Sync for ReturnStatement
impl Unpin for ReturnStatement
impl UnwindSafe for ReturnStatement
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/struct/member/struct.Member.html b/leo_ast/struct/member/struct.Member.html
index 7477b3e315..4ec7376751 100644
--- a/leo_ast/struct/member/struct.Member.html
+++ b/leo_ast/struct/member/struct.Member.html
@@ -11,8 +11,8 @@
§span: Span
The span of the member.
§id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Member
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 Member
source§impl Eq for Member
source§impl StructuralPartialEq for Member
Auto Trait Implementations§
§impl Freeze for Member
§impl RefUnwindSafe for Member
§impl Send for Member
§impl Sync for Member
§impl Unpin for Member
§impl UnwindSafe for Member
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
Trait Implementations§
source§impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
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 FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
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 FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Display for FunctionStub
source§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 Node for FunctionStub
source§impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
source§impl Eq for FunctionStub
Auto Trait Implementations§
§impl Freeze for FunctionStub
§impl RefUnwindSafe for FunctionStub
§impl Send for FunctionStub
§impl Sync for FunctionStub
§impl Unpin for FunctionStub
§impl UnwindSafe for FunctionStub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
The span of the member.
The ID of the node.
source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for Member
impl PartialEq for Member
impl Eq for Member
impl StructuralPartialEq for Member
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnwindSafe for Member
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
impl<T> Any for Twhere
diff --git a/leo_ast/stub/function_stub/struct.FunctionStub.html b/leo_ast/stub/function_stub/struct.FunctionStub.html
index d2242bf5ba..a3f79dd2e3 100644
--- a/leo_ast/stub/function_stub/struct.FunctionStub.html
+++ b/leo_ast/stub/function_stub/struct.FunctionStub.html
@@ -41,7 +41,7 @@
closure: &ClosureCore<N, Instruction>,
program: Symbol,
) -> Self
source§impl Clone for FunctionStub
impl Clone for FunctionStub
source§fn clone(&self) -> FunctionStub
fn clone(&self) -> FunctionStub
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunctionStub
impl Debug for FunctionStub
source§impl<'de> Deserialize<'de> for FunctionStub
impl<'de> Deserialize<'de> for FunctionStub
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for FunctionStub
impl Display for FunctionStub
source§impl From<Function> for FunctionStub
impl From<Function> for FunctionStub
source§impl From<FunctionStub> for Function
impl From<FunctionStub> for Function
source§fn from(function: FunctionStub) -> Self
fn from(function: FunctionStub) -> Self
source§impl Node for FunctionStub
impl Node for FunctionStub
source§impl PartialEq for FunctionStub
impl PartialEq for FunctionStub
source§impl Display for FunctionStub
impl Display for FunctionStub
source§impl From<Function> for FunctionStub
impl From<Function> for FunctionStub
source§impl From<FunctionStub> for Function
impl From<FunctionStub> for Function
source§fn from(function: FunctionStub) -> Self
fn from(function: FunctionStub) -> Self
source§impl Node for FunctionStub
impl Node for FunctionStub
source§impl PartialEq for FunctionStub
impl PartialEq for FunctionStub
source§impl Serialize for FunctionStub
impl Serialize for FunctionStub
impl Eq for FunctionStub
impl Freeze for FunctionStub
impl RefUnwindSafe for FunctionStub
impl Send for FunctionStub
impl Sync for FunctionStub
impl Unpin for FunctionStub
impl UnwindSafe for FunctionStub
source§impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_ast/stub/struct.Stub.html b/leo_ast/stub/struct.Stub.html
index 2fb7aec0f9..c08d4d93ee 100644
--- a/leo_ast/stub/struct.Stub.html
+++ b/leo_ast/stub/struct.Stub.html
@@ -14,9 +14,9 @@
§mappings: Vec<(Symbol, Mapping)>
A vector of mapping definitions.
§functions: Vec<(Symbol, FunctionStub)>
A vector of function stub definitions.
§span: Span
The span associated with the stub.
-Trait Implementations§
source§impl Default for Stub
source§fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
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<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
source§impl Eq for Stub
source§impl StructuralPartialEq for Stub
Auto Trait Implementations§
§impl Freeze for Stub
§impl RefUnwindSafe for Stub
§impl Send for Stub
§impl Sync for Stub
§impl Unpin for Stub
§impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
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 TupleType
source§fn eq(&self, other: &TupleType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
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 Type
source§fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Input(Type, Identifier)
§Address(String, Span)
§Boolean(bool, Span)
§Struct(Identifier, IndexMap<Symbol, Value>)
§Field(String, Span)
§Group(Box<GroupLiteral>)
§I8(i8, Span)
§I16(i16, Span)
§I32(i32, Span)
§I64(i64, Span)
§I128(i128, Span)
§U8(u8, Span)
§U16(u16, Span)
§U32(u32, Span)
§U64(u64, Span)
§U128(u128, Span)
§Scalar(String, Span)
§String(String, Span)
Implementations§
source§impl Value
sourcepub(crate) fn abs(self, span: Span) -> Result<Self>
sourcepub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
sourcepub(crate) fn neg(self, span: Span) -> Result<Self>
sourcepub(crate) fn not(self, span: Span) -> Result<Self>
sourcepub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
sourcepub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
Blanket Implementations§
source§impl Eq for Value
source§impl StructuralPartialEq for Value
Auto Trait Implementations§
§impl Freeze for Value
§impl RefUnwindSafe for Value
§impl Send for Value
§impl Sync for Value
§impl Unpin for Value
§impl UnwindSafe for Value
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_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for Backtraced
source§impl Debug for Backtraced
source§impl Default for Backtraced
source§impl Display for Backtraced
source§impl Error for Backtraced
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl Hash for Backtraced
source§impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read moresource§impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
For when the symbol table fails to be represented as a JSON value.
-sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+sourcepub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
sourcepub fn function_not_found(func: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for AstError
§impl RefUnwindSafe for AstError
§impl Send for AstError
§impl Sync for AstError
§impl Unpin for AstError
§impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CliError
§impl RefUnwindSafe for CliError
§impl Send for CliError
§impl Sync for CliError
§impl Unpin for CliError
§impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
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 CompilerError
source§impl Display for CompilerError
source§impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for CompilerError
§impl RefUnwindSafe for CompilerError
§impl Send for CompilerError
§impl Sync for CompilerError
§impl Unpin for CompilerError
§impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
Converts to this type from the input type.source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
Converts to this type from the input type.source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for LeoError
§impl RefUnwindSafe for LeoError
§impl Send for LeoError
§impl Sync for LeoError
§impl Unpin for LeoError
§impl UnwindSafe for LeoError
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
index e97f28a9fd..6f2d14543d 100644
--- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
+++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html
@@ -12,7 +12,7 @@
sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
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 FlattenError
source§impl Display for FlattenError
source§impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
Converts to this type from the input type.source§impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for FlattenError
§impl RefUnwindSafe for FlattenError
§impl Send for FlattenError
§impl Sync for FlattenError
§impl Unpin for FlattenError
§impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
source§fn clone(&self) -> PackageError
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 PackageError
source§impl Display for PackageError
source§impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for PackageError
§impl RefUnwindSafe for PackageError
§impl Send for PackageError
§impl Sync for PackageError
§impl Unpin for PackageError
§impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
A vector of mapping definitions.
A vector of function stub definitions.
The span associated with the stub.
-source§impl Default for Stub
impl Default for Stub
source§fn default() -> Self
fn default() -> Self
Constructs an empty program stub
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Stub
impl<'de> Deserialize<'de> for Stub
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl From<Stub> for ProgramScope
impl From<Stub> for ProgramScope
source§impl From<Stub> for ProgramScope
impl From<Stub> for ProgramScope
source§impl PartialEq for Stub
impl PartialEq for Stub
impl Eq for Stub
impl StructuralPartialEq for Stub
Auto Trait Implementations§
impl Freeze for Stub
impl RefUnwindSafe for Stub
impl Send for Stub
impl Sync for Stub
impl Unpin for Stub
impl UnwindSafe for Stub
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
impl<T> Any for Twhere
diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html
index 8842670de3..c9129e9064 100644
--- a/leo_ast/types/tuple/struct.TupleType.html
+++ b/leo_ast/types/tuple/struct.TupleType.html
@@ -4,8 +4,8 @@
Fields§
§elements: Vec<Type>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Trait Implementations§
source§impl<'de> Deserialize<'de> for TupleType
impl<'de> Deserialize<'de> for TupleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for TupleType
impl PartialEq for TupleType
source§fn eq(&self, other: &TupleType) -> bool
fn eq(&self, other: &TupleType) -> bool
self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
!=
. The default implementation is almost always
diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html
index 45ca231e0f..d48992f740 100644
--- a/leo_ast/types/type_/enum.Type.html
+++ b/leo_ast/types/type_/enum.Type.html
@@ -42,7 +42,7 @@
t: &PlaintextType<N>,
program: Option<Symbol>,
) -> SelfTrait Implementations§
source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl PartialEq for Type
impl PartialEq for Type
source§fn eq(&self, other: &Type) -> bool
fn eq(&self, other: &Type) -> bool
self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
!=
. The default implementation is almost always
diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html
index b27af1b9e9..2e165865b1 100644
--- a/leo_ast/value/enum.Value.html
+++ b/leo_ast/value/enum.Value.html
@@ -17,10 +17,10 @@
U128(u128, Span),
Scalar(String, Span),
String(String, Span),
-}Variants§
Input(Type, Identifier)
Address(String, Span)
Boolean(bool, Span)
Struct(Identifier, IndexMap<Symbol, Value>)
Field(String, Span)
Group(Box<GroupLiteral>)
I8(i8, Span)
I16(i16, Span)
I32(i32, Span)
I64(i64, Span)
I128(i128, Span)
U8(u8, Span)
U16(u16, Span)
U32(u32, Span)
U64(u64, Span)
U128(u128, Span)
Scalar(String, Span)
String(String, Span)
Implementations§
source§impl Value
impl Value
pub(crate) fn abs(self, span: Span) -> Result<Self>
pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
pub(crate) fn neg(self, span: Span) -> Result<Self>
pub(crate) fn not(self, span: Span) -> Result<Self>
pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
source§fn eq(&self, other: &Value) -> bool
fn eq(&self, other: &Value) -> bool
self
and other
values to be equal, and is used
+}Variants§
Input(Type, Identifier)
Address(String, Span)
Boolean(bool, Span)
Struct(Identifier, IndexMap<Symbol, Value>)
Field(String, Span)
Group(Box<GroupLiteral>)
I8(i8, Span)
I16(i16, Span)
I32(i32, Span)
I64(i64, Span)
I128(i128, Span)
U8(u8, Span)
U16(u16, Span)
U32(u32, Span)
U64(u64, Span)
U128(u128, Span)
Scalar(String, Span)
String(String, Span)
Implementations§
source§impl Value
impl Value
pub(crate) fn abs(self, span: Span) -> Result<Self>
pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>
pub(crate) fn neg(self, span: Span) -> Result<Self>
pub(crate) fn not(self, span: Span) -> Result<Self>
pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>
pub(crate) fn is_supported_const_fold_type(&self) -> bool
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
diff --git a/leo_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
impl<T> CloneToUninit for Twhere
diff --git a/leo_errors/common/backtraced/struct.Backtraced.html b/leo_errors/common/backtraced/struct.Backtraced.html
index cdfad548d9..854eaca092 100644
--- a/leo_errors/common/backtraced/struct.Backtraced.html
+++ b/leo_errors/common/backtraced/struct.Backtraced.html
@@ -30,7 +30,7 @@
sourcepub fn error_code(&self) -> String
pub fn error_code(&self) -> String
Gets a unique error identifier.
sourcepub fn warning_code(&self) -> String
pub fn warning_code(&self) -> String
Gets a unique warning identifier.
-Trait Implementations§
source§impl Clone for Backtraced
impl Clone for Backtraced
source§impl Debug for Backtraced
impl Debug for Backtraced
source§impl Default for Backtraced
impl Default for Backtraced
source§impl Display for Backtraced
impl Display for Backtraced
source§impl Error for Backtraced
impl Error for Backtraced
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
source§impl From<Backtraced> for AstError
impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for CliError
impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for CompilerError
impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for FlattenError
impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for LoopUnrollerError
impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for PackageError
impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for ParserError
impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for ParserWarning
impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for TypeCheckerError
impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for TypeCheckerWarning
impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for UtilError
impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
Trait Implementations§
source§impl Clone for Backtraced
impl Clone for Backtraced
source§impl Debug for Backtraced
impl Debug for Backtraced
source§impl Default for Backtraced
impl Default for Backtraced
source§impl Display for Backtraced
impl Display for Backtraced
source§impl Error for Backtraced
impl Error for Backtraced
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
source§impl From<Backtraced> for AstError
impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for CliError
impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for CompilerError
impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for FlattenError
impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for LoopUnrollerError
impl From<Backtraced> for LoopUnrollerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for PackageError
impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for ParserError
impl From<Backtraced> for ParserError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for ParserWarning
impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for TypeCheckerError
impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for TypeCheckerWarning
impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Backtraced> for UtilError
impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl Hash for Backtraced
impl Hash for Backtraced
source§impl PartialEq for Backtraced
impl PartialEq for Backtraced
source§fn eq(&self, other: &Self) -> bool
fn eq(&self, other: &Self) -> bool
self
and other
values to be equal, and is used
diff --git a/leo_errors/common/formatted/struct.Formatted.html b/leo_errors/common/formatted/struct.Formatted.html
index 42b10afa9e..4d87d88e96 100644
--- a/leo_errors/common/formatted/struct.Formatted.html
+++ b/leo_errors/common/formatted/struct.Formatted.html
@@ -26,7 +26,7 @@
sourcepub fn error_code(&self) -> String
pub fn error_code(&self) -> String
Returns an error identifier.
sourcepub fn warning_code(&self) -> String
pub fn warning_code(&self) -> String
Returns an warning identifier.
-Trait Implementations§
source§impl Error for Formatted
impl Error for Formatted
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
source§impl From<Formatted> for CompilerError
impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
impl From<Formatted> for TypeCheckerWarning
Trait Implementations§
source§impl Error for Formatted
impl Error for Formatted
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
source§impl From<Formatted> for CompilerError
impl From<Formatted> for CompilerError
source§impl From<Formatted> for FlattenError
impl From<Formatted> for FlattenError
source§impl From<Formatted> for LoopUnrollerError
impl From<Formatted> for LoopUnrollerError
source§impl From<Formatted> for PackageError
impl From<Formatted> for PackageError
source§impl From<Formatted> for ParserError
impl From<Formatted> for ParserError
source§impl From<Formatted> for ParserWarning
impl From<Formatted> for ParserWarning
source§impl From<Formatted> for TypeCheckerError
impl From<Formatted> for TypeCheckerError
source§impl From<Formatted> for TypeCheckerWarning
impl From<Formatted> for TypeCheckerWarning
source§impl PartialEq for Formatted
impl PartialEq for Formatted
source§fn eq(&self, other: &Formatted) -> bool
fn eq(&self, other: &Formatted) -> bool
self
and other
values to be equal, and is used
by ==
.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
!=
. The default implementation is almost always
diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html
index e1210a7d83..e5f0835be3 100644
--- a/leo_errors/errors/ast/ast_errors/enum.AstError.html
+++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html
@@ -33,7 +33,7 @@
sourcepub fn failed_to_convert_symbol_table_to_json_value(
error: impl ErrorArg,
) -> Self
pub fn failed_to_convert_symbol_table_to_json_value( error: impl ErrorArg, ) -> Self
For when the symbol table fails to be represented as a JSON value.
-pub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
pub fn function_not_found(func: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for AstError
impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for AstError
impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
+pub fn redefining_external_struct(struct_: impl Display, span: Span) -> Self
pub fn function_not_found(func: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for AstError
impl Error for AstError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for AstError
impl From<Backtraced> for AstError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for AstError
impl LeoMessageCode for AstError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
Auto Trait Implementations§
impl Freeze for AstError
impl RefUnwindSafe for AstError
impl Send for AstError
impl Sync for AstError
impl Unpin for AstError
impl UnwindSafe for AstError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html
index 54ef3f06bc..bf97586920 100644
--- a/leo_errors/errors/cli/cli_errors/enum.CliError.html
+++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html
@@ -18,7 +18,7 @@
program: impl Display,
limit: u64,
network: impl Display,
-) -> Selfsourcepub fn confirmation_failed() -> Self
sourcepub fn invalid_balance(account: impl Display) -> Self
sourcepub fn table_render_failed(error: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
pub fn confirmation_failed() -> Self
pub fn invalid_balance(account: impl Display) -> Self
pub fn table_render_failed(error: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for CliError
impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for CliError
impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
+) -> Selfpub fn confirmation_failed() -> Self
pub fn invalid_balance(account: impl Display) -> Self
pub fn table_render_failed(error: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for CliError
impl Error for CliError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for CliError
impl From<Backtraced> for CliError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for CliError
impl LeoMessageCode for CliError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
Auto Trait Implementations§
impl Freeze for CliError
impl RefUnwindSafe for CliError
impl Send for CliError
impl Sync for CliError
impl Unpin for CliError
impl UnwindSafe for CliError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
index c9f3806fb8..6a62c256d6 100644
--- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
+++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html
@@ -19,7 +19,7 @@
main_program_name: impl Display,
dependency_name: impl Display,
span: Span,
-) -> Selfsourcepub fn num_exit_codes() -> i32
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
fn clone(&self) -> CompilerError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CompilerError
impl Debug for CompilerError
source§impl Display for CompilerError
impl Display for CompilerError
source§impl Error for CompilerError
impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for CompilerError
impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<CompilerError> for LeoError
impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
fn from(source: CompilerError) -> Self
source§impl From<Formatted> for CompilerError
impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
+) -> Selfpub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for CompilerError
impl Clone for CompilerError
source§fn clone(&self) -> CompilerError
fn clone(&self) -> CompilerError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CompilerError
impl Debug for CompilerError
source§impl Display for CompilerError
impl Display for CompilerError
source§impl Error for CompilerError
impl Error for CompilerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for CompilerError
impl From<Backtraced> for CompilerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<CompilerError> for LeoError
impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
fn from(source: CompilerError) -> Self
source§impl From<Formatted> for CompilerError
impl From<Formatted> for CompilerError
source§impl LeoMessageCode for CompilerError
impl LeoMessageCode for CompilerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
Auto Trait Implementations§
impl Freeze for CompilerError
impl RefUnwindSafe for CompilerError
impl Send for CompilerError
impl Sync for CompilerError
impl Unpin for CompilerError
impl UnwindSafe for CompilerError
Blanket Implementations§
Implementations§
Trait Implementations§
source§impl Error for LeoError
impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<CompilerError> for LeoError
impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
fn from(source: CompilerError) -> Self
source§impl From<FlattenError> for LeoError
impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
fn from(source: FlattenError) -> Self
source§impl From<LoopUnrollerError> for LeoError
impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
fn from(source: LoopUnrollerError) -> Self
source§impl From<PackageError> for LeoError
impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
fn from(source: PackageError) -> Self
source§impl From<ParserError> for LeoError
impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
source§impl From<TypeCheckerError> for LeoError
impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
fn from(source: TypeCheckerError) -> Self
Auto Trait Implementations§
impl Freeze for LeoError
impl RefUnwindSafe for LeoError
impl Send for LeoError
impl Sync for LeoError
impl Unpin for LeoError
impl UnwindSafe for LeoError
Blanket Implementations§
Trait Implementations§
source§impl Error for LeoError
impl Error for LeoError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<CompilerError> for LeoError
impl From<CompilerError> for LeoError
source§fn from(source: CompilerError) -> Self
fn from(source: CompilerError) -> Self
source§impl From<FlattenError> for LeoError
impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
fn from(source: FlattenError) -> Self
source§impl From<LoopUnrollerError> for LeoError
impl From<LoopUnrollerError> for LeoError
source§fn from(source: LoopUnrollerError) -> Self
fn from(source: LoopUnrollerError) -> Self
source§impl From<PackageError> for LeoError
impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
fn from(source: PackageError) -> Self
source§impl From<ParserError> for LeoError
impl From<ParserError> for LeoError
source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
source§impl From<TypeCheckerError> for LeoError
impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
fn from(source: TypeCheckerError) -> Self
Auto Trait Implementations§
impl Freeze for LeoError
impl RefUnwindSafe for LeoError
impl Send for LeoError
impl Sync for LeoError
impl Unpin for LeoError
impl UnwindSafe for LeoError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html index e97f28a9fd..6f2d14543d 100644 --- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html +++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html @@ -12,7 +12,7 @@sourcepub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
pub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self
For when a constant operation would cause an overflow.
sourcepub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
pub fn loop_has_neg_value(value: impl Display, span: Span) -> Self
For when a loop uses a negative value.
sourcepub fn u128_to_i128(value: impl Display, span: Span) -> Self
pub fn u128_to_i128(value: impl Display, span: Span) -> Self
For when a u128 value cannot be converted into an i128.
-pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
fn clone(&self) -> FlattenError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FlattenError
impl Debug for FlattenError
source§impl Display for FlattenError
impl Display for FlattenError
source§impl Error for FlattenError
impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for FlattenError
impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<FlattenError> for LeoError
impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
fn from(source: FlattenError) -> Self
source§impl From<Formatted> for FlattenError
impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
+pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for FlattenError
impl Clone for FlattenError
source§fn clone(&self) -> FlattenError
fn clone(&self) -> FlattenError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FlattenError
impl Debug for FlattenError
source§impl Display for FlattenError
impl Display for FlattenError
source§impl Error for FlattenError
impl Error for FlattenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for FlattenError
impl From<Backtraced> for FlattenError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<FlattenError> for LeoError
impl From<FlattenError> for LeoError
source§fn from(source: FlattenError) -> Self
fn from(source: FlattenError) -> Self
source§impl From<Formatted> for FlattenError
impl From<Formatted> for FlattenError
source§impl LeoMessageCode for FlattenError
impl LeoMessageCode for FlattenError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
Auto Trait Implementations§
impl Freeze for FlattenError
impl RefUnwindSafe for FlattenError
impl Send for FlattenError
impl Sync for FlattenError
impl Unpin for FlattenError
impl UnwindSafe for FlattenError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html
index 1dfd65c873..f92b3622c0 100644
--- a/leo_errors/errors/package/package_errors/enum.PackageError.html
+++ b/leo_errors/errors/package/package_errors/enum.PackageError.html
@@ -62,7 +62,7 @@
address: impl Display,
balance: impl Display,
fee: impl Display,
-) -> Selfsourcepub fn execution_error(error: impl Display) -> Self
sourcepub fn snarkvm_error(error: impl Display) -> Self
sourcepub fn failed_to_load_package(path: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
pub fn execution_error(error: impl Display) -> Self
pub fn snarkvm_error(error: impl Display) -> Self
pub fn failed_to_load_package(path: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
impl Clone for PackageError
source§fn clone(&self) -> PackageError
fn clone(&self) -> PackageError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PackageError
impl Debug for PackageError
source§impl Display for PackageError
impl Display for PackageError
source§impl Error for PackageError
impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for PackageError
impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for PackageError
impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
fn from(source: PackageError) -> Self
source§impl LeoMessageCode for PackageError
impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
+) -> Selfpub fn execution_error(error: impl Display) -> Self
pub fn snarkvm_error(error: impl Display) -> Self
pub fn failed_to_load_package(path: impl Display) -> Self
pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for PackageError
impl Clone for PackageError
source§fn clone(&self) -> PackageError
fn clone(&self) -> PackageError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PackageError
impl Debug for PackageError
source§impl Display for PackageError
impl Display for PackageError
source§impl Error for PackageError
impl Error for PackageError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for PackageError
impl From<Backtraced> for PackageError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for PackageError
impl From<Formatted> for PackageError
source§impl From<PackageError> for LeoError
impl From<PackageError> for LeoError
source§fn from(source: PackageError) -> Self
fn from(source: PackageError) -> Self
source§impl LeoMessageCode for PackageError
impl LeoMessageCode for PackageError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
Auto Trait Implementations§
impl Freeze for PackageError
impl RefUnwindSafe for PackageError
impl Send for PackageError
impl Sync for PackageError
impl Unpin for PackageError
impl UnwindSafe for PackageError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
index d4a11cdd59..fc0720afe9 100644
--- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
+++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html
@@ -4,7 +4,7 @@
}Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
§Formatted(Formatted)
§Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
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 ParserWarning
source§impl Display for ParserWarning
source§impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for ParserWarning
§impl RefUnwindSafe for ParserWarning
§impl Send for ParserWarning
§impl Sync for ParserWarning
§impl Unpin for ParserWarning
§impl UnwindSafe for ParserWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
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 TypeCheckerError
source§impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerError
§impl RefUnwindSafe for TypeCheckerError
§impl Send for TypeCheckerError
§impl Sync for TypeCheckerError
§impl Unpin for TypeCheckerError
§impl UnwindSafe for TypeCheckerError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
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 TypeCheckerWarning
source§impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for TypeCheckerWarning
§impl RefUnwindSafe for TypeCheckerWarning
§impl Send for TypeCheckerWarning
§impl Sync for TypeCheckerWarning
§impl Unpin for TypeCheckerWarning
§impl UnwindSafe for TypeCheckerWarning
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
Converts to this type from the input type.source§impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
Returns the prefixed error identifier.source§fn warning_code(&self) -> String
Returns the prefixed warning identifier.source§fn message_type() -> String
Returns the message’s code type for the program.source§fn code_identifier() -> i8
The LeoErrorCode which has a default code identifier of 037
(Leo upsidedown and backwards). This is to make the exit codes
unique to Leo itself.Auto Trait Implementations§
§impl Freeze for UtilError
§impl RefUnwindSafe for UtilError
§impl Send for UtilError
§impl Sync for UtilError
§impl Unpin for UtilError
§impl UnwindSafe for UtilError
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
Expand description
ParserWarning enum that represents all the warnings for the leo-parser
crate.
Variants§
Formatted(Formatted)
Backtraced(Backtraced)
Implementations§
source§impl ParserWarning
impl ParserWarning
sourcepub fn const_parameter_or_input(span: Span) -> Self
pub fn const_parameter_or_input(span: Span) -> Self
For when a user used const on a parameter or input instead of constant.
sourcepub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
pub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self
For when a keyword is deprecated but could be used as a valid identifier.
-pub fn num_exit_codes() -> i32
Trait Implementations§
source§impl Clone for ParserWarning
impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
fn clone(&self) -> ParserWarning
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParserWarning
impl Debug for ParserWarning
source§impl Display for ParserWarning
impl Display for ParserWarning
source§impl Error for ParserWarning
impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for ParserWarning
impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for ParserWarning
impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
fn from(source: ParserWarning) -> Self
source§impl LeoMessageCode for ParserWarning
impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
+pub fn num_exit_codes() -> i32
source§impl Clone for ParserWarning
impl Clone for ParserWarning
source§fn clone(&self) -> ParserWarning
fn clone(&self) -> ParserWarning
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParserWarning
impl Debug for ParserWarning
source§impl Display for ParserWarning
impl Display for ParserWarning
source§impl Error for ParserWarning
impl Error for ParserWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for ParserWarning
impl From<Backtraced> for ParserWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for ParserWarning
impl From<Formatted> for ParserWarning
source§impl From<ParserWarning> for LeoWarning
impl From<ParserWarning> for LeoWarning
source§fn from(source: ParserWarning) -> Self
fn from(source: ParserWarning) -> Self
source§impl LeoMessageCode for ParserWarning
impl LeoMessageCode for ParserWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
impl Freeze for ParserWarning
impl RefUnwindSafe for ParserWarning
impl Send for ParserWarning
impl Sync for ParserWarning
impl Unpin for ParserWarning
impl UnwindSafe for ParserWarning
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
index b920087eb1..4792423277 100644
--- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
+++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html
@@ -132,7 +132,7 @@
) -> Selfsourcepub fn async_cannot_assign_outside_conditional(
variable: impl Display,
span: Span,
-) -> Self
sourcepub fn only_async_transition_can_return_future(span: Span) -> Self
sourcepub fn async_function_not_found(name: impl Display, span: Span) -> Self
sourcepub fn empty_struct(span: Span) -> Self
sourcepub fn num_exit_codes() -> i32
pub fn async_cannot_assign_outside_conditional( variable: impl Display, span: Span, -) -> Self
pub fn only_async_transition_can_return_future(span: Span) -> Self
pub fn async_function_not_found(name: impl Display, span: Span) -> Self
pub fn empty_struct(span: Span) -> Self
pub fn num_exit_codes() -> i32
source§impl Clone for TypeCheckerError
impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
fn clone(&self) -> TypeCheckerError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeCheckerError
impl Debug for TypeCheckerError
source§impl Display for TypeCheckerError
impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for TypeCheckerError
impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for TypeCheckerError
impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
fn from(source: TypeCheckerError) -> Self
source§impl LeoMessageCode for TypeCheckerError
impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
+) -> Selfpub fn only_async_transition_can_return_future(span: Span) -> Self
pub fn async_function_not_found(name: impl Display, span: Span) -> Self
pub fn empty_struct(span: Span) -> Self
pub fn num_exit_codes() -> i32
source§impl Clone for TypeCheckerError
impl Clone for TypeCheckerError
source§fn clone(&self) -> TypeCheckerError
fn clone(&self) -> TypeCheckerError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeCheckerError
impl Debug for TypeCheckerError
source§impl Display for TypeCheckerError
impl Display for TypeCheckerError
source§impl Error for TypeCheckerError
impl Error for TypeCheckerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for TypeCheckerError
impl From<Backtraced> for TypeCheckerError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for TypeCheckerError
impl From<Formatted> for TypeCheckerError
source§impl From<TypeCheckerError> for LeoError
impl From<TypeCheckerError> for LeoError
source§fn from(source: TypeCheckerError) -> Self
fn from(source: TypeCheckerError) -> Self
source§impl LeoMessageCode for TypeCheckerError
impl LeoMessageCode for TypeCheckerError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
impl Freeze for TypeCheckerError
impl RefUnwindSafe for TypeCheckerError
impl Send for TypeCheckerError
impl Sync for TypeCheckerError
impl Unpin for TypeCheckerError
impl UnwindSafe for TypeCheckerError
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
index 86c121b42e..6b81d0e8f9 100644
--- a/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
+++ b/leo_errors/errors/type_checker/type_checker_warning/enum.TypeCheckerWarning.html
@@ -16,7 +16,7 @@
) -> Selfsourcepub fn max_conditional_block_depth_exceeded(
max: impl Display,
span: Span,
-) -> Self
sourcepub fn num_exit_codes() -> i32
pub fn max_conditional_block_depth_exceeded( max: impl Display, span: Span, -) -> Self
pub fn num_exit_codes() -> i32
source§impl Clone for TypeCheckerWarning
impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
fn clone(&self) -> TypeCheckerWarning
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeCheckerWarning
impl Debug for TypeCheckerWarning
source§impl Display for TypeCheckerWarning
impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for TypeCheckerWarning
impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for TypeCheckerWarning
impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
fn from(source: TypeCheckerWarning) -> Self
source§impl LeoMessageCode for TypeCheckerWarning
impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
+) -> Selfpub fn num_exit_codes() -> i32
source§impl Clone for TypeCheckerWarning
impl Clone for TypeCheckerWarning
source§fn clone(&self) -> TypeCheckerWarning
fn clone(&self) -> TypeCheckerWarning
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeCheckerWarning
impl Debug for TypeCheckerWarning
source§impl Display for TypeCheckerWarning
impl Display for TypeCheckerWarning
source§impl Error for TypeCheckerWarning
impl Error for TypeCheckerWarning
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for TypeCheckerWarning
impl From<Backtraced> for TypeCheckerWarning
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl From<Formatted> for TypeCheckerWarning
impl From<Formatted> for TypeCheckerWarning
source§impl From<TypeCheckerWarning> for LeoWarning
impl From<TypeCheckerWarning> for LeoWarning
source§fn from(source: TypeCheckerWarning) -> Self
fn from(source: TypeCheckerWarning) -> Self
source§impl LeoMessageCode for TypeCheckerWarning
impl LeoMessageCode for TypeCheckerWarning
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
impl Freeze for TypeCheckerWarning
impl RefUnwindSafe for TypeCheckerWarning
impl Send for TypeCheckerWarning
impl Sync for TypeCheckerWarning
impl Unpin for TypeCheckerWarning
impl UnwindSafe for TypeCheckerWarning
source§impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
impl<T> Any for Twhere
diff --git a/leo_errors/errors/utils/util_errors/enum.UtilError.html b/leo_errors/errors/utils/util_errors/enum.UtilError.html
index 8db3f65bf1..5ba7b572af 100644
--- a/leo_errors/errors/utils/util_errors/enum.UtilError.html
+++ b/leo_errors/errors/utils/util_errors/enum.UtilError.html
@@ -28,7 +28,7 @@
input: impl Display,
expected_type: impl Display,
expected_preface: impl Display,
-) -> Selfsourcepub fn invalid_numerical_input(input: impl Display) -> Self
sourcepub fn invalid_range() -> Self
sourcepub fn invalid_height_or_hash(input: impl Display) -> Self
sourcepub fn invalid_field(field: impl Display) -> Self
sourcepub fn invalid_bound(bound: impl Display) -> Self
sourcepub fn endpoint_moved_error(endpoint: impl Display) -> Self
sourcepub fn num_exit_codes() -> i32
pub fn invalid_numerical_input(input: impl Display) -> Self
pub fn invalid_range() -> Self
pub fn invalid_height_or_hash(input: impl Display) -> Self
pub fn invalid_field(field: impl Display) -> Self
pub fn invalid_bound(bound: impl Display) -> Self
pub fn endpoint_moved_error(endpoint: impl Display) -> Self
pub fn num_exit_codes() -> i32
source§impl Error for UtilError
impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for UtilError
impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for UtilError
impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
+) -> Selfpub fn invalid_numerical_input(input: impl Display) -> Self
pub fn invalid_range() -> Self
pub fn invalid_height_or_hash(input: impl Display) -> Self
pub fn invalid_field(field: impl Display) -> Self
pub fn invalid_bound(bound: impl Display) -> Self
pub fn endpoint_moved_error(endpoint: impl Display) -> Self
pub fn num_exit_codes() -> i32
source§impl Error for UtilError
impl Error for UtilError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Backtraced> for UtilError
impl From<Backtraced> for UtilError
source§fn from(source: Backtraced) -> Self
fn from(source: Backtraced) -> Self
source§impl LeoMessageCode for UtilError
impl LeoMessageCode for UtilError
Implements the trait for LeoError Codes.
source§fn error_code(&self) -> String
fn error_code(&self) -> String
source§fn warning_code(&self) -> String
fn warning_code(&self) -> String
source§fn message_type() -> String
fn message_type() -> String
source§fn code_identifier() -> i8
fn code_identifier() -> i8
impl Freeze for UtilError
impl RefUnwindSafe for UtilError
impl Send for UtilError
impl Sync for UtilError
impl Unpin for UtilError
impl UnwindSafe for UtilError
source§impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
index 33063ed5ac..8b8d4acfd0 100644
--- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html
+++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html
@@ -2,8 +2,8 @@
pub token: Token,
pub span: Span,
}Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
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 SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
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 SpannedToken
Auto Trait Implementations§
§impl Freeze for SpannedToken
§impl RefUnwindSafe for SpannedToken
§impl Send for SpannedToken
§impl Sync for SpannedToken
§impl Unpin for SpannedToken
§impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Token
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 Token
source§impl Eq for Token
source§impl StructuralPartialEq for Token
Auto Trait Implementations§
§impl Freeze for Token
§impl RefUnwindSafe for Token
§impl Send for Token
§impl Sync for Token
§impl Unpin for Token
§impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
Fields§
§token: Token
§span: Span
Implementations§
source§impl SpannedToken
impl SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
fn clone(&self) -> SpannedToken
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpannedToken
impl Debug for SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
impl<'de> Deserialize<'de> for SpannedToken
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for SpannedToken
impl Display for SpannedToken
Trait Implementations§
source§impl Clone for SpannedToken
impl Clone for SpannedToken
source§fn clone(&self) -> SpannedToken
fn clone(&self) -> SpannedToken
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpannedToken
impl Debug for SpannedToken
source§impl<'de> Deserialize<'de> for SpannedToken
impl<'de> Deserialize<'de> for SpannedToken
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for SpannedToken
impl Display for SpannedToken
Auto Trait Implementations§
impl Freeze for SpannedToken
impl RefUnwindSafe for SpannedToken
impl Send for SpannedToken
impl Sync for SpannedToken
impl Unpin for SpannedToken
impl UnwindSafe for SpannedToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
impl<T> BorrowMut<T> for Twhere
diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html
index 1089603057..c01d4c904b 100644
--- a/leo_parser/tokenizer/token/enum.Token.html
+++ b/leo_parser/tokenizer/token/enum.Token.html
@@ -128,8 +128,8 @@
which corresponds to a numeral in the ABNF grammar.
source§impl<'de> Deserialize<'de> for Token
impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl<'de> Deserialize<'de> for Token
impl<'de> Deserialize<'de> for Token
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl PartialEq for Token
impl PartialEq for Token
impl Eq for Token
impl StructuralPartialEq for Token
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
index a7416264ae..0a1dc021c5 100644
--- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
+++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html
@@ -3,8 +3,8 @@
Input(Mode),
Mut,
}Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
source§fn clone(&self) -> VariableType
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 VariableType
source§impl<'de> Deserialize<'de> for VariableType
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 VariableType
source§impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
source§impl Copy for VariableType
source§impl Eq for VariableType
source§impl StructuralPartialEq for VariableType
Auto Trait Implementations§
§impl Freeze for VariableType
§impl RefUnwindSafe for VariableType
§impl Send for VariableType
§impl Sync for VariableType
§impl Unpin for VariableType
§impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
§span: Span
The Span
associated with the variable.
§declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
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 VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
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 VariableSymbol
source§impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for VariableSymbol
Expand description
An enumeration of the different types of variable type.
-Variants§
Trait Implementations§
source§impl Clone for VariableType
impl Clone for VariableType
source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableType
impl Debug for VariableType
source§impl<'de> Deserialize<'de> for VariableType
impl<'de> Deserialize<'de> for VariableType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for VariableType
impl Display for VariableType
source§impl PartialEq for VariableType
impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
fn eq(&self, other: &VariableType) -> bool
self
and other
values to be equal, and is used
+Variants§
Trait Implementations§
source§impl Clone for VariableType
impl Clone for VariableType
source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableType
impl Debug for VariableType
source§impl<'de> Deserialize<'de> for VariableType
impl<'de> Deserialize<'de> for VariableType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Display for VariableType
impl Display for VariableType
source§impl PartialEq for VariableType
impl PartialEq for VariableType
source§fn eq(&self, other: &VariableType) -> bool
fn eq(&self, other: &VariableType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableType
impl Serialize for VariableType
impl Copy for VariableType
impl Eq for VariableType
impl StructuralPartialEq for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
impl<T> Any for Twhere
diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
index 923ff67b92..3bb02b3d4a 100644
--- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
+++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html
@@ -6,8 +6,8 @@
Fields§
§type_: Type
The Type
of the variable.
span: Span
The Span
associated with the variable.
declaration: VariableType
The type of declaration for the variable.
-Trait Implementations§
source§impl Clone for VariableSymbol
impl Clone for VariableSymbol
source§fn clone(&self) -> VariableSymbol
fn clone(&self) -> VariableSymbol
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableSymbol
impl Debug for VariableSymbol
source§impl<'de> Deserialize<'de> for VariableSymbol
impl<'de> Deserialize<'de> for VariableSymbol
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Display for VariableSymbol
impl Display for VariableSymbol
source§impl PartialEq for VariableSymbol
impl PartialEq for VariableSymbol
source§fn eq(&self, other: &VariableSymbol) -> bool
fn eq(&self, other: &VariableSymbol) -> bool
self
and other
values to be equal, and is used
+