Update docs
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#140-343' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#141-366' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class="rust macro">
|
||||
<span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">glib_object_wrapper</span> {
|
||||
([$(<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>)<span class="kw-2">*</span>] <span class="macro-nonterminal">$</span><span class="macro-nonterminal">name</span>:<span class="ident">ident</span>, <span class="macro-nonterminal">$</span><span class="macro-nonterminal">ffi_name</span>:<span class="ident">path</span>, @<span class="ident">get_type</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">get_type_expr</span>:<span class="ident">expr</span>) <span class="op">=></span> { ... };
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#5-546' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#5-569' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p><code>IMPL</code> Object wrapper implementation and <code>Object</code> binding.</p>
|
||||
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||||
<table>
|
||||
|
||||
@@ -48,30 +48,30 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#145' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct Object(_, _);</pre><div class='docblock'><p>The base class in the object hierarchy.</p>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, __arg_0: &mut __H)</code></span></h4>
|
||||
<div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||||
</div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: &mut H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div></span></h4>
|
||||
<div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#232-236' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#233-237' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.static_type' class="method"><span id='static_type.v' class='invisible'><code>fn <a href='../../glib/types/trait.StaticType.html#tymethod.static_type' class='fnname'>static_type</a>() -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type identifier of <code>Self</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#238-244' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#239-245' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &T) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#246' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#269' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#22-60' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#23-61' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait Cast: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>> {
|
||||
fn <a href='#method.upcast' class='fnname'>upcast</a><T>(self) -> T<br> <span class="where">where<br> T: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>,<br> Self: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><T></span>,
|
||||
{ ... }
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#86-99' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#87-100' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait Downcast<T> {
|
||||
fn <a href='#tymethod.can_downcast' class='fnname'>can_downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.downcast' class='fnname'>downcast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self><br> <span class="where">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#77-79' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#78-80' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait IsA<T: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>>: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + for<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><T as <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>>::<a class="type" href="../../glib/wrapper/trait.Wrapper.html#associatedtype.GlibType" title="type glib::wrapper::Wrapper::GlibType">GlibType</a>> { }</pre><div class='docblock'><p>Declares the "is a" relationship.</p>
|
||||
|
||||
<p><code>Self</code> is said to implement <code>T</code>.</p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#5-587' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#5-567' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p><code>Value</code> binding and helper traits.</p>
|
||||
|
||||
<p>The type of a <a href="struct.Value.html"><code>Value</code></a> is dynamic in that it generally
|
||||
|
||||
@@ -48,14 +48,14 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#288' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#287' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct TypedValue<T>(_, _);</pre><div class='docblock'><p>A statically typed <a href="struct.Value.html"><code>Value</code></a>.</p>
|
||||
|
||||
<p>It dereferences to <code>Value</code> and can be used everywhere <code>Value</code> references are
|
||||
accepted.</p>
|
||||
|
||||
<p>See the <a href="index.html">module documentation</a> for more details.</p>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#290-325' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#289-324' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.get' class="method"><span id='get.v' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(&'a self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code></span></h4>
|
||||
<div class='docblock'><p>Returns the value.</p>
|
||||
|
||||
@@ -92,38 +92,38 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Returns <code>true</code> if the type of the value corresponds to <code>T</code>.</p>
|
||||
</div><h4 id='method.type_' class="method"><span id='type_.v' class='invisible'><code>fn <a href='#method.type_' class='fnname'>type_</a>(&self) -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type of the value.</p>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#327-331' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#326-330' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#333-337' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#332-336' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#339-345' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#338-344' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Target' class="type"><span id='Target.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The resulting type after dereferencing</p>
|
||||
</div><h4 id='method.deref' class="method"><span id='deref.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&self) -> &<a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The method called to dereference a value</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#347-351' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#346-350' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.deref_mut' class="method"><span id='deref_mut.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut' class='fnname'>deref_mut</a>(&mut self) -> &mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The method called to mutably dereference a value</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#353-357' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#352-356' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#359-363' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#358-362' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a T) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#365-369' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#364-368' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-2' class="method"><span id='from.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#371-375' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#370-374' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-3' class="method"><span id='from.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#377-381' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#376-380' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-4' class="method"><span id='from.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#383-387' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#382-386' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-5' class="method"><span id='from.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div></section>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#97' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#96' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct Value(_);</pre><div class='docblock'><p>A generic value capable of carrying various types.</p>
|
||||
|
||||
<p>Once created the type of the value can't be changed.</p>
|
||||
@@ -57,7 +57,7 @@
|
||||
(e.g. numeric types) don't.</p>
|
||||
|
||||
<p>See the <a href="index.html">module documentation</a> for more details.</p>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#99-164' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#98-163' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.downcast' class="method"><span id='downcast.v' class='invisible'><code>fn <a href='#method.downcast' class='fnname'>downcast</a><'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>>(<br> self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Tries to downcast to a <code>TypedValue</code>.</p>
|
||||
|
||||
@@ -76,30 +76,30 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Returns the type of the value.</p>
|
||||
</div><h4 id='method.type_transformable' class="method"><span id='type_transformable.v' class='invisible'><code>fn <a href='#method.type_transformable' class='fnname'>type_transformable</a>(src: <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a>, dst: <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns whether <code>Value</code>s of type <code>src</code> can be transformed to type <code>dst</code>.</p>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#166-175' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#165-174' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#177-181' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#176-180' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4>
|
||||
<div class='docblock'><p>A method called when the value goes out of scope. <a href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#183-191' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#182-190' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#193-198' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#192-197' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#200-205' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#199-204' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a T) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#207-211' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#206-210' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-2' class="method"><span id='from.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.Uninitialized.html" title="trait glib::translate::Uninitialized">Uninitialized</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#213-217' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.Uninitialized.html" title="trait glib::translate::Uninitialized">Uninitialized</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#212-216' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.uninitialized' class="method"><span id='uninitialized.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.Uninitialized.html#tymethod.uninitialized' class='fnname'>uninitialized</a>() -> <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns an uninitialized value.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#219-225' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#218-224' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Storage' class="type"><span id='Storage.t' class='invisible'><code>type <a href='../../glib/translate/trait.ToGlibPtr.html#associatedtype.Storage' class="type">Storage</a> = &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<h4 id='method.to_glib_none' class="method"><span id='to_glib_none.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none' class='fnname'>to_glib_none</a>(&'a self) -> <a class="struct" href="../../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Transfer: none. <a href="../../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none">Read more</a></p>
|
||||
@@ -107,17 +107,17 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Transfer: container. <a href="../../glib/translate/trait.ToGlibPtr.html#method.to_glib_container">Read more</a></p>
|
||||
</div><h4 id='method.to_glib_full' class="method"><span id='to_glib_full.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtr.html#method.to_glib_full' class='fnname'>to_glib_full</a>(&self) -> P</code></span></h4>
|
||||
<div class='docblock'><p>Transfer: full. <a href="../../glib/translate/trait.ToGlibPtr.html#method.to_glib_full">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtrMut.html" title="trait glib::translate::ToGlibPtrMut">ToGlibPtrMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#227-233' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtrMut.html" title="trait glib::translate::ToGlibPtrMut">ToGlibPtrMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#226-232' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Storage-1' class="type"><span id='Storage.t-1' class='invisible'><code>type <a href='../../glib/translate/trait.ToGlibPtrMut.html#associatedtype.Storage' class="type">Storage</a> = &'a mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<h4 id='method.to_glib_none_mut' class="method"><span id='to_glib_none_mut.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtrMut.html#tymethod.to_glib_none_mut' class='fnname'>to_glib_none_mut</a>(&'a mut self) -> <a class="struct" href="../../glib/translate/struct.StashMut.html" title="struct glib::translate::StashMut">StashMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Transfer: none. <a href="../../glib/translate/trait.ToGlibPtrMut.html#tymethod.to_glib_none_mut">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#246-253' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#245-252' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_none' class="method"><span id='from_glib_none.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrNone.html#tymethod.from_glib_none' class='fnname'>from_glib_none</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#255-259' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#254-258' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_none-1' class="method"><span id='from_glib_none.v-1' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrNone.html#tymethod.from_glib_none' class='fnname'>from_glib_none</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrFull.html" title="trait glib::translate::FromGlibPtrFull">FromGlibPtrFull</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#261-268' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrFull.html" title="trait glib::translate::FromGlibPtrFull">FromGlibPtrFull</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#260-267' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_full' class="method"><span id='from_glib_full.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrFull.html#tymethod.from_glib_full' class='fnname'>from_glib_full</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/value/trait.ToValue.html" title="trait glib::value::ToValue">ToValue</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#432-440' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/value/trait.ToValue.html" title="trait glib::value::ToValue">ToValue</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#431-439' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.to_value' class="method"><span id='to_value.v' class='invisible'><code>fn <a href='../../glib/value/trait.ToValue.html#tymethod.to_value' class='fnname'>to_value</a>(&self) -> <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns a <code>Value</code> clone of <code>self</code>.</p>
|
||||
</div><h4 id='method.to_value_type' class="method"><span id='to_value_type.v' class='invisible'><code>fn <a href='../../glib/value/trait.ToValue.html#tymethod.to_value_type' class='fnname'>to_value_type</a>(&self) -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#270' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct ValueArray(_);</pre><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.ValueArray.html" title="struct glib::value::ValueArray">ValueArray</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#272-280' title='goto source code'>[src]</a></span></h3>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#269' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct ValueArray(_);</pre><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.ValueArray.html" title="struct glib::value::ValueArray">ValueArray</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#271-279' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4>
|
||||
<div class='docblock'><p>A method called when the value goes out of scope. <a href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
|
||||
</div></div></section>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#452-454' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#451-453' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FromValue<'a>: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> {
|
||||
unsafe fn <a href='#tymethod.from_value' class='fnname'>from_value</a>(_: &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>) -> Self;
|
||||
}</pre><div class='docblock'><p>Extracts a value.</p>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#445-447' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#444-446' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FromValueOptional<'a>: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
||||
unsafe fn <a href='#tymethod.from_value_optional' class='fnname'>from_value_optional</a>(_: &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self>;
|
||||
}</pre><div class='docblock'><p>Extracts a value.</p>
|
||||
@@ -62,7 +62,6 @@
|
||||
<ul class='item-list' id='implementors-list'>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
|
||||
<li><code>impl<'a, T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> FromValueOptional<'a> for T</code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code></li>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#464-466' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#463-465' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SetValue: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> {
|
||||
unsafe fn <a href='#tymethod.set_value' class='fnname'>set_value</a>(_: &mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>, _: &Self);
|
||||
}</pre><div class='docblock'><p>Sets a value.</p>
|
||||
@@ -61,7 +61,6 @@
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
|
||||
<li><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> SetValue for &'a T</code></li>
|
||||
<li><code>impl SetValue for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></li>
|
||||
<li><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> SetValue for T</code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code></li>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#459-461' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#458-460' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SetValueOptional: <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a> {
|
||||
unsafe fn <a href='#tymethod.set_value_optional' class='fnname'>set_value_optional</a>(_: &mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>, _: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&Self>);
|
||||
}</pre><div class='docblock'><p>Sets a value.</p>
|
||||
@@ -63,7 +63,6 @@
|
||||
<li><code>impl SetValueOptional for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
|
||||
<li><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> SetValueOptional for &'a T</code></li>
|
||||
<li><code>impl SetValueOptional for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></li>
|
||||
<li><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> SetValueOptional for T</code></li>
|
||||
</ul><script type="text/javascript" async
|
||||
src="../../implementors/glib/value/trait.SetValueOptional.js">
|
||||
</script></section>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#390-398' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#389-397' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ToValue {
|
||||
fn <a href='#tymethod.to_value' class='fnname'>to_value</a>(&self) -> <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>;
|
||||
fn <a href='#tymethod.to_value_type' class='fnname'>to_value_type</a>(&self) -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a>;
|
||||
|
||||
Reference in New Issue
Block a user