Skip to content

Commit 11f99d1

Browse files
committed
Deploying to gh-pages from @ vizia/vizia@615f128 🚀
1 parent 194e8d2 commit 11f99d1

File tree

12 files changed

+962
-956
lines changed

12 files changed

+962
-956
lines changed

src/vizia_core/context/mod.rs.html

Lines changed: 875 additions & 869 deletions
Large diffs are not rendered by default.

vizia/context/struct.Context.html

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

vizia/context/struct.DrawContext.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2 id="example"><a class="doc-anchor" href="#example">§</a>Example</h2>
8888
</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_shadows" class="method"><a class="src rightside" href="../../src/vizia_core/context/draw.rs.html#796">Source</a><h4 class="code-header">pub fn <a href="#method.draw_shadows" class="fn">draw_shadows</a>(&amp;mut self, canvas: &amp;<a class="struct" href="../vg/struct.Canvas.html" title="struct vizia::vg::Canvas">Canvas</a>)</h4></section></summary><div class="docblock"><p>Draw shadows for the current view.</p>
8989
</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_text" class="method"><a class="src rightside" href="../../src/vizia_core/context/draw.rs.html#1197">Source</a><h4 class="code-header">pub fn <a href="#method.draw_text" class="fn">draw_text</a>(&amp;mut self, canvas: &amp;<a class="struct" href="../vg/struct.Canvas.html" title="struct vizia::vg::Canvas">Canvas</a>)</h4></section></summary><div class="docblock"><p>Draw any text for the current view.</p>
9090
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-DataContext-for-DrawContext%3C'_%3E" class="impl"><a class="src rightside" href="../../src/vizia_core/context/draw.rs.html#1240">Source</a><a href="#impl-DataContext-for-DrawContext%3C'_%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.DataContext.html" title="trait vizia::context::DataContext">DataContext</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'_&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.data" class="method trait-impl"><a class="src rightside" href="../../src/vizia_core/context/draw.rs.html#1241">Source</a><a href="#method.data" class="anchor">§</a><h4 class="code-header">fn <a href="trait.DataContext.html#tymethod.data" class="fn">data</a>&lt;T&gt;(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.86.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.86.0/std/primitive.reference.html">&amp;T</a>&gt;<div class="where">where
91-
T: 'static,</div></h4></section></summary><div class='docblock'>Get model/view data from the context. Returns <code>None</code> if the data does not exist.</div></details><details class="toggle method-toggle" open><summary><section id="method.localization_context" class="method trait-impl"><a class="src rightside" href="../../src/vizia_core/context/mod.rs.html#947">Source</a><a href="#method.localization_context" class="anchor">§</a><h4 class="code-header">fn <a href="trait.DataContext.html#method.localization_context" class="fn">localization_context</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.86.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.LocalizationContext.html" title="struct vizia::context::LocalizationContext">LocalizationContext</a>&lt;'_&gt;&gt;</h4></section></summary><div class='docblock'>Convert the current context into a <a href="struct.LocalizationContext.html" title="struct vizia::context::LocalizationContext">LocalizationContext</a>.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Freeze-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-RefUnwindSafe-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-RefUnwindSafe-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Send-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Send-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Sync-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Sync-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Unpin-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Unpin-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-UnwindSafe-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-UnwindSafe-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
91+
T: 'static,</div></h4></section></summary><div class='docblock'>Get model/view data from the context. Returns <code>None</code> if the data does not exist.</div></details><details class="toggle method-toggle" open><summary><section id="method.localization_context" class="method trait-impl"><a class="src rightside" href="../../src/vizia_core/context/mod.rs.html#953">Source</a><a href="#method.localization_context" class="anchor">§</a><h4 class="code-header">fn <a href="trait.DataContext.html#method.localization_context" class="fn">localization_context</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.86.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.LocalizationContext.html" title="struct vizia::context::LocalizationContext">LocalizationContext</a>&lt;'_&gt;&gt;</h4></section></summary><div class='docblock'>Convert the current context into a <a href="struct.LocalizationContext.html" title="struct vizia::context::LocalizationContext">LocalizationContext</a>.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Freeze-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-RefUnwindSafe-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-RefUnwindSafe-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Send-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Send-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Sync-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Sync-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-Unpin-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-Unpin-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section><section id="impl-UnwindSafe-for-DrawContext%3C'a%3E" class="impl"><a href="#impl-UnwindSafe-for-DrawContext%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.DrawContext.html" title="struct vizia::context::DrawContext">DrawContext</a>&lt;'a&gt;</h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
9292
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.86.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.86.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.86.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
9393
T: ?<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.86.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
9494
T: ?<a class="trait" href="https://doc.rust-lang.org/1.86.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.86.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.86.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.86.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<div class="where">where

0 commit comments

Comments
 (0)