}</pre><divclass='docblock'><p>Converts to <code>Value</code>.</p>
</div>
<h2id='required-methods'>Required Methods</h2>
<divclass='methods'>
<h3id='tymethod.to_value'class='method'><spanid='to_value.v'class='invisible'><code>fn <ahref='#tymethod.to_value'class='fnname'>to_value</a>(&self) -><aclass="struct"href="../../glib/value/struct.Value.html"title="struct glib::value::Value">Value</a></code></span></h3><divclass='docblock'><p>Returns a <code>Value</code> clone of <code>self</code>.</p>
</div><h3id='tymethod.to_value_type'class='method'><spanid='to_value_type.v'class='invisible'><code>fn <ahref='#tymethod.to_value_type'class='fnname'>to_value_type</a>(&self) -><aclass="enum"href="../../glib/types/enum.Type.html"title="enum glib::types::Type">Type</a></code></span></h3><divclass='docblock'><p>Returns the type identifer of <code>self</code>.</p>
<p>This is the type of the value to be returned by <code>to_value</code>.</p>
</div></div>
<h2id='implementors'>Implementors</h2>
<ulclass='item-list'id='implementors-list'>
<li><code>impl<T: <aclass="trait"href="../../glib/value/trait.SetValueOptional.html"title="trait glib::value::SetValueOptional">SetValueOptional</a>> ToValue for <aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><T></code></li>
<li><code>impl<T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a> + <aclass="trait"href="../../glib/value/trait.SetValue.html"title="trait glib::value::SetValue">SetValue</a>> ToValue for T</code></li>
<li><code>impl ToValue for <aclass="struct"href="../../glib/value/struct.Value.html"title="struct glib::value::Value">Value</a></code></li>