<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.haidhi.my.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Rust%3A_3_core_concept</id>
	<title>Rust: 3 core concept - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.haidhi.my.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Rust%3A_3_core_concept"/>
	<link rel="alternate" type="text/html" href="https://wiki.haidhi.my.id/wiki/index.php?title=Rust:_3_core_concept&amp;action=history"/>
	<updated>2026-11-01T21:44:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.haidhi.my.id/wiki/index.php?title=Rust:_3_core_concept&amp;diff=424&amp;oldid=prev</id>
		<title>SanzSkuy: Created page with &quot;90% &quot;susahnya&quot; Rust ada di 3 konsep ini   == Ownership ==  *Every value is &#039;owned&#039; by a single variable, struct, vector, etc at a time *Reassigning the value to another variable, passing it to a function, putting it into a vector, etc, &#039;&#039;&#039;MOVES&#039;&#039;&#039; the value. The old variable can&#039;t be used anymore  == Borrowing == *You can create many read-only references to a value that exist at the same time *You can&#039;t move a value while a ref to the value exist *You can make writable (...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.haidhi.my.id/wiki/index.php?title=Rust:_3_core_concept&amp;diff=424&amp;oldid=prev"/>
		<updated>2025-07-28T02:18:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;90% &amp;quot;susahnya&amp;quot; Rust ada di 3 konsep ini   == Ownership ==  *Every value is &amp;#039;owned&amp;#039; by a single variable, struct, vector, etc at a time *Reassigning the value to another variable, passing it to a function, putting it into a vector, etc, &amp;#039;&amp;#039;&amp;#039;MOVES&amp;#039;&amp;#039;&amp;#039; the value. The old variable can&amp;#039;t be used anymore  == Borrowing == *You can create many read-only references to a value that exist at the same time *You can&amp;#039;t move a value while a ref to the value exist *You can make writable (...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;90% &amp;quot;susahnya&amp;quot; Rust ada di 3 konsep ini &lt;br /&gt;
&lt;br /&gt;
== Ownership == &lt;br /&gt;
*Every value is &amp;#039;owned&amp;#039; by a single variable, struct, vector, etc at a time&lt;br /&gt;
*Reassigning the value to another variable, passing it to a function, putting it into a vector, etc, &amp;#039;&amp;#039;&amp;#039;MOVES&amp;#039;&amp;#039;&amp;#039; the value. The old variable can&amp;#039;t be used anymore&lt;br /&gt;
&lt;br /&gt;
== Borrowing ==&lt;br /&gt;
*You can create many read-only references to a value that exist at the same time&lt;br /&gt;
*You can&amp;#039;t move a value while a ref to the value exist&lt;br /&gt;
*You can make writable (mutable) reference to a value &amp;#039;&amp;#039;&amp;#039;ONLY IF&amp;#039;&amp;#039;&amp;#039; there are no read-only references currently in use. One mutable ref to a value can exist at a time&lt;br /&gt;
*You can&amp;#039;t mutate a value through the owner when any ref (mutable or immutable) to the value exist &lt;br /&gt;
*Some types of values are &amp;#039;&amp;#039;&amp;#039;COPIED&amp;#039;&amp;#039;&amp;#039; instead of move (numbers, bools, chars, arrays/tuple with copyable elements)&lt;br /&gt;
&lt;br /&gt;
== Lifetimes ==&lt;br /&gt;
*When a variable goes out of scope, the value owned by it is dropped (cleaned up in memory)&lt;br /&gt;
*Values can&amp;#039;t be dropped if there are still active references to it&lt;br /&gt;
*References to a value can&amp;#039;t outlive the value the refer to&lt;/div&gt;</summary>
		<author><name>SanzSkuy</name></author>
	</entry>
</feed>