Jump to content

Dont Buy Into These Trends About Rust Items: Difference between revisions

From Arkham Horror 2nd Edition
Created page with " <h2>Demystifying Rust Items: A Comprehensive Guide to the Language's Building Blocks</h2> <p>When developers first dive into the Rust programs language, they are often mesmerized by its revolutionary memory management model: ownership, borrowing, and lifetimes. Nevertheless, when past [https://neoclassical.space rust skins] learning curve, mastering Rust needs a deep understanding of how code is organized structurally. At the heart of this structural company lies a f..."
 
mNo edit summary
 
Line 1: Line 1:


  <h2>Demystifying Rust Items: A Comprehensive Guide to the Language's Building Blocks</h2>  
  <h2>Demystifying Rust Items: A Comprehensive Guide to the Language's Structural Building Blocks</h2>  
  <p>When developers first dive into the Rust programs language, they are often mesmerized by its revolutionary memory management model: ownership, borrowing, and lifetimes. Nevertheless, when past [https://neoclassical.space rust skins] learning curve, mastering Rust needs a deep understanding of how code is organized structurally. At the heart of this structural company lies a fundamental concept understood simply as <strong>Rust items</strong>.</p>  
  <p>When developers primary step into the world of Rust, they are typically greeted by strict compiler guidelines, an unyielding obtain checker, and an unique vocabulary. Terms like <em>crates</em>, <em>modules</em>, <em>characteristics</em>, and <em>macros</em> get tossed around with frequency. At the heart of this terms lies a fundamental idea that every Rustacean must master: <strong>Items</strong>.</p>  
  <p>In the Rust reference handbook, an <em>item</em> is specified as an element of a cage. Items form the foundation of Rust's module system, functioning as the declarations that occupy namespaces, specify types, execute behavior, and dictate program structure. </p>
  <p>In Rust, almost whatever you write at the module level is an item. Comprehending what items are, how they are structured, and how they interact is important for writing idiomatic, scalable Rust code. This post will break down the anatomy of Rust items, explore their various types, and provide a roadmap for structuring your applications successfully.</p>  
<p>This guide explores what Rust items are, categorizes them, and supplies a clear breakdown of how they run within a codebase.</p>  
  <hr>  
  <hr>  
  <h2>Exactly what is a Rust Item?</h2>  
  <h2>What Exactly is an Item in Rust?</h2>  
  <p>In Rust, nearly whatever at the module level is an item. If you compose code beyond a function body, a method, or an expression, you are probably composing an item. </p>  
  <p>In the main Rust Reference, an <strong>item</strong> is specified as an element of a cage. [https://rentry.co/smh5gwq2 rust wiki] are the structural structure blocks of Rust programs. [https://pad.cttue.de/SOY9_bMsQ1aGY9QVuggyzg news] specify types, execute logic, arrange namespaces, and manage dependencies. </p>
  <p>Items have numerous crucial attributes:</p>  
<p>Unlike expressions, which assess to a value at runtime, or statements, which perform actions within a function body, items exist at the module level (or the global scope of a cage). They are processed mainly at compile time, setting out the blueprint of the application before a single line of executable device code is run.</p>  
  <h3>Key Characteristics of Items:</h3>  
  <ul>  
  <ul>  
   <li><strong>Named Entities:</strong> Most items present a name into the present scope.</li>  
   <li><strong>Visibility:</strong> Every item has a visibility modifier (like <code>club</code> or private by default), identifying whether other modules can access it.</li>  
   <li><strong>Exposure:</strong> Items can be marked as public (<code>pub</code>) or personal, controlling whether code in other modules can access them.</li>  
   <li><strong>Path Qualifiers:</strong> Items can be referenced using paths (e.g., <code>std:: collections:: HashMap</code>).</li>  
   <li><strong>Qualities:</strong> Items can be embellished with characteristics (like <code># [derive(Debug)] or <code># [cfg(test)]) to modify their behavior or compilation rules.</code></code></li>  
   <li><strong>Call Binding:</strong> Most items bind a name to a meaning, such as a function name or a struct name.</li>  
  </ul>  
  </ul>  
  <p><code><code>To picture how items suit a Rust job, think about the following high-level categorization of the most common Rust items.</code></code></p>  
  <hr>
  <h3><code><code>Summary of Rust Items</code></code></h3>  
<h2>The Taxonomy of Rust Items</h2>  
<p>Rust provides an abundant variety of items to handle everything from low-level data structuring to top-level architectural abstraction. Below is a comprehensive breakdown of the main item types in Rust.</p>  
  <h3>Core Rust Items at a Glance</h3>  
  <table>  
  <table>  
   <thead>  
   <thead>  
   <tr>  
   <tr>  
     <th align="left">Item Type</th>  
     <th align="left">Item Type</th>  
     <th align="left">Keyword/ Syntax</th>  
     <th align="left">Keyword</th>  
     <th align="left">Primary Purpose</th>  
     <th align="left">Primary Purpose</th>  
   </tr>  
   </tr>  
Line 25: Line 27:
   <tbody>  
   <tbody>  
   <tr>  
   <tr>  
     <td align="left"><strong>Modules</strong></td>  
     <td align="left"><strong>Module</strong></td>  
     <td align="left"><code>mod</code></td>  
     <td align="left"><code>mod</code></td>  
     <td align="left">Organizes code hierarchically into namespaces.</td>  
     <td align="left">Organizes code into hierarchical namespaces.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Functions</strong></td>  
     <td align="left"><strong>Function</strong></td>  
     <td align="left"><code>fn</code></td>  
     <td align="left"><code>fn</code></td>  
     <td align="left">Specifies reusable blocks of executable logic.</td>  
     <td align="left">Defines multiple-use blocks of executable logic.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Structs</strong></td>  
     <td align="left"><strong>Struct</strong></td>  
     <td align="left"><code>struct</code></td>  
     <td align="left"><code>struct</code></td>  
     <td align="left">Customized data types grouping fields together.</td>  
     <td align="left">Custom data types grouping multiple fields together.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Enums</strong></td>  
     <td align="left"><strong>Enum</strong></td>  
     <td align="left"><code>enum</code></td>  
     <td align="left"><code>enum</code></td>  
     <td align="left">Types representing one of a number of possible variants.</td>  
     <td align="left">Types representing one of several possible variations.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Characteristics</strong></td>  
     <td align="left"><strong>Quality</strong></td>  
     <td align="left"><code>characteristic</code></td>  
     <td align="left"><code>trait</code></td>  
     <td align="left">Specifies shared behavior (interfaces) for types.</td>  
     <td align="left">Defines shared behavior (user interfaces) for types.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
    <td align="left"><strong>Unions</strong></td>
     <td align="left"><strong>Type Alias</strong></td>  
    <td align="left"><code>union</code></td>
    <td align="left">C-compatible untrusted memory designs.</td>
  </tr>
  <tr>
     <td align="left"><strong>Type Aliases</strong></td>  
     <td align="left"><code>type</code></td>  
     <td align="left"><code>type</code></td>  
     <td align="left">Develops an alternative name for an existing type.</td>  
     <td align="left">Offers an existing type a brand-new, more detailed name.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Constants</strong></td>  
     <td align="left"><strong>Const</strong></td>  
     <td align="left"><code>const</code></td>  
     <td align="left"><code>const</code></td>  
     <td align="left">Fixed worths computed at compile-time.</td>  
     <td align="left">Specifies an unchangeable compile-time continuous worth.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Statics</strong></td>  
     <td align="left"><strong>Static</strong></td>  
     <td align="left"><code>static</code></td>  
     <td align="left"><code>fixed</code></td>  
     <td align="left">International variables with a fixed memory area.</td>  
     <td align="left">Defines a global variable with a fixed memory place.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Macros</strong></td>  
     <td align="left"><strong>Macro</strong></td>  
     <td align="left"><code>macro_rules!</code>/ <code>macro</code></td>  
     <td align="left"><code>macro_rules!</code></td>  
     <td align="left">Metaprogramming constructs that compose code.</td>  
     <td align="left">Metaprogramming constructs that compose code.</td>  
   </tr>  
   </tr>  
   <tr>  
   <tr>  
     <td align="left"><strong>Extern Blocks</strong></td>  
    <td align="left"><strong>Use Declaration</strong></td>
     <td align="left"><code>extern</code></td>  
    <td align="left"><code>usage</code></td>
     <td align="left">FFI statements for interfacing with other languages.</td>  
    <td align="left">Brings items into the present regional scope.</td>
  </tr>
  <tr>
     <td align="left"><strong>Extern Crate</strong></td>  
     <td align="left"><code>extern crate</code></td>  
     <td align="left">Hyperlinks external external libraries to the existing cage.</td>  
   </tr>  
   </tr>  
   </tbody>  
   </tbody>  
  </table>  
  </table>  
  <hr>  
  <hr>  
  <h2><code><code>Deep Dive into Core Rust Items</code></code></h2>  
  <h2>Deep Dive into Essential Items</h2>  
  <p><code><code>Let's examine some of the most frequently used items in daily Rust programs.</code></code></p>  
  <p>To really comprehend how items form a Rust program, let's analyze a few of the most commonly utilized items in detail.</p>
  <h3><code><code>1. Functions (<code>fn</code>)</code></code></h3>  
<h3>1. Modules (<code>mod</code>)</h3>  
  <p><code><code>Functions are the primary wrappers for executable statements in Rust. While functions <em>include</em> statements and expressions, the function definition itself is an item.</code></code></p>  
  <p>Modules allow designers to partition code within a crate into smaller, workable, and rationally organized compartments. They help control personal privacy borders and prevent namespace pollution.</p>  
<pre><code class="language-rust">bar mod database pub fn link() // Connection logic here</code></pre>  
<h3>2. Structs and Enums</h3>  
  <p>Data modeling in Rust relies greatly on <code>struct</code> and <code>enum</code> items. </p>  
  <ul>  
  <ul>  
   <li><code><code>Can accept parameters and return worths.</code></code></li>  
   <li><strong>Structs</strong> belong to objects without approaches in other languages; they bundle heterogeneous data together.</li>  
   <li><code><code>Can be generic over types and life times.</code></code></li>
   <li><strong>Enums</strong> are amount types that can be among a number of variations, making them remarkably powerful when matched with pattern matching (<code>match</code>).</li>  
  <li><code><code>Can be connected with structs, enums, or characteristics (in which case they are frequently called methods).</code></code></li>  
  </ul>  
  </ul>  
  <h3><code><code>2. Structs and Enums (<code>struct</code>, <code>enum</code>)</code></code></h3>  
  <pre><code class="language-rust">bar enum Status Active,Inactive,Pending( u32),// Enum variant holding informationclub struct User bar username: String,club status: Status,</code></pre>
  <p><code><code>Information modeling in Rust relies greatly on customized types specified as items.</code></code></p>  
<h3>3. Qualities (<code>trait</code>)</h3>
<p>Traits are Rust's answer to user interfaces or mixins. They specify abstract sets of approaches that types need to carry out, allowing polymorphism and generic programming.</p>
<pre><code class="language-rust">pub trait Summarizable fn summarize(&amp;&amp; self )- &gt; String;</code></pre>
<hr>
<h2>Organizing Items: Visibility and Paths</h2>  
  <p>Composing items is only half the battle; understanding how to expose and access them across a codebase is where structural intricacy emerges.</p>
<h3>Exposure Rules</h3>  
<p>By default, all items in Rust are <strong>private</strong> to the module they are specified in. To make them accessible outside their moms and dad module, designers need to use the <code>bar</code> keyword. Rust likewise offers fine-grained exposure modifiers:</p>  
  <ul>  
  <ul>  
   <li><code><code><strong>Structs</strong> been available in 3 tastes: named-field structs, tuple structs, and unit structs. They allow developers to bundle associated data together.</code></code></li>  
   <li><code>club(crate)</code>: Visible anywhere within the current crate.</li>  
   <li><code><code><strong>Enums</strong> in Rust are significantly more powerful than in many other languages. They can consist of information within their variations, functioning as algebraic information types that form the basis of safe pattern matching through the <code>match</code> expression.</code></code></li>  
  <li><code>club(very)</code>: Visible just to the parent module.</li>  
   <li><code>pub(in path)</code>: Visible within a specific designated path.</li>  
  </ul>  
  </ul>  
  <h3><code><code>3. Qualities (<code>trait</code>)</code></code></h3>  
  <h3>Using Paths to Locate Items</h3>  
  <p><code><code>Traits are Rust's answer to interfaces, procedures, or mixins. A characteristic item specifies a set of techniques that a type should execute to please the quality contract. Characteristics make it possible for polymorphism, enabling generic code to run on any type that executes a specific set of behaviors.</code></code></p>
  <p>Because items are organized hierarchically in modules, Rust uses courses to reference them. Courses can be relative or absolute:</p>  
<h3><code><code>4. Modules (<code>mod</code>)</code></code></h3>
<p><code><code>The <code>mod</code> item allows designers to partition their code into sensible namespaces. Modules can be nested, and they manage personal privacy borders. By default, all items are private to the moms and dad module unless explicitly exposed with the <code>pub</code> keyword.</code></code></p>
<hr>
<h2><code><code>Constants vs. Statics</code></code></h2>
<p><code><code>2 items that frequently puzzle newbies are <code>const</code> and <code>fixed</code>. While both represent worldwide or semi-global values, they act very differently in memory and execution.</code></code></p>  
  <ul>  
  <ul>  
   <li><p><code><code><strong><code>const</code> Items:</strong></code></code></p>
   <li><strong>Absolute courses</strong> begin with the cage name or <code>crate</code> keyword: <code>cage:: database:: connect()</code>.</li>  
  <ul>
   <li><strong>Relative courses</strong> begin with the existing module utilizing <code>self</code>, <code>super</code>, or plain identifiers: <code>very:: link()</code>.</li>  
    <li><code><code>Represents a computed constant worth.</code></code></li>
    <li><code><code>Inlined straight wherever it is utilized throughout collection.</code></code></li>
    <li><code><code>Does not ensure a fixed memory address.</code></code></li>
    <li><code><code>Assessed at assemble time.</code></code></li>
  </ul></li>  
   <li><p><code><code><strong><code>fixed</code> Items:</strong></code></code></p>
  <ul>
    <li><code><code>Represents a repaired place in memory.</code></code></li>
    <li><code><code>Lives for the entire lifetime of the program (<code>'fixed</code>).</code></code></li>
    <li><code><code>Can be mutable (though customizing it requires hazardous blocks due to thread-safety issues).</code></code></li>
  </ul></li>  
  </ul>  
  </ul>  
  <hr>  
  <hr>  
  <h2><code><code>Organizing Items: Best Practices</code></code></h2>  
  <h2>Finest Practices for Managing Rust Items</h2>  
  <p><code><code>Writing maintainable Rust code needs comprehending how to set up items across files and directory sites. Here are a couple of vital rules of thumb for managing Rust items:</code></code></p>  
  <p>As a Rust task grows, keeping track of items can end up being overwhelming. Following recognized neighborhood patterns guarantees your codebase stays maintainable.</p>  
  <ul>  
  <ul>  
   <li><code><code><strong>Use the Path System:</strong> Rust uses a path system to refer to items (e.g., <code>sexually transmitted disease:: collections:: HashMap</code>). Courses can be absolute (starting with <code>cage</code>, <code>super</code>, or an external dog crate name) or relative.</code></code></li>  
   <li><strong>Keep <code>main.rs</code> and <code>lib.rs</code> Clean:</strong> Avoid composing sprawling reasoning in your root files. Instead, declare your high-level modules (<code>mod network;</code>, <code>mod designs;-RRB- in <code>main.rs</code> or <code>lib.rs</code> and hand over the real item implementations to different files.</code></li>  
   <li><code><code><strong>Take advantage of <code>use</code> Declarations:</strong> The <code>usage</code> keyword brings items into local scope, reducing verbosity without renaming them.</code></code></li>  
   <li><code><strong>Take advantage of the <code>usage</code> Keyword Wisely:</strong> Bring greatly used items into scope using <code>usage</code>, but avoid glob imports (<code>use module:: *;-RRB- in production libraries, as they pollute namespaces and make it hard to trace where an item came from.</code></code></li>  
   <li><code><code><strong>File-Mod Integration:</strong> Modern Rust (2018 edition and later) simplifies module statements. Rather of stating a module and developing a different directory site with a <code>mod.rs</code> file, you can just create a <code>. rs</code> file that shares the name of the module along with its parent.</code></code></li>  
   <li><code><code><strong>Group Related Items:</strong> Place structs, their associated implementations (<code>impl</code>), and their appropriate qualities within the very same module to maintain high cohesion.</code></code></li>
  <li><code><code><strong>Document Public Items:</strong> Use paperwork remarks (<code>///</code>) on all public items. Rust's paperwork generator (<code>cargo doc</code>) counts on these items to develop rich, hyperlinked paperwork for your crates.</code></code></li>  
  </ul>  
  </ul>  
  <hr>  
  <hr>  
  <h2><code><code>Summary Checklist for Rust Items</code></code></h2>
  <p><code><code>Items are the canvas upon which Rust programs are painted. From the low-level memory layout defined by a <code>struct</code> to the overarching architecture mapped out by <code>mod</code> declarations, items dictate how a Rust application looks, feels, and acts. </code></code></p>  
<p><code><code>When evaluating your Rust codebase, keep this quick list in mind relating to items:</code></code></p>
  <p><code><code>By mastering items-- comprehending their presence, scoping rules, and how they associate with one another-- designers can compose cleaner, more modular, and naturally much safer Rust code. Whether you are constructing a small command-line utility or a massive dispersed system, a strong grasp of Rust items is an indispensable tool in your programs toolbox.</code></code></p>
<ul>
  <code><code><br><img width="327" src="https://rusthub.com/Logo.svg"><br></code></code>
  <li><code><code>Are your items exposed with the proper visibility (<code>pub</code>, <code>club(crate)</code>, and so on)?</code></code></li>
  <li><code><code>Are you using the suitable data-modeling item (<code>struct</code> vs. <code>enum</code>) for your domain reasoning?</code></code></li>
  <li><code><code>Have you properly arranged your code into sensible <code>mod</code> trees to prevent enormous, monolithic files?</code></code></li>
  <li><code><code>Are you leveraging <code>quality</code> items to compose modular, generic, and testable code?</code></code></li>
</ul>  
  <p><code><code>Rust items are the basic vocabulary used to write meaningful, safe, and effective programs. By understanding how modules, functions, types, and qualities communicate as items, designers can construct robust architectures that scale gracefully. Whether you are specifying a simple consistent or designing a complicated trait hierarchy, acknowledging the role of items will make you a more proficient and reliable Rust programmer.</code></code></p>
  <code><code><br><img width="419" src="https://rusthub.com/Logo.svg"><br></code></code>

Latest revision as of 03:32, 1 November 2026

Demystifying Rust Items: A Comprehensive Guide to the Language's Structural Building Blocks

When developers primary step into the world of Rust, they are typically greeted by strict compiler guidelines, an unyielding obtain checker, and an unique vocabulary. Terms like crates, modules, characteristics, and macros get tossed around with frequency. At the heart of this terms lies a fundamental idea that every Rustacean must master: Items.

In Rust, almost whatever you write at the module level is an item. Comprehending what items are, how they are structured, and how they interact is important for writing idiomatic, scalable Rust code. This post will break down the anatomy of Rust items, explore their various types, and provide a roadmap for structuring your applications successfully.


What Exactly is an Item in Rust?

In the main Rust Reference, an item is specified as an element of a cage. rust wiki are the structural structure blocks of Rust programs. news specify types, execute logic, arrange namespaces, and manage dependencies.

Unlike expressions, which assess to a value at runtime, or statements, which perform actions within a function body, items exist at the module level (or the global scope of a cage). They are processed mainly at compile time, setting out the blueprint of the application before a single line of executable device code is run.

Key Characteristics of Items:

  • Visibility: Every item has a visibility modifier (like club or private by default), identifying whether other modules can access it.
  • Path Qualifiers: Items can be referenced using paths (e.g., std:: collections:: HashMap).
  • Call Binding: Most items bind a name to a meaning, such as a function name or a struct name.

The Taxonomy of Rust Items

Rust provides an abundant variety of items to handle everything from low-level data structuring to top-level architectural abstraction. Below is a comprehensive breakdown of the main item types in Rust.

Core Rust Items at a Glance

<thead> </thead> <tbody> </tbody>
Item Type Keyword Primary Purpose
Module mod Organizes code into hierarchical namespaces.
Function fn Defines multiple-use blocks of executable logic.
Struct struct Custom data types grouping multiple fields together.
Enum enum Types representing one of several possible variations.
Quality trait Defines shared behavior (user interfaces) for types.
Type Alias type Offers an existing type a brand-new, more detailed name.
Const const Specifies an unchangeable compile-time continuous worth.
Static fixed Defines a global variable with a fixed memory place.
Macro macro_rules! Metaprogramming constructs that compose code.
Use Declaration usage Brings items into the present regional scope.
Extern Crate extern crate Hyperlinks external external libraries to the existing cage.

Deep Dive into Essential Items

To really comprehend how items form a Rust program, let's analyze a few of the most commonly utilized items in detail.

1. Modules (mod)

Modules allow designers to partition code within a crate into smaller, workable, and rationally organized compartments. They help control personal privacy borders and prevent namespace pollution.

<code class="language-rust">bar mod database pub fn link() // Connection logic here</code>

2. Structs and Enums

Data modeling in Rust relies greatly on struct and enum items.

  • Structs belong to objects without approaches in other languages; they bundle heterogeneous data together.
  • Enums are amount types that can be among a number of variations, making them remarkably powerful when matched with pattern matching (match).
<code class="language-rust">bar enum Status Active,Inactive,Pending( u32),// Enum variant holding informationclub struct User bar username: String,club status: Status,</code>

3. Qualities (trait)

Traits are Rust's answer to user interfaces or mixins. They specify abstract sets of approaches that types need to carry out, allowing polymorphism and generic programming.

<code class="language-rust">pub trait Summarizable fn summarize(&& self )- > String;</code>

Organizing Items: Visibility and Paths

Composing items is only half the battle; understanding how to expose and access them across a codebase is where structural intricacy emerges.

Exposure Rules

By default, all items in Rust are private to the module they are specified in. To make them accessible outside their moms and dad module, designers need to use the bar keyword. Rust likewise offers fine-grained exposure modifiers:

  • club(crate): Visible anywhere within the current crate.
  • club(very): Visible just to the parent module.
  • pub(in path): Visible within a specific designated path.

Using Paths to Locate Items

Because items are organized hierarchically in modules, Rust uses courses to reference them. Courses can be relative or absolute:

  • Absolute courses begin with the cage name or crate keyword: cage:: database:: connect().
  • Relative courses begin with the existing module utilizing self, super, or plain identifiers: very:: link().

Finest Practices for Managing Rust Items

As a Rust task grows, keeping track of items can end up being overwhelming. Following recognized neighborhood patterns guarantees your codebase stays maintainable.

  • Keep main.rs and lib.rs Clean: Avoid composing sprawling reasoning in your root files. Instead, declare your high-level modules (mod network;, mod designs;-RRB- in main.rs or lib.rs and hand over the real item implementations to different files.
  • Take advantage of the usage Keyword Wisely: Bring greatly used items into scope using usage, but avoid glob imports (use module:: *;-RRB- in production libraries, as they pollute namespaces and make it hard to trace where an item came from.
  • Group Related Items: Place structs, their associated implementations (impl), and their appropriate qualities within the very same module to maintain high cohesion.
  • Document Public Items: Use paperwork remarks (///) on all public items. Rust's paperwork generator (cargo doc) counts on these items to develop rich, hyperlinked paperwork for your crates.

Items are the canvas upon which Rust programs are painted. From the low-level memory layout defined by a struct to the overarching architecture mapped out by mod declarations, items dictate how a Rust application looks, feels, and acts.

By mastering items-- comprehending their presence, scoping rules, and how they associate with one another-- designers can compose cleaner, more modular, and naturally much safer Rust code. Whether you are constructing a small command-line utility or a massive dispersed system, a strong grasp of Rust items is an indispensable tool in your programs toolbox.


<img width="327" src="https://rusthub.com/Logo.svg">