diff --git a/implementors/clap_builder/derive/trait.Args.js b/implementors/clap_builder/derive/trait.Args.js index b6031a83b6..8fb82bd2e9 100644 --- a/implementors/clap_builder/derive/trait.Args.js +++ b/implementors/clap_builder/derive/trait.Args.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Args for Run"],["impl Args for Execute"],["impl Args for Clean"],["impl Args for Update"],["impl Args for Build"],["impl Args for New"],["impl Args for BuildOptions"],["impl Args for CLI"]] +"leo_lang":[["impl Args for BuildOptions"],["impl Args for Update"],["impl Args for Run"],["impl Args for Build"],["impl Args for Clean"],["impl Args for Execute"],["impl Args for New"],["impl Args for CLI"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.CommandFactory.js b/implementors/clap_builder/derive/trait.CommandFactory.js index 9c8aa6e811..6d70097dc5 100644 --- a/implementors/clap_builder/derive/trait.CommandFactory.js +++ b/implementors/clap_builder/derive/trait.CommandFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl CommandFactory for BuildOptions"],["impl CommandFactory for Clean"],["impl CommandFactory for Account"],["impl CommandFactory for Example"],["impl CommandFactory for Commands"],["impl CommandFactory for Update"],["impl CommandFactory for Run"],["impl CommandFactory for Execute"],["impl CommandFactory for CLI"],["impl CommandFactory for New"],["impl CommandFactory for Build"]] +"leo_lang":[["impl CommandFactory for Commands"],["impl CommandFactory for New"],["impl CommandFactory for Clean"],["impl CommandFactory for Example"],["impl CommandFactory for CLI"],["impl CommandFactory for BuildOptions"],["impl CommandFactory for Run"],["impl CommandFactory for Build"],["impl CommandFactory for Update"],["impl CommandFactory for Execute"],["impl CommandFactory for Account"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.FromArgMatches.js b/implementors/clap_builder/derive/trait.FromArgMatches.js index 29aad0d2b0..ff8f96e3a2 100644 --- a/implementors/clap_builder/derive/trait.FromArgMatches.js +++ b/implementors/clap_builder/derive/trait.FromArgMatches.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl FromArgMatches for Clean"],["impl FromArgMatches for Update"],["impl FromArgMatches for Example"],["impl FromArgMatches for Run"],["impl FromArgMatches for Execute"],["impl FromArgMatches for CLI"],["impl FromArgMatches for Commands"],["impl FromArgMatches for Build"],["impl FromArgMatches for Account"],["impl FromArgMatches for New"],["impl FromArgMatches for BuildOptions"]] +"leo_lang":[["impl FromArgMatches for CLI"],["impl FromArgMatches for Run"],["impl FromArgMatches for Example"],["impl FromArgMatches for Commands"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Update"],["impl FromArgMatches for Execute"],["impl FromArgMatches for Build"],["impl FromArgMatches for New"],["impl FromArgMatches for Account"],["impl FromArgMatches for BuildOptions"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Parser.js b/implementors/clap_builder/derive/trait.Parser.js index 0fd7b3407e..5e380372c3 100644 --- a/implementors/clap_builder/derive/trait.Parser.js +++ b/implementors/clap_builder/derive/trait.Parser.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Parser for Update"],["impl Parser for CLI"],["impl Parser for Account"],["impl Parser for BuildOptions"],["impl Parser for Commands"],["impl Parser for Build"],["impl Parser for Execute"],["impl Parser for Clean"],["impl Parser for Example"],["impl Parser for Run"],["impl Parser for New"]] +"leo_lang":[["impl Parser for Example"],["impl Parser for Commands"],["impl Parser for Account"],["impl Parser for Update"],["impl Parser for Clean"],["impl Parser for Build"],["impl Parser for Run"],["impl Parser for New"],["impl Parser for Execute"],["impl Parser for CLI"],["impl Parser for BuildOptions"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Subcommand.js b/implementors/clap_builder/derive/trait.Subcommand.js index 474efab6e7..152a0fd759 100644 --- a/implementors/clap_builder/derive/trait.Subcommand.js +++ b/implementors/clap_builder/derive/trait.Subcommand.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Subcommand for Commands"],["impl Subcommand for Example"],["impl Subcommand for Account"]] +"leo_lang":[["impl Subcommand for Account"],["impl Subcommand for Commands"],["impl Subcommand for Example"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index c2761dfe0c..06ade2498a 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -3,9 +3,9 @@ "leo_ast":[["impl Clone for Function"],["impl Clone for BinaryOperation"],["impl Clone for TupleExpression"],["impl Clone for CallExpression"],["impl Clone for ReturnStatement"],["impl Clone for InputValue"],["impl Clone for UnaryExpression"],["impl Clone for IntegerType"],["impl Clone for ConsoleFunction"],["impl Clone for Struct"],["impl Clone for ProgramId"],["impl Clone for Program"],["impl Clone for AssertStatement"],["impl Clone for GroupLiteral"],["impl Clone for ConsoleStatement"],["impl Clone for StaticString"],["impl Clone for InputData"],["impl Clone for Output"],["impl Clone for ProgramScope"],["impl Clone for GroupTuple"],["impl Clone for Expression"],["impl Clone for Variant"],["impl Clone for Type"],["impl Clone for ExpressionStatement"],["impl Clone for AssociatedConstant"],["impl Clone for PositiveNumber"],["impl Clone for Section"],["impl Clone for AccessExpression"],["impl Clone for TernaryExpression"],["impl Clone for BinaryExpression"],["impl Clone for Ast"],["impl Clone for Mode"],["impl Clone for CoreFunction"],["impl Clone for FunctionOutput"],["impl Clone for Input"],["impl Clone for GroupCoordinate"],["impl Clone for Finalize"],["impl Clone for Member"],["impl Clone for FunctionInput"],["impl Clone for DefinitionStatement"],["impl Clone for AssignStatement"],["impl Clone for Definition"],["impl Clone for Value"],["impl Clone for MappingType"],["impl Clone for CastExpression"],["impl Clone for External"],["impl Clone for Block"],["impl Clone for Literal"],["impl Clone for StructVariableInitializer"],["impl Clone for ErrExpression"],["impl Clone for TupleAccess"],["impl Clone for IterationStatement"],["impl Clone for DeclarationType"],["impl Clone for NodeBuilderInner"],["impl Clone for AssertVariant"],["impl Clone for AssociatedFunction"],["impl Clone for Tuple"],["impl Clone for Mapping"],["impl Clone for StructExpression"],["impl Clone for InputAst"],["impl Clone for Statement"],["impl Clone for Identifier"],["impl Clone for NodeBuilder"],["impl Clone for MemberAccess"],["impl Clone for ProgramInput"],["impl Clone for CoreConstant"],["impl Clone for UnitExpression"],["impl Clone for UnaryOperation"],["impl Clone for Annotation"],["impl Clone for ConditionalStatement"]], "leo_compiler":[["impl Clone for CompilerOptions"],["impl Clone for BuildOptions"],["impl Clone for OutputOptions"],["impl<'a> Clone for Compiler<'a>"]], "leo_errors":[["impl Clone for AstError"],["impl Clone for Backtraced"],["impl Clone for CompilerError"],["impl Clone for Formatted"],["impl Clone for ParserWarning"],["impl Clone for FlattenError"],["impl Clone for BufferEmitter"],["impl Clone for ParserError"],["impl Clone for InputError"],["impl Clone for PackageError"],["impl Clone for TypeCheckerError"],["impl Clone for CliError"]], -"leo_lang":[["impl Clone for Context"],["impl Clone for BuildOptions"],["impl<F: Clone, T: Clone> Clone for Format<F, T>"]], +"leo_lang":[["impl<F: Clone, T: Clone> Clone for Format<F, T>"],["impl Clone for BuildOptions"],["impl Clone for Context"]], "leo_parser":[["impl Clone for Delimiter"],["impl Clone for SpannedToken"],["impl Clone for Token"]], "leo_passes":[["impl Clone for RenameTable"],["impl Clone for VariableType"],["impl Clone for AssignerInner"],["impl Clone for SymbolTable"],["impl Clone for VariableSymbol"],["impl Clone for Assigner"],["impl Clone for FunctionSymbol"],["impl Clone for FinalizeData"]], "leo_span":[["impl Clone for Span"],["impl Clone for MultiByteChar"],["impl Clone for BytePos"],["impl Clone for FileName"],["impl Clone for CharPos"],["impl Clone for Symbol"]], -"leo_test_framework":[["impl Clone for TestExpectationMode"],["impl Clone for TestConfig"],["impl Clone for TestExpectation"],["impl Clone for ParseType"]] +"leo_test_framework":[["impl Clone for TestExpectationMode"],["impl Clone for TestExpectation"],["impl Clone for ParseType"],["impl Clone for TestConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index 799aafe3d5..8034ca9d0f 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -4,5 +4,5 @@ "leo_parser":[["impl PartialEq<Token> for Token"]], "leo_passes":[["impl PartialEq<VariableType> for VariableType"],["impl PartialEq<VariableSymbol> for VariableSymbol"],["impl PartialEq<RenameTable> for RenameTable"]], "leo_span":[["impl PartialEq<Span> for Span"],["impl PartialEq<CharPos> for CharPos"],["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<Symbol> for Symbol"],["impl PartialEq<BytePos> for BytePos"],["impl PartialEq<InternedStr> for InternedStr"]], -"leo_test_framework":[["impl PartialEq<ParseType> for ParseType"],["impl PartialEq<TestExpectationMode> for TestExpectationMode"]] +"leo_test_framework":[["impl PartialEq<TestExpectationMode> for TestExpectationMode"],["impl PartialEq<ParseType> for ParseType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index 3c0960c829..44be58b7eb 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -2,7 +2,7 @@ "leo_ast":[["impl Default for ProgramInput"],["impl Default for StaticString"],["impl Default for Ast"],["impl Default for InputData"],["impl Default for Program"],["impl Default for NodeBuilder"]], "leo_compiler":[["impl Default for CompilerOptions"],["impl Default for OutputOptions"],["impl Default for BuildOptions"]], "leo_errors":[["impl<T> Default for Buffer<T>"],["impl Default for BufferEmitter"],["impl Default for Backtraced"],["impl Default for Handler"],["impl Default for Formatted"]], -"leo_lang":[["impl Default for BuildOptions"],["impl Default for Format<Full, SystemTime>"]], +"leo_lang":[["impl Default for Format<Full, SystemTime>"],["impl Default for BuildOptions"]], "leo_package":[["impl Default for Gitignore"],["impl<N: Default + Network> Default for Env<N>"]], "leo_passes":[["impl Default for AssignerInner"],["impl Default for Assigner"],["impl Default for SymbolTable"],["impl Default for RenameTable"]], "leo_span":[["impl Default for SourceMap"],["impl Default for SourceMapInner"],["impl Default for BytePos"],["impl Default for Span"],["impl Default for SessionGlobals"]] diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 5971bc5833..ca9fda728d 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -2,9 +2,9 @@ "leo_abnf":[["impl<'a> Debug for Processor<'a>"],["impl Debug for Scope"]], "leo_ast":[["impl Debug for UnaryExpression"],["impl Debug for NodeBuilderInner"],["impl Debug for TupleExpression"],["impl Debug for MemberAccess"],["impl Debug for Member"],["impl Debug for AssertStatement"],["impl Debug for Output"],["impl Debug for Type"],["impl Debug for BinaryOperation"],["impl Debug for InputData"],["impl Debug for DefinitionStatement"],["impl Debug for Ast"],["impl Debug for Mapping"],["impl Debug for ConditionalStatement"],["impl Debug for Definition"],["impl Debug for ProgramScope"],["impl Debug for DeclarationType"],["impl Debug for Block"],["impl Debug for StaticString"],["impl Debug for Literal"],["impl Debug for AssociatedConstant"],["impl Debug for NodeBuilder"],["impl Debug for Tuple"],["impl Debug for ProgramInput"],["impl Debug for Program"],["impl Debug for Input"],["impl Debug for Annotation"],["impl Debug for IntegerType"],["impl Debug for Expression"],["impl Debug for BinaryExpression"],["impl Debug for InputAst"],["impl Debug for CastExpression"],["impl Debug for Struct"],["impl Debug for Mode"],["impl Debug for PositiveNumber"],["impl Debug for ConsoleFunction"],["impl Debug for Identifier"],["impl Debug for TupleAccess"],["impl Debug for MappingType"],["impl Debug for External"],["impl Debug for UnitExpression"],["impl Debug for AssignStatement"],["impl Debug for AssertVariant"],["impl Debug for ConsoleStatement"],["impl Debug for GroupLiteral"],["impl Debug for FunctionOutput"],["impl Debug for Value"],["impl Debug for ReturnStatement"],["impl Debug for ProgramId"],["impl Debug for UnaryOperation"],["impl Debug for Statement"],["impl Debug for GroupCoordinate"],["impl Debug for GroupTuple"],["impl Debug for TernaryExpression"],["impl Debug for Function"],["impl Debug for FunctionInput"],["impl Debug for Finalize"],["impl Debug for ErrExpression"],["impl Debug for Section"],["impl Debug for InputValue"],["impl Debug for ExpressionStatement"],["impl Debug for AccessExpression"],["impl Debug for StructVariableInitializer"],["impl Debug for AssociatedFunction"],["impl Debug for CallExpression"],["impl Debug for IterationStatement"],["impl Debug for Variant"],["impl Debug for StructExpression"]], "leo_errors":[["impl Debug for FlattenError"],["impl Debug for AstError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for TypeCheckerError"],["impl Debug for Backtraced"],["impl Debug for InputError"],["impl Debug for CliError"],["impl Debug for ParserWarning"],["impl Debug for ParserError"],["impl Debug for LeoWarning"],["impl Debug for CompilerError"],["impl Debug for PackageError"],["impl Debug for Formatted"],["impl Debug for LeoError"]], -"leo_lang":[["impl Debug for Execute"],["impl Debug for New"],["impl Debug for CLI"],["impl Debug for Build"],["impl Debug for Run"],["impl Debug for BuildOptions"],["impl Debug for Account"],["impl Debug for Example"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Commands"],["impl Debug for Update"],["impl Debug for Clean"]], +"leo_lang":[["impl Debug for New"],["impl Debug for Commands"],["impl Debug for Update"],["impl Debug for BuildOptions"],["impl Debug for Account"],["impl Debug for Example"],["impl Debug for Clean"],["impl Debug for Run"],["impl Debug for Execute"],["impl Debug for CLI"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Build"]], "leo_parser":[["impl Debug for Token"],["impl Debug for SpannedToken"]], "leo_passes":[["impl Debug for SymbolTable"],["impl Debug for AssignerInner"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl Debug for FunctionSymbol"],["impl Debug for VariableSymbol"],["impl Debug for Assigner"],["impl Debug for VariableType"],["impl Debug for RenameTable"],["impl Debug for FinalizeData"]], "leo_span":[["impl Debug for MultiByteChar"],["impl Debug for CharPos"],["impl Debug for Symbol"],["impl Debug for Span"],["impl Debug for BytePos"]], -"leo_test_framework":[["impl Debug for TestExpectationMode"],["impl Debug for TestConfig"],["impl Debug for ParseType"],["impl Debug for TestError"]] +"leo_test_framework":[["impl Debug for ParseType"],["impl Debug for TestExpectationMode"],["impl Debug for TestError"],["impl Debug for TestConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index d148499461..7b70c01922 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -3,5 +3,5 @@ "leo_parser":[["impl StructuralEq for Token"]], "leo_passes":[["impl StructuralEq for VariableType"],["impl StructuralEq for VariableSymbol"],["impl StructuralEq for RenameTable"]], "leo_span":[["impl StructuralEq for Symbol"],["impl StructuralEq for Span"],["impl StructuralEq for MultiByteChar"],["impl StructuralEq for InternedStr"],["impl StructuralEq for BytePos"],["impl StructuralEq for CharPos"]], -"leo_test_framework":[["impl StructuralEq for TestExpectationMode"],["impl StructuralEq for ParseType"]] +"leo_test_framework":[["impl StructuralEq for ParseType"],["impl StructuralEq for TestExpectationMode"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index 896e68aded..90ffc2323b 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -4,5 +4,5 @@ "leo_parser":[["impl<'de> Deserialize<'de> for Token"],["impl<'de> Deserialize<'de> for SpannedToken"]], "leo_passes":[["impl<'de> Deserialize<'de> for FunctionSymbol"],["impl<'de> Deserialize<'de> for SymbolTable"],["impl<'de> Deserialize<'de> for VariableSymbol"],["impl<'de> Deserialize<'de> for FinalizeData"],["impl<'de> Deserialize<'de> for VariableType"]], "leo_span":[["impl<'de> Deserialize<'de> for Span"],["impl<'de> Deserialize<'de> for Symbol"],["impl<'de> Deserialize<'de> for BytePos"]], -"leo_test_framework":[["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectation"]] +"leo_test_framework":[["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectation"],["impl<'de> Deserialize<'de> for TestExpectationMode"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index a7144ca685..878a021252 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -3,5 +3,5 @@ "leo_parser":[["impl Serialize for Token"],["impl Serialize for SpannedToken"]], "leo_passes":[["impl Serialize for FunctionSymbol"],["impl Serialize for FinalizeData"],["impl Serialize for VariableSymbol"],["impl Serialize for SymbolTable"],["impl Serialize for VariableType"]], "leo_span":[["impl Serialize for BytePos"],["impl Serialize for Span"],["impl Serialize for Symbol"]], -"leo_test_framework":[["impl Serialize for TestConfig"],["impl Serialize for TestExpectationMode"],["impl Serialize for TestExpectation"]] +"leo_test_framework":[["impl Serialize for TestExpectation"],["impl Serialize for TestExpectationMode"],["impl Serialize for TestConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/leo_test_framework/error/enum.TestError.html b/leo_test_framework/error/enum.TestError.html index e185056c56..f7dd7a2416 100644 --- a/leo_test_framework/error/enum.TestError.html +++ b/leo_test_framework/error/enum.TestError.html @@ -27,7 +27,7 @@ }, MismatchedTestExpectationLength, MissingTestConfig, -}

Variants§

§

Panicked

Fields

§test: String
§index: usize
§error: String
§

UnexpectedOutput

Fields

§test: String
§index: usize
§expected: Value
§output: Value
§

PassedAndShouldntHave

Fields

§test: String
§index: usize
§

FailedAndShouldntHave

Fields

§test: String
§index: usize
§error: String
§

UnexpectedError

Fields

§test: String
§index: usize
§expected: String
§output: String
§

MismatchedTestExpectationLength

§

MissingTestConfig

Trait Implementations§

source§

impl Debug for TestError

source§

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

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

impl Display for TestError

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for TestError

§

impl Send for TestError

§

impl Sync for TestError

§

impl Unpin for TestError

§

impl UnwindSafe for TestError

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Variants§

§

Panicked

Fields

§test: String
§index: usize
§error: String
§

UnexpectedOutput

Fields

§test: String
§index: usize
§expected: Value
§output: Value
§

PassedAndShouldntHave

Fields

§test: String
§index: usize
§

FailedAndShouldntHave

Fields

§test: String
§index: usize
§error: String
§

UnexpectedError

Fields

§test: String
§index: usize
§expected: String
§output: String
§

MismatchedTestExpectationLength

§

MissingTestConfig

Trait Implementations§

source§

impl Debug for TestError

source§

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

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

impl Display for TestError

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.