From bada1c3550278bc3b673b76dcd74bc98492180d6 Mon Sep 17 00:00:00 2001 From: kl-botsu Date: Fri, 17 Nov 2023 15:50:32 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20khonsula?= =?UTF-8?q?bs/kludgine@74db2e6be9c79f384eafbe57af8fa92de8b8d03c=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/implementors/core/clone/trait.Clone.js | 2 +- main/implementors/core/cmp/trait.Eq.js | 2 +- main/implementors/core/cmp/trait.PartialEq.js | 2 +- main/implementors/core/convert/trait.From.js | 2 +- .../core/default/trait.Default.js | 2 +- main/implementors/core/fmt/trait.Debug.js | 2 +- main/implementors/core/hash/trait.Hash.js | 2 +- main/implementors/core/marker/trait.Copy.js | 2 +- main/implementors/core/marker/trait.Freeze.js | 2 +- main/implementors/core/marker/trait.Send.js | 2 +- .../core/marker/trait.StructuralEq.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- main/implementors/core/marker/trait.Sync.js | 2 +- main/implementors/core/marker/trait.Unpin.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- .../kludgine/trait.DrawableExt.js | 3 + .../kludgine/trait.DrawableSource.js | 3 + main/kludgine/all.html | 2 +- main/kludgine/enum.AnyTexture.html | 4 +- main/kludgine/enum.Origin.html | 6 +- main/kludgine/index.html | 6 +- main/kludgine/render/index.html | 2 +- main/kludgine/render/struct.Drawing.html | 8 +- main/kludgine/render/struct.Renderer.html | 86 ++--- main/kludgine/shapes/enum.PathEvent.html | 4 +- main/kludgine/shapes/index.html | 2 +- main/kludgine/shapes/struct.Path.html | 12 +- main/kludgine/shapes/struct.PathBuilder.html | 38 +- main/kludgine/shapes/struct.Shape.html | 19 +- .../kludgine/shapes/struct.StrokeOptions.html | 22 +- .../shapes/trait.DefaultStrokeWidth.html | 8 +- main/kludgine/shapes/type.ControlPoint.html | 2 +- main/kludgine/shapes/type.Endpoint.html | 2 +- main/kludgine/sidebar-items.js | 2 +- main/kludgine/struct.ClipGuard.html | 12 +- main/kludgine/struct.Color.html | 336 +++++++++--------- main/kludgine/struct.Drawable.html | 45 +++ main/kludgine/struct.Frame.html | 14 +- main/kludgine/struct.Graphics.html | 28 +- main/kludgine/struct.Kludgine.html | 14 +- main/kludgine/struct.RenderingGraphics.html | 16 +- main/kludgine/struct.SharedTexture.html | 18 +- main/kludgine/struct.Texture.html | 20 +- main/kludgine/struct.TextureRegion.html | 8 +- main/kludgine/text/index.html | 2 +- main/kludgine/text/struct.GlyphInfo.html | 4 +- main/kludgine/text/struct.MeasuredGlyph.html | 6 +- main/kludgine/text/struct.MeasuredText.html | 4 +- main/kludgine/text/struct.Text.html | 15 +- main/kludgine/tilemap/enum.TileKind.html | 4 +- main/kludgine/tilemap/enum.TileMapFocus.html | 4 +- main/kludgine/tilemap/fn.draw.html | 2 +- main/kludgine/tilemap/index.html | 2 +- main/kludgine/tilemap/struct.ObjectId.html | 10 +- main/kludgine/tilemap/struct.ObjectInfo.html | 4 +- main/kludgine/tilemap/struct.ObjectLayer.html | 10 +- main/kludgine/tilemap/struct.TileOffset.html | 2 +- main/kludgine/tilemap/struct.Tiles.html | 10 +- main/kludgine/tilemap/trait.Layer.html | 6 +- main/kludgine/tilemap/trait.Layers.html | 6 +- main/kludgine/tilemap/trait.Object.html | 4 +- main/kludgine/trait.Clipped.html | 10 +- main/kludgine/trait.DrawableExt.html | 12 + main/kludgine/trait.DrawableSource.html | 3 + main/kludgine/trait.ShapeSource.html | 4 +- main/kludgine/trait.TextureSource.html | 4 +- main/search-index.js | 2 +- main/src/kludgine/lib.rs.html | 192 +++++++++- main/src/kludgine/render.rs.html | 136 +++---- main/src/kludgine/shapes.rs.html | 8 +- main/src/kludgine/text.rs.html | 12 +- main/src/kludgine/tilemap.rs.html | 50 +-- 73 files changed, 756 insertions(+), 546 deletions(-) create mode 100644 main/implementors/kludgine/trait.DrawableExt.js create mode 100644 main/implementors/kludgine/trait.DrawableSource.js create mode 100644 main/kludgine/struct.Drawable.html create mode 100644 main/kludgine/trait.DrawableExt.html create mode 100644 main/kludgine/trait.DrawableSource.html diff --git a/main/implementors/core/clone/trait.Clone.js b/main/implementors/core/clone/trait.Clone.js index 351dd1961..5c3373d93 100644 --- a/main/implementors/core/clone/trait.Clone.js +++ b/main/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Clone for TextureCollection"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl Clone for Color"],["impl Clone for TextureRegion"],["impl<Unit: Clone> Clone for PathEvent<Unit>"],["impl Clone for SharedTexture"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for StrokeOptions<Unit>"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl Clone for ObjectId"],["impl Clone for GlyphInfo"],["impl Clone for CollectedTexture"],["impl Clone for TileMapFocus"],["impl Clone for MeasuredGlyph"]] +"kludgine":[["impl Clone for TextureRegion"],["impl Clone for TextureCollection"],["impl Clone for SharedTexture"],["impl Clone for GlyphInfo"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl<Unit: Clone> Clone for PathEvent<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl<Unit: Clone> Clone for StrokeOptions<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl Clone for ObjectId"],["impl Clone for Color"],["impl Clone for MeasuredGlyph"],["impl Clone for CollectedTexture"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl Clone for TileMapFocus"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/cmp/trait.Eq.js b/main/implementors/core/cmp/trait.Eq.js index 25fe13896..f84d4689c 100644 --- a/main/implementors/core/cmp/trait.Eq.js +++ b/main/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Eq for TextureRegion"],["impl Eq for ObjectId"],["impl Eq for Color"],["impl<Unit: Eq> Eq for Origin<Unit>"],["impl<Unit: Eq> Eq for TextOrigin<Unit>"],["impl Eq for SharedTexture"]] +"kludgine":[["impl<Unit: Eq> Eq for TextOrigin<Unit>"],["impl Eq for ObjectId"],["impl Eq for TextureRegion"],["impl Eq for Color"],["impl<Unit: Eq> Eq for Origin<Unit>"],["impl Eq for SharedTexture"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/cmp/trait.PartialEq.js b/main/implementors/core/cmp/trait.PartialEq.js index 07653f734..0554d47b3 100644 --- a/main/implementors/core/cmp/trait.PartialEq.js +++ b/main/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl PartialEq<TextureRegion> for TextureRegion"],["impl PartialEq<SharedTexture> for SharedTexture"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl PartialEq<ObjectId> for ObjectId"],["impl PartialEq<Color> for Color"],["impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"]] +"kludgine":[["impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>"],["impl PartialEq<SharedTexture> for SharedTexture"],["impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl PartialEq<Color> for Color"],["impl PartialEq<TextureRegion> for TextureRegion"],["impl PartialEq<ObjectId> for ObjectId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/convert/trait.From.js b/main/implementors/core/convert/trait.From.js index 037009b76..853354371 100644 --- a/main/implementors/core/convert/trait.From.js +++ b/main/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl From<Color> for Color"],["impl From<Texture> for SharedTexture"],["impl<'a, Unit> From<&'a String> for Text<'a, Unit>"],["impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere\n Unit: FloatConversion<Float = f32>,"],["impl From<Color> for Color"],["impl From<Color> for Color"],["impl From<Texture> for AnyTexture"],["impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where\n Unit: Default,"],["impl<'a, Unit> From<&'a str> for Text<'a, Unit>"]] +"kludgine":[["impl From<Color> for Color"],["impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere\n Unit: FloatConversion<Float = f32>,"],["impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where\n Unit: Default,"],["impl From<Texture> for SharedTexture"],["impl<'a, Unit> From<&'a str> for Text<'a, Unit>"],["impl From<Color> for Color"],["impl From<Color> for Color"],["impl From<Texture> for AnyTexture"],["impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where\n T: DrawableSource,\n Unit: Default,"],["impl<'a, Unit> From<&'a String> for Text<'a, Unit>"],["impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where\n Unit: Default,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/default/trait.Default.js b/main/implementors/core/default/trait.Default.js index 7787c5f23..37935bb61 100644 --- a/main/implementors/core/default/trait.Default.js +++ b/main/implementors/core/default/trait.Default.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl<Unit> Default for TextOrigin<Unit>"],["impl<O> Default for ObjectLayer<O>"],["impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl Default for TileMapFocus"],["impl Default for Drawing"]] +"kludgine":[["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl<Unit> Default for TextOrigin<Unit>"],["impl<O> Default for ObjectLayer<O>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl Default for TileMapFocus"],["impl Default for Drawing"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/fmt/trait.Debug.js b/main/implementors/core/fmt/trait.Debug.js index 32177b617..e83eaebdf 100644 --- a/main/implementors/core/fmt/trait.Debug.js +++ b/main/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit: Debug> Debug for StrokeOptions<Unit>"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl Debug for TextureRegion"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl Debug for Color"],["impl Debug for TileKind"],["impl Debug for AnyTexture"],["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl Debug for TileMapFocus"],["impl Debug for Kludgine"],["impl Debug for CollectedTexture"],["impl Debug for ObjectId"],["impl<O: Debug> Debug for ObjectInfo<O>"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"],["impl Debug for MeasuredGlyph"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl Debug for SharedTexture"],["impl Debug for Tiles"],["impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl Debug for Drawing"],["impl<O: Debug> Debug for ObjectLayer<O>"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl Debug for Texture"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl Debug for PreparedText"],["impl Debug for GlyphInfo"],["impl<Unit: Debug> Debug for Origin<Unit>"]] +"kludgine":[["impl Debug for AnyTexture"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl<Unit: Debug> Debug for Origin<Unit>"],["impl Debug for Color"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl Debug for TileKind"],["impl Debug for TextureRegion"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl Debug for TileMapFocus"],["impl Debug for GlyphInfo"],["impl Debug for CollectedTexture"],["impl Debug for ObjectId"],["impl<O: Debug> Debug for ObjectInfo<O>"],["impl<Unit: Debug> Debug for StrokeOptions<Unit>"],["impl Debug for Texture"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl Debug for Tiles"],["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl Debug for Drawing"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl<O: Debug> Debug for ObjectLayer<O>"],["impl Debug for MeasuredGlyph"],["impl Debug for SharedTexture"],["impl Debug for Kludgine"],["impl Debug for PreparedText"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/hash/trait.Hash.js b/main/implementors/core/hash/trait.Hash.js index b4b1e7db2..506905b92 100644 --- a/main/implementors/core/hash/trait.Hash.js +++ b/main/implementors/core/hash/trait.Hash.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl Hash for ObjectId"],["impl Hash for Color"]] +"kludgine":[["impl Hash for Color"],["impl Hash for ObjectId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Copy.js b/main/implementors/core/marker/trait.Copy.js index 47efb139c..10bea08b2 100644 --- a/main/implementors/core/marker/trait.Copy.js +++ b/main/implementors/core/marker/trait.Copy.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<Unit: Copy> Copy for Origin<Unit>"],["impl Copy for GlyphInfo"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<Unit>"],["impl Copy for TileMapFocus"],["impl<Unit: Copy> Copy for StrokeOptions<Unit>"],["impl Copy for Color"],["impl<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl Copy for ObjectId"]] +"kludgine":[["impl<Unit: Copy> Copy for StrokeOptions<Unit>"],["impl Copy for TileMapFocus"],["impl Copy for Color"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<Unit>"],["impl Copy for GlyphInfo"],["impl<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl<Unit: Copy> Copy for Origin<Unit>"],["impl Copy for ObjectId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Freeze.js b/main/implementors/core/marker/trait.Freeze.js index db22f551e..d8c3bd529 100644 --- a/main/implementors/core/marker/trait.Freeze.js +++ b/main/implementors/core/marker/trait.Freeze.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Freeze for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Freeze for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Freeze for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Freeze for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !Freeze for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Freeze for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !Freeze for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Freeze for Shape<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Shape"]],["impl<Unit> Freeze for PathEvent<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Freeze for Path<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Freeze for PathBuilder<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Freeze for StrokeOptions<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::StrokeOptions"]],["impl !Freeze for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Freeze for TextOrigin<Unit>where\n Unit: Freeze,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Freeze for MeasuredText<Unit>where\n Unit: Freeze,",1,["kludgine::text::MeasuredText"]],["impl Freeze for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Freeze for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Freeze for Text<'a, Unit>where\n Unit: Freeze,",1,["kludgine::text::Text"]],["impl Freeze for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Freeze for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Freeze for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Freeze for ObjectLayer<O>",1,["kludgine::tilemap::ObjectLayer"]],["impl Freeze for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Freeze for ObjectInfo<O>where\n O: Freeze,",1,["kludgine::tilemap::ObjectInfo"]],["impl Freeze for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !Freeze for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Freeze for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Freeze for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Freeze for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Freeze for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Freeze for Color",1,["kludgine::Color"]],["impl Freeze for Texture",1,["kludgine::Texture"]],["impl<Unit> Freeze for Origin<Unit>where\n Unit: Freeze,",1,["kludgine::Origin"]],["impl Freeze for SharedTexture",1,["kludgine::SharedTexture"]],["impl Freeze for TextureRegion",1,["kludgine::TextureRegion"]],["impl Freeze for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent> Freeze for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Freeze for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Freeze for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Freeze for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !Freeze for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Freeze for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !Freeze for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Freeze for Shape<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Shape"]],["impl<Unit> Freeze for PathEvent<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Freeze for Path<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Freeze for PathBuilder<Unit, TEXTURED>where\n Unit: Freeze,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Freeze for StrokeOptions<Unit>where\n Unit: Freeze,",1,["kludgine::shapes::StrokeOptions"]],["impl !Freeze for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Freeze for TextOrigin<Unit>where\n Unit: Freeze,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Freeze for MeasuredText<Unit>where\n Unit: Freeze,",1,["kludgine::text::MeasuredText"]],["impl Freeze for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Freeze for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Freeze for Text<'a, Unit>where\n Unit: Freeze,",1,["kludgine::text::Text"]],["impl Freeze for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Freeze for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Freeze for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Freeze for ObjectLayer<O>",1,["kludgine::tilemap::ObjectLayer"]],["impl Freeze for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Freeze for ObjectInfo<O>where\n O: Freeze,",1,["kludgine::tilemap::ObjectInfo"]],["impl Freeze for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !Freeze for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Freeze for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Freeze for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Freeze for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Freeze for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Freeze for Color",1,["kludgine::Color"]],["impl Freeze for Texture",1,["kludgine::Texture"]],["impl<Unit> Freeze for Origin<Unit>where\n Unit: Freeze,",1,["kludgine::Origin"]],["impl Freeze for SharedTexture",1,["kludgine::SharedTexture"]],["impl Freeze for TextureRegion",1,["kludgine::TextureRegion"]],["impl Freeze for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Freeze for Drawable<T, Unit>where\n T: Freeze,\n Unit: Freeze,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Send.js b/main/implementors/core/marker/trait.Send.js index fe375c4c1..91add1ee9 100644 --- a/main/implementors/core/marker/trait.Send.js +++ b/main/implementors/core/marker/trait.Send.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Send for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Send for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Send for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Send for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Send for PreparedGraphic<Unit>where\n Unit: Send,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Send for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Send for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Shape"]],["impl<Unit> Send for PathEvent<Unit>where\n Unit: Send,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Send for StrokeOptions<Unit>where\n Unit: Send,",1,["kludgine::shapes::StrokeOptions"]],["impl Send for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Send for TextOrigin<Unit>where\n Unit: Send,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Send for MeasuredText<Unit>where\n Unit: Send,",1,["kludgine::text::MeasuredText"]],["impl Send for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Send for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Send for Text<'a, Unit>where\n Unit: Send,",1,["kludgine::text::Text"]],["impl Send for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Send for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Send for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Send for ObjectLayer<O>where\n O: Send,",1,["kludgine::tilemap::ObjectLayer"]],["impl Send for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Send for ObjectInfo<O>where\n O: Send,",1,["kludgine::tilemap::ObjectInfo"]],["impl Send for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Send for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Send for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Send for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Send for ClipGuard<'clip, T>where\n T: Send,",1,["kludgine::ClipGuard"]],["impl Send for Color",1,["kludgine::Color"]],["impl Send for Texture",1,["kludgine::Texture"]],["impl<Unit> Send for Origin<Unit>where\n Unit: Send,",1,["kludgine::Origin"]],["impl Send for SharedTexture",1,["kludgine::SharedTexture"]],["impl Send for TextureRegion",1,["kludgine::TextureRegion"]],["impl Send for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent> Send for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Send for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Send for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Send for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Send for PreparedGraphic<Unit>where\n Unit: Send,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Send for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Send for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Shape"]],["impl<Unit> Send for PathEvent<Unit>where\n Unit: Send,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where\n Unit: Send,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Send for StrokeOptions<Unit>where\n Unit: Send,",1,["kludgine::shapes::StrokeOptions"]],["impl Send for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Send for TextOrigin<Unit>where\n Unit: Send,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Send for MeasuredText<Unit>where\n Unit: Send,",1,["kludgine::text::MeasuredText"]],["impl Send for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Send for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Send for Text<'a, Unit>where\n Unit: Send,",1,["kludgine::text::Text"]],["impl Send for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Send for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Send for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Send for ObjectLayer<O>where\n O: Send,",1,["kludgine::tilemap::ObjectLayer"]],["impl Send for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Send for ObjectInfo<O>where\n O: Send,",1,["kludgine::tilemap::ObjectInfo"]],["impl Send for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Send for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Send for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Send for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Send for ClipGuard<'clip, T>where\n T: Send,",1,["kludgine::ClipGuard"]],["impl Send for Color",1,["kludgine::Color"]],["impl Send for Texture",1,["kludgine::Texture"]],["impl<Unit> Send for Origin<Unit>where\n Unit: Send,",1,["kludgine::Origin"]],["impl Send for SharedTexture",1,["kludgine::SharedTexture"]],["impl Send for TextureRegion",1,["kludgine::TextureRegion"]],["impl Send for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Send for Drawable<T, Unit>where\n T: Send,\n Unit: Send,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.StructuralEq.js b/main/implementors/core/marker/trait.StructuralEq.js index 36d8694b2..7a5c74976 100644 --- a/main/implementors/core/marker/trait.StructuralEq.js +++ b/main/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl StructuralEq for TextureRegion"],["impl StructuralEq for ObjectId"],["impl<Unit> StructuralEq for TextOrigin<Unit>"],["impl StructuralEq for Color"],["impl<Unit> StructuralEq for Origin<Unit>"]] +"kludgine":[["impl StructuralEq for ObjectId"],["impl<Unit> StructuralEq for Origin<Unit>"],["impl StructuralEq for TextureRegion"],["impl StructuralEq for Color"],["impl<Unit> StructuralEq for TextOrigin<Unit>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.StructuralPartialEq.js b/main/implementors/core/marker/trait.StructuralPartialEq.js index d35f0c9e1..0e07b0629 100644 --- a/main/implementors/core/marker/trait.StructuralPartialEq.js +++ b/main/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl StructuralPartialEq for ObjectId"],["impl StructuralPartialEq for Color"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"],["impl<Unit> StructuralPartialEq for StrokeOptions<Unit>"],["impl<Unit> StructuralPartialEq for Origin<Unit>"],["impl StructuralPartialEq for TextureRegion"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"]] +"kludgine":[["impl StructuralPartialEq for ObjectId"],["impl<Unit> StructuralPartialEq for Origin<Unit>"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"],["impl StructuralPartialEq for Color"],["impl StructuralPartialEq for TextureRegion"],["impl<Unit> StructuralPartialEq for StrokeOptions<Unit>"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Sync.js b/main/implementors/core/marker/trait.Sync.js index ae074e932..1f0817524 100644 --- a/main/implementors/core/marker/trait.Sync.js +++ b/main/implementors/core/marker/trait.Sync.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !Sync for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Sync for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Sync for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Sync for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Sync for PreparedGraphic<Unit>where\n Unit: Sync,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Sync for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Shape"]],["impl<Unit> Sync for PathEvent<Unit>where\n Unit: Sync,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Sync for StrokeOptions<Unit>where\n Unit: Sync,",1,["kludgine::shapes::StrokeOptions"]],["impl Sync for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Sync for TextOrigin<Unit>where\n Unit: Sync,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Sync for MeasuredText<Unit>where\n Unit: Sync,",1,["kludgine::text::MeasuredText"]],["impl Sync for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Sync for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Sync for Text<'a, Unit>where\n Unit: Sync,",1,["kludgine::text::Text"]],["impl Sync for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Sync for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Sync for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Sync for ObjectLayer<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectLayer"]],["impl Sync for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Sync for ObjectInfo<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectInfo"]],["impl Sync for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Sync for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Sync for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Sync for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Sync for ClipGuard<'clip, T>where\n T: Sync,",1,["kludgine::ClipGuard"]],["impl Sync for Color",1,["kludgine::Color"]],["impl Sync for Texture",1,["kludgine::Texture"]],["impl<Unit> Sync for Origin<Unit>where\n Unit: Sync,",1,["kludgine::Origin"]],["impl Sync for SharedTexture",1,["kludgine::SharedTexture"]],["impl Sync for TextureRegion",1,["kludgine::TextureRegion"]],["impl Sync for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !Sync for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Sync for WindowHandle<Message>where\n Message: Send,",1,["kludgine::app::WindowHandle"]],["impl Sync for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Sync for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Sync for PreparedGraphic<Unit>where\n Unit: Sync,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Sync for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Shape"]],["impl<Unit> Sync for PathEvent<Unit>where\n Unit: Sync,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where\n Unit: Sync,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Sync for StrokeOptions<Unit>where\n Unit: Sync,",1,["kludgine::shapes::StrokeOptions"]],["impl Sync for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Sync for TextOrigin<Unit>where\n Unit: Sync,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Sync for MeasuredText<Unit>where\n Unit: Sync,",1,["kludgine::text::MeasuredText"]],["impl Sync for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Sync for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Sync for Text<'a, Unit>where\n Unit: Sync,",1,["kludgine::text::Text"]],["impl Sync for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Sync for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Sync for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Sync for ObjectLayer<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectLayer"]],["impl Sync for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Sync for ObjectInfo<O>where\n O: Sync,",1,["kludgine::tilemap::ObjectInfo"]],["impl Sync for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Sync for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Sync for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Sync for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Sync for ClipGuard<'clip, T>where\n T: Sync,",1,["kludgine::ClipGuard"]],["impl Sync for Color",1,["kludgine::Color"]],["impl Sync for Texture",1,["kludgine::Texture"]],["impl<Unit> Sync for Origin<Unit>where\n Unit: Sync,",1,["kludgine::Origin"]],["impl Sync for SharedTexture",1,["kludgine::SharedTexture"]],["impl Sync for TextureRegion",1,["kludgine::TextureRegion"]],["impl Sync for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Sync for Drawable<T, Unit>where\n T: Sync,\n Unit: Sync,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/marker/trait.Unpin.js b/main/implementors/core/marker/trait.Unpin.js index 662c19412..e58f1521d 100644 --- a/main/implementors/core/marker/trait.Unpin.js +++ b/main/implementors/core/marker/trait.Unpin.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent> Unpin for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Unpin for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Unpin for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Unpin for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Unpin for PreparedGraphic<Unit>where\n Unit: Unpin,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Unpin for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Shape"]],["impl<Unit> Unpin for PathEvent<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Unpin for StrokeOptions<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::StrokeOptions"]],["impl Unpin for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Unpin for TextOrigin<Unit>where\n Unit: Unpin,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Unpin for MeasuredText<Unit>where\n Unit: Unpin,",1,["kludgine::text::MeasuredText"]],["impl Unpin for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Unpin for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Unpin for Text<'a, Unit>where\n Unit: Unpin,",1,["kludgine::text::Text"]],["impl Unpin for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Unpin for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Unpin for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Unpin for ObjectLayer<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectLayer"]],["impl Unpin for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Unpin for ObjectInfo<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectInfo"]],["impl Unpin for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Unpin for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Unpin for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Unpin for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Unpin for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Unpin for Color",1,["kludgine::Color"]],["impl Unpin for Texture",1,["kludgine::Texture"]],["impl<Unit> Unpin for Origin<Unit>where\n Unit: Unpin,",1,["kludgine::Origin"]],["impl Unpin for SharedTexture",1,["kludgine::SharedTexture"]],["impl Unpin for TextureRegion",1,["kludgine::TextureRegion"]],["impl Unpin for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent> Unpin for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> Unpin for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl Unpin for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl Unpin for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> Unpin for PreparedGraphic<Unit>where\n Unit: Unpin,",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl Unpin for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Shape"]],["impl<Unit> Unpin for PathEvent<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where\n Unit: Unpin,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> Unpin for StrokeOptions<Unit>where\n Unit: Unpin,",1,["kludgine::shapes::StrokeOptions"]],["impl Unpin for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> Unpin for TextOrigin<Unit>where\n Unit: Unpin,",1,["kludgine::text::TextOrigin"]],["impl<Unit> Unpin for MeasuredText<Unit>where\n Unit: Unpin,",1,["kludgine::text::MeasuredText"]],["impl Unpin for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl Unpin for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> Unpin for Text<'a, Unit>where\n Unit: Unpin,",1,["kludgine::text::Text"]],["impl Unpin for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl Unpin for Tiles",1,["kludgine::tilemap::Tiles"]],["impl Unpin for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> Unpin for ObjectLayer<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectLayer"]],["impl Unpin for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> Unpin for ObjectInfo<O>where\n O: Unpin,",1,["kludgine::tilemap::ObjectInfo"]],["impl Unpin for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl Unpin for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> Unpin for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> Unpin for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> Unpin for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl Unpin for Color",1,["kludgine::Color"]],["impl Unpin for Texture",1,["kludgine::Texture"]],["impl<Unit> Unpin for Origin<Unit>where\n Unit: Unpin,",1,["kludgine::Origin"]],["impl Unpin for SharedTexture",1,["kludgine::SharedTexture"]],["impl Unpin for TextureRegion",1,["kludgine::TextureRegion"]],["impl Unpin for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> Unpin for Drawable<T, Unit>where\n T: Unpin,\n Unit: Unpin,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index d740d7e20..4c47bab91 100644 --- a/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/main/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !RefUnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> RefUnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl RefUnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl RefUnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !RefUnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> RefUnwindSafe for PathEvent<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !RefUnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> RefUnwindSafe for TextOrigin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> RefUnwindSafe for MeasuredText<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl RefUnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl RefUnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::Text"]],["impl RefUnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl RefUnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !RefUnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> RefUnwindSafe for ObjectLayer<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl RefUnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> RefUnwindSafe for ObjectInfo<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl RefUnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !RefUnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !RefUnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !RefUnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where\n T: RefUnwindSafe,",1,["kludgine::ClipGuard"]],["impl RefUnwindSafe for Color",1,["kludgine::Color"]],["impl !RefUnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> RefUnwindSafe for Origin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::Origin"]],["impl !RefUnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !RefUnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !RefUnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !RefUnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> RefUnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl RefUnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl RefUnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !RefUnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !RefUnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> RefUnwindSafe for PathEvent<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !RefUnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> RefUnwindSafe for TextOrigin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> RefUnwindSafe for MeasuredText<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl RefUnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl RefUnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::Text"]],["impl RefUnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl RefUnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !RefUnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> RefUnwindSafe for ObjectLayer<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl RefUnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> RefUnwindSafe for ObjectInfo<O>where\n O: RefUnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl RefUnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !RefUnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !RefUnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !RefUnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where\n T: RefUnwindSafe,",1,["kludgine::ClipGuard"]],["impl RefUnwindSafe for Color",1,["kludgine::Color"]],["impl !RefUnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> RefUnwindSafe for Origin<Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::Origin"]],["impl !RefUnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !RefUnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !RefUnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where\n T: RefUnwindSafe,\n Unit: RefUnwindSafe,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 9b8a11ea4..4d152ec52 100644 --- a/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/main/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"kludgine":[["impl<'window, WindowEvent = ()> !UnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> UnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl UnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl UnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !UnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !UnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Shape<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> UnwindSafe for PathEvent<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Path<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> UnwindSafe for StrokeOptions<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !UnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> UnwindSafe for TextOrigin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> UnwindSafe for MeasuredText<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl UnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl UnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> UnwindSafe for Text<'a, Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::Text"]],["impl UnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl UnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !UnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> UnwindSafe for ObjectLayer<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl UnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> UnwindSafe for ObjectInfo<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl UnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !UnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !UnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !UnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl UnwindSafe for Color",1,["kludgine::Color"]],["impl !UnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> UnwindSafe for Origin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::Origin"]],["impl !UnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !UnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !UnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]]] +"kludgine":[["impl<'window, WindowEvent = ()> !UnwindSafe for Window<'window, WindowEvent>",1,["kludgine::app::Window"]],["impl<Message> UnwindSafe for WindowHandle<Message>",1,["kludgine::app::WindowHandle"]],["impl UnwindSafe for TextureCollection",1,["kludgine::atlas::TextureCollection"]],["impl UnwindSafe for CollectedTexture",1,["kludgine::atlas::CollectedTexture"]],["impl<Unit> !UnwindSafe for PreparedGraphic<Unit>",1,["kludgine::pipeline::PreparedGraphic"]],["impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>",1,["kludgine::render::Renderer"]],["impl !UnwindSafe for Drawing",1,["kludgine::render::Drawing"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Shape<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Shape"]],["impl<Unit> UnwindSafe for PathEvent<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::PathEvent"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for Path<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::Path"]],["impl<Unit, const TEXTURED: bool> UnwindSafe for PathBuilder<Unit, TEXTURED>where\n Unit: UnwindSafe + RefUnwindSafe,",1,["kludgine::shapes::PathBuilder"]],["impl<Unit> UnwindSafe for StrokeOptions<Unit>where\n Unit: UnwindSafe,",1,["kludgine::shapes::StrokeOptions"]],["impl !UnwindSafe for PreparedText",1,["kludgine::text::PreparedText"]],["impl<Unit> UnwindSafe for TextOrigin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::TextOrigin"]],["impl<Unit> UnwindSafe for MeasuredText<Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::MeasuredText"]],["impl UnwindSafe for MeasuredGlyph",1,["kludgine::text::MeasuredGlyph"]],["impl UnwindSafe for GlyphInfo",1,["kludgine::text::GlyphInfo"]],["impl<'a, Unit> UnwindSafe for Text<'a, Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::Text"]],["impl UnwindSafe for TileOffset",1,["kludgine::tilemap::TileOffset"]],["impl UnwindSafe for Tiles",1,["kludgine::tilemap::Tiles"]],["impl !UnwindSafe for TileKind",1,["kludgine::tilemap::TileKind"]],["impl<O> UnwindSafe for ObjectLayer<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectLayer"]],["impl UnwindSafe for ObjectId",1,["kludgine::tilemap::ObjectId"]],["impl<O> UnwindSafe for ObjectInfo<O>where\n O: UnwindSafe,",1,["kludgine::tilemap::ObjectInfo"]],["impl UnwindSafe for TileMapFocus",1,["kludgine::tilemap::TileMapFocus"]],["impl !UnwindSafe for Kludgine",1,["kludgine::Kludgine"]],["impl<'gfx> !UnwindSafe for Frame<'gfx>",1,["kludgine::Frame"]],["impl<'gfx> !UnwindSafe for Graphics<'gfx>",1,["kludgine::Graphics"]],["impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>",1,["kludgine::RenderingGraphics"]],["impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>",1,["kludgine::ClipGuard"]],["impl UnwindSafe for Color",1,["kludgine::Color"]],["impl !UnwindSafe for Texture",1,["kludgine::Texture"]],["impl<Unit> UnwindSafe for Origin<Unit>where\n Unit: UnwindSafe,",1,["kludgine::Origin"]],["impl !UnwindSafe for SharedTexture",1,["kludgine::SharedTexture"]],["impl !UnwindSafe for TextureRegion",1,["kludgine::TextureRegion"]],["impl !UnwindSafe for AnyTexture",1,["kludgine::AnyTexture"]],["impl<T, Unit> UnwindSafe for Drawable<T, Unit>where\n T: UnwindSafe,\n Unit: UnwindSafe,",1,["kludgine::Drawable"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/kludgine/trait.DrawableExt.js b/main/implementors/kludgine/trait.DrawableExt.js new file mode 100644 index 000000000..c842b1281 --- /dev/null +++ b/main/implementors/kludgine/trait.DrawableExt.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/implementors/kludgine/trait.DrawableSource.js b/main/implementors/kludgine/trait.DrawableSource.js new file mode 100644 index 000000000..c842b1281 --- /dev/null +++ b/main/implementors/kludgine/trait.DrawableSource.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/main/kludgine/all.html b/main/kludgine/all.html index 2f99566bb..4e9ef2f3d 100644 --- a/main/kludgine/all.html +++ b/main/kludgine/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/main/kludgine/enum.AnyTexture.html b/main/kludgine/enum.AnyTexture.html index f86b8e8cd..01b74d585 100644 --- a/main/kludgine/enum.AnyTexture.html +++ b/main/kludgine/enum.AnyTexture.html @@ -1,4 +1,4 @@ -AnyTexture in kludgine - Rust

Trait Implementations§

source§

impl Debug for AnyTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Texture> for AnyTexture

source§

fn from(texture: Texture) -> Self

Converts to this type from the input type.
source§

impl TextureSource for AnyTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for AnyTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Texture> for AnyTexture

source§

fn from(texture: Texture) -> Self

Converts to this type from the input type.
source§

impl TextureSource for AnyTexture

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<A> Cast for A

§

fn cast<To>(self) -> Towhere diff --git a/main/kludgine/enum.Origin.html b/main/kludgine/enum.Origin.html index 2fe606535..0233f2300 100644 --- a/main/kludgine/enum.Origin.html +++ b/main/kludgine/enum.Origin.html @@ -1,4 +1,4 @@ -Origin in kludgine - Rust

Enum kludgine::Origin

source ·
pub enum Origin<Unit> {
+Origin in kludgine - Rust

Enum kludgine::Origin

source ·
pub enum Origin<Unit> {
     TopLeft,
     Center,
     Custom(Point<Unit>),
@@ -12,9 +12,9 @@
 
§

Custom(Point<Unit>)

The graphic should be drawn so that the provided relative location appears at the rendered location. When rotating the graphic, it will rotate around this point.

-

Trait Implementations§

source§

impl<Unit: Clone> Clone for Origin<Unit>

source§

fn clone(&self) -> Origin<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for Origin<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>

source§

fn eq(&self, other: &Origin<Unit>) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl<Unit: Clone> Clone for Origin<Unit>

source§

fn clone(&self) -> Origin<Unit>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Unit: Debug> Debug for Origin<Unit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>

source§

fn eq(&self, other: &Origin<Unit>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<Unit: Copy> Copy for Origin<Unit>

source§

impl<Unit: Eq> Eq for Origin<Unit>

source§

impl<Unit> StructuralEq for Origin<Unit>

source§

impl<Unit> StructuralPartialEq for Origin<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for Origin<Unit>where +sufficient, and should not be overridden without very good reason.

source§

impl<Unit: Copy> Copy for Origin<Unit>

source§

impl<Unit: Eq> Eq for Origin<Unit>

source§

impl<Unit> StructuralEq for Origin<Unit>

source§

impl<Unit> StructuralPartialEq for Origin<Unit>

Auto Trait Implementations§

§

impl<Unit> RefUnwindSafe for Origin<Unit>where Unit: RefUnwindSafe,

§

impl<Unit> Send for Origin<Unit>where Unit: Send,

§

impl<Unit> Sync for Origin<Unit>where Unit: Sync,

§

impl<Unit> Unpin for Origin<Unit>where diff --git a/main/kludgine/index.html b/main/kludgine/index.html index a3f09029b..0486e497a 100644 --- a/main/kludgine/index.html +++ b/main/kludgine/index.html @@ -1,4 +1,4 @@ -kludgine - Rust

Crate kludgine

source ·
Expand description

Kludgine (Redux)

+kludgine - Rust

Crate kludgine

source ·
Expand description

Kludgine (Redux)

This branch is a rewrite of Kludgine. See the v0.5.0 tag for the currently released source.

Kludgine aims to be a lightweight, efficient 2d rendering framework powered by @@ -12,6 +12,6 @@ multi-window applications.

The API is still a work in progress. The examples folder contains many examples that highlight a specific feature.

-

Re-exports

  • pub use cosmic_text;
  • pub use figures;
  • pub use wgpu;

Modules

  • Application and Windowing Support.
  • An easy-to-use batching renderer.
  • Types for drawing paths and shapes.
  • Types for text rendering.

Structs

Re-exports

  • pub use cosmic_text;
  • pub use figures;
  • pub use wgpu;

Modules

  • Application and Windowing Support.
  • An easy-to-use batching renderer.
  • Types for drawing paths and shapes.
  • Types for text rendering.

Structs

Enums

Traits

\ No newline at end of file +Kludgine.

  • The origin of a prepared graphic.
  • Traits

    \ No newline at end of file diff --git a/main/kludgine/render/index.html b/main/kludgine/render/index.html index ca01e6567..27eb83b0b 100644 --- a/main/kludgine/render/index.html +++ b/main/kludgine/render/index.html @@ -1,4 +1,4 @@ -kludgine::render - Rust

    Module kludgine::render

    source ·
    Expand description

    An easy-to-use batching renderer.

    +kludgine::render - Rust

    Module kludgine::render

    source ·
    Expand description

    An easy-to-use batching renderer.

    Structs

    • A composite, multi-operation graphic, created with an easy-to-use Renderer-driven API.
    • An easy-to-use graphics renderer that batches operations on the GPU automatically.
    \ No newline at end of file diff --git a/main/kludgine/render/struct.Drawing.html b/main/kludgine/render/struct.Drawing.html index bf0c9d8dd..bdc63a8e4 100644 --- a/main/kludgine/render/struct.Drawing.html +++ b/main/kludgine/render/struct.Drawing.html @@ -1,4 +1,4 @@ -Drawing in kludgine::render - Rust

    Struct kludgine::render::Drawing

    source ·
    pub struct Drawing { /* private fields */ }
    Expand description

    A composite, multi-operation graphic, created with an easy-to-use +Drawing in kludgine::render - Rust

    Struct kludgine::render::Drawing

    source ·
    pub struct Drawing { /* private fields */ }
    Expand description

    A composite, multi-operation graphic, created with an easy-to-use Renderer-driven API.

    The process of preparing individual graphics and then rendering them allows for efficient rendering. The downside is that it can be harder to use, and @@ -7,14 +7,14 @@

    This type allows rendering a batch of drawing operations using a Renderer. Once the renderer is dropped, this type’s vertex buffer and index buffer are updated.

    -

    Implementations§

    source§

    impl Drawing

    source

    pub fn new_frame<'rendering, 'gfx>( +

    Implementations§

    source§

    impl Drawing

    source

    pub fn new_frame<'rendering, 'gfx>( &'rendering mut self, graphics: &'rendering mut Graphics<'gfx> ) -> Renderer<'rendering, 'gfx>

    Clears the currently prepared graphics and returns a new Renderer to prepare new graphics.

    Once the renderer is dropped, this type is ready to be rendered.

    -
    source

    pub fn render<'pass>(&'pass self, graphics: &mut RenderingGraphics<'_, 'pass>)

    Renders the prepared graphics from the last frame.

    -

    Trait Implementations§

    source§

    impl Debug for Drawing

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Drawing

    source§

    fn default() -> Drawing

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub fn render<'pass>(&'pass self, graphics: &mut RenderingGraphics<'_, 'pass>)

    Renders the prepared graphics from the last frame.

    +

    Trait Implementations§

    source§

    impl Debug for Drawing

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Drawing

    source§

    fn default() -> Drawing

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/render/struct.Renderer.html b/main/kludgine/render/struct.Renderer.html index 844647ec4..233b9d962 100644 --- a/main/kludgine/render/struct.Renderer.html +++ b/main/kludgine/render/struct.Renderer.html @@ -4,86 +4,70 @@ this type is dropped, the [Rendering] that created this renderer will be updated with the new drawing instructions. All of the pending operations can be drawn using [Rendering::render].

    -

    Implementations§

    source§

    impl<'gfx> Renderer<'_, 'gfx>

    source

    pub fn measure_text<'a, Unit>( +

    Implementations§

    source§

    impl<'gfx> Renderer<'_, 'gfx>

    source

    pub fn measure_text<'a, Unit>( &mut self, text: impl Into<Text<'a, Unit>> ) -> MeasuredText<Unit>where Unit: ScreenUnit,

    Measures text using the current text settings.

    default_color does not affect the

    -
    source

    pub fn draw_text<'a, Unit>( +

    source

    pub fn draw_text<'a, Unit, Source>(&mut self, text: Source)where + Unit: ScreenUnit, + Source: Into<Drawable<Text<'a, Unit>, Unit>>,

    Draws text using the current text settings.

    +
    source

    pub fn draw_text_buffer<'a, Unit>( &mut self, - text: impl Into<Text<'a, Unit>>, - translate: Point<Unit>, - rotation: Option<Angle>, - scale: Option<f32> -)where - Unit: ScreenUnit,

    Draws text using the current text settings.

    -
    source

    pub fn draw_text_buffer<Unit>( - &mut self, - buffer: &Buffer, + buffer: impl Into<Drawable<&'a Buffer, Unit>>, default_color: Color, - origin: TextOrigin<Px>, - translate: Point<Unit>, - rotation: Option<Angle>, - scale: Option<f32> + origin: TextOrigin<Px> )where Unit: ScreenUnit,

    Prepares the text layout contained in buffer to be rendered.

    When the text in buffer has no color defined, default_color will be used.

    origin allows controlling how the text will be drawn relative to the coordinate provided in render().

    -
    source

    pub fn measure_text_buffer<Unit>( +

    source

    pub fn measure_text_buffer<Unit>( &mut self, buffer: &Buffer, default_color: Color ) -> MeasuredText<Unit>where Unit: ScreenUnit,

    Measures buffer and caches the results using default_color when the buffer has no color associated with text.

    -
    source

    pub fn draw_measured_text<Unit>( +

    source

    pub fn draw_measured_text<'a, Unit>( &mut self, - text: &MeasuredText<Unit>, - origin: TextOrigin<Unit>, - translate: Point<Unit>, - rotation: Option<Angle>, - scale: Option<f32> + text: impl Into<Drawable<&'a MeasuredText<Unit>, Unit>>, + origin: TextOrigin<Unit> )where Unit: ScreenUnit,

    Prepares the text layout contained in buffer to be rendered.

    When the text in buffer has no color defined, default_color will be used.

    origin allows controlling how the text will be drawn relative to the coordinate provided in render().

    -
    source§

    impl<'render, 'gfx> Renderer<'render, 'gfx>

    source

    pub fn draw_shape<Unit>( +

    source§

    impl<'render, 'gfx> Renderer<'render, 'gfx>

    source

    pub fn draw_shape<'shape, Unit>( &mut self, - shape: &Shape<Unit, false>, - origin: Point<Unit>, - rotation_rads: Option<Angle>, - scale: Option<f32> + shape: impl Into<Drawable<&'shape Shape<Unit, false>, Unit>> )where Unit: IsZero + ShaderScalable + Unit + Copy,

    Draws a shape at the origin, rotating and scaling as needed.

    -
    source

    pub fn draw_texture<Unit>( +

    source

    pub fn draw_texture<Unit>( &mut self, texture: &impl TextureSource, destination: Rect<Unit> )where Unit: Unit + ShaderScalable, i32: From<<Unit as IntoSigned>::Signed>,

    Draws texture at destination, scaling as necessary.

    -
    source

    pub fn draw_textured_shape<Unit>( +

    source

    pub fn draw_textured_shape<'shape, Unit, Shape>( &mut self, - shape: &impl ShapeSource<Unit, true>, - texture: &impl TextureSource, - origin: Point<Unit>, - rotation: Option<Angle>, - scale: Option<f32> + shape: impl Into<Drawable<&'shape Shape, Unit>>, + texture: &impl TextureSource )where Unit: IsZero + ShaderScalable + Unit + Copy, - i32: From<<Unit as IntoSigned>::Signed>,

    Draws a shape that was created with texture coordinates, applying the + i32: From<<Unit as IntoSigned>::Signed>, + Shape: ShapeSource<Unit, true> + 'shape,

    Draws a shape that was created with texture coordinates, applying the provided texture.

    -
    source

    pub fn vertex_count(&self) -> usize

    Returns the number of vertexes that compose the drawing commands.

    -
    source

    pub fn triangle_count(&self) -> usize

    Returns the number of triangles that are being rendered in the drawing +

    source

    pub fn vertex_count(&self) -> usize

    Returns the number of vertexes that compose the drawing commands.

    +
    source

    pub fn triangle_count(&self) -> usize

    Returns the number of triangles that are being rendered in the drawing commands.

    -
    source

    pub fn command_count(&self) -> usize

    Returns the number of drawing operations that will be sent to the GPU +

    source

    pub fn command_count(&self) -> usize

    Returns the number of drawing operations that will be sent to the GPU during render().

    -
    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +

    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped.

    This function causes the Renderer to act as if the origin of the context is clip.origin, and the size of the context is clip.size. @@ -101,14 +85,14 @@ used.

    origin allows controlling how the text will be drawn relative to the coordinate provided in render().

    -
    source

    pub fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    -
    source

    pub fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    -
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when +

    source

    pub fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    +
    source

    pub fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    +
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when rendering text.

    -
    source

    pub fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    +
    source

    pub fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size.

    -
    source

    pub fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    +
    source

    pub fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size with an origin of 0,0.

    Methods from Deref<Target = Kludgine>§

    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when @@ -128,17 +112,17 @@

    source

    pub fn text_attrs(&self) -> Attrs<'_>

    Returns the current text attributes.

    source

    pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

    Sets the current text attributes.

    source

    pub fn reset_text_attributes(&mut self)

    Resets all of the text related properties to their default settings.

    -
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    +
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

    -
    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    -
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    -
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is +

    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    +
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    +
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is rendering to.

    -

    Trait Implementations§

    source§

    impl Clipped for Renderer<'_, '_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset -and clipped to clip until it is dropped. Read more
    source§

    impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'gfx> Deref for Renderer<'_, 'gfx>

    §

    type Target = Graphics<'gfx>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'gfx> DerefMut for Renderer<'_, 'gfx>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Drop for Renderer<'_, '_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Send for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Clipped for Renderer<'_, '_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +and clipped to clip until it is dropped. Read more
    source§

    impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'gfx> Deref for Renderer<'_, 'gfx>

    §

    type Target = Graphics<'gfx>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'gfx> DerefMut for Renderer<'_, 'gfx>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Drop for Renderer<'_, '_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'render, 'gfx> !RefUnwindSafe for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Send for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Sync for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> Unpin for Renderer<'render, 'gfx>

    §

    impl<'render, 'gfx> !UnwindSafe for Renderer<'render, 'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    A cubic curve (two control points).

    §

    End

    Fields

    §close: bool

    Whether the path should be closed.

    Ends the path. Must be the last entry.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for PathEvent<Unit>

    source§

    fn clone(&self) -> PathEvent<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for PathEvent<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

    source§

    fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<Unit: Copy> Copy for PathEvent<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for PathEvent<Unit>where +

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for PathEvent<Unit>

    source§

    fn clone(&self) -> PathEvent<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for PathEvent<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

    source§

    fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<Unit: Copy> Copy for PathEvent<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for PathEvent<Unit>where Unit: RefUnwindSafe,

    §

    impl<Unit> Send for PathEvent<Unit>where Unit: Send,

    §

    impl<Unit> Sync for PathEvent<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for PathEvent<Unit>where diff --git a/main/kludgine/shapes/index.html b/main/kludgine/shapes/index.html index a1932ddf8..578f77fe7 100644 --- a/main/kludgine/shapes/index.html +++ b/main/kludgine/shapes/index.html @@ -1,2 +1,2 @@ -kludgine::shapes - Rust

    Module kludgine::shapes

    source ·
    Expand description

    Types for drawing paths and shapes.

    +kludgine::shapes - Rust

    Module kludgine::shapes

    source ·
    Expand description

    Types for drawing paths and shapes.

    Structs

    Enums

    Traits

    Type Aliases

    \ No newline at end of file diff --git a/main/kludgine/shapes/struct.Path.html b/main/kludgine/shapes/struct.Path.html index 7aa53474f..53a68d982 100644 --- a/main/kludgine/shapes/struct.Path.html +++ b/main/kludgine/shapes/struct.Path.html @@ -1,10 +1,10 @@ -Path in kludgine::shapes - Rust

    Struct kludgine::shapes::Path

    source ·
    pub struct Path<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    A geometric shape defined by a path.

    -

    Implementations§

    source§

    impl<Unit, const TEXTURED: bool> Path<Unit, TEXTURED>where - Unit: FloatConversion<Float = f32> + Copy,

    source

    pub fn fill(&self, color: Color) -> Shape<Unit, TEXTURED>

    Fills this path with color.

    +Path in kludgine::shapes - Rust

    Struct kludgine::shapes::Path

    source ·
    pub struct Path<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    A geometric shape defined by a path.

    +

    Implementations§

    source§

    impl<Unit, const TEXTURED: bool> Path<Unit, TEXTURED>where + Unit: FloatConversion<Float = f32> + Copy,

    source

    pub fn fill(&self, color: Color) -> Shape<Unit, TEXTURED>

    Fills this path with color.

    If this is a textured image, the sampled texture colors will be multiplied with this color. To render the image unchanged, use Color::WHITE.

    -
    source

    pub fn stroke( +

    source

    pub fn stroke( &self, color: Color, options: StrokeOptions<Unit> @@ -12,8 +12,8 @@

    If this is a textured image, the sampled texture colors will be multiplied with this color. To render the image unchanged, use Color::WHITE.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>

    source§

    fn clone(&self) -> Path<Unit, TEXTURED>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>

    source§

    fn default() -> Path<Unit, TEXTURED>

    Returns the “default value” for a type. Read more
    source§

    impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where - Unit: Default,

    source§

    fn from(path: Path<Unit, TEXTURED>) -> Self

    Converts to this type from the input type.
    source§

    impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

    source§

    fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

    Creates a value from an iterator. Read more

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where +

    Trait Implementations§

    source§

    impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>

    source§

    fn clone(&self) -> Path<Unit, TEXTURED>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>

    source§

    fn default() -> Path<Unit, TEXTURED>

    Returns the “default value” for a type. Read more
    source§

    impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where + Unit: Default,

    source§

    fn from(path: Path<Unit, TEXTURED>) -> Self

    Converts to this type from the input type.
    source§

    impl<Unit, const TEXTURED: bool> FromIterator<PathEvent<Unit>> for Path<Unit, TEXTURED>

    source§

    fn from_iter<T: IntoIterator<Item = PathEvent<Unit>>>(iter: T) -> Self

    Creates a value from an iterator. Read more

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for Path<Unit, TEXTURED>where Unit: RefUnwindSafe,

    §

    impl<Unit, const TEXTURED: bool> Send for Path<Unit, TEXTURED>where Unit: Send,

    §

    impl<Unit, const TEXTURED: bool> Sync for Path<Unit, TEXTURED>where Unit: Sync,

    §

    impl<Unit, const TEXTURED: bool> Unpin for Path<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.PathBuilder.html b/main/kludgine/shapes/struct.PathBuilder.html index a3b0e0c27..2c7bc72b1 100644 --- a/main/kludgine/shapes/struct.PathBuilder.html +++ b/main/kludgine/shapes/struct.PathBuilder.html @@ -1,39 +1,39 @@ -PathBuilder in kludgine::shapes - Rust
    pub struct PathBuilder<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    Builds a Path.

    -

    Implementations§

    source§

    impl<Unit> PathBuilder<Unit, false>where - Unit: Copy,

    source

    pub fn new(start_at: Endpoint<Unit>) -> Self

    Creates a new path with the initial position start_at.

    -
    source

    pub fn reset(&mut self, start_at: Endpoint<Unit>)

    Clears this builder to a state as if it had just been created with +PathBuilder in kludgine::shapes - Rust

    pub struct PathBuilder<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    Builds a Path.

    +

    Implementations§

    source§

    impl<Unit> PathBuilder<Unit, false>where + Unit: Copy,

    source

    pub fn new(start_at: Endpoint<Unit>) -> Self

    Creates a new path with the initial position start_at.

    +
    source

    pub fn reset(&mut self, start_at: Endpoint<Unit>)

    Clears this builder to a state as if it had just been created with new().

    -
    source

    pub fn build(self) -> Path<Unit, false>

    Returns the built path.

    -
    source

    pub fn line_to(self, end_at: Endpoint<Unit>) -> Self

    Create a straight line from the current location to end_at.

    -
    source

    pub fn quadratic_curve_to( +

    source

    pub fn build(self) -> Path<Unit, false>

    Returns the built path.

    +
    source

    pub fn line_to(self, end_at: Endpoint<Unit>) -> Self

    Create a straight line from the current location to end_at.

    +
    source

    pub fn quadratic_curve_to( self, control: ControlPoint<Unit>, end_at: Endpoint<Unit> ) -> Self

    Create a quadratic curve from the current location to end_at using control as the curve’s control point.

    -
    source

    pub fn cubic_curve_to( +

    source

    pub fn cubic_curve_to( self, control1: ControlPoint<Unit>, control2: ControlPoint<Unit>, end_at: Endpoint<Unit> ) -> Self

    Create a cubic curve from the current location to end_at using control1 and control2 as the curve’s control points.

    -
    source

    pub fn close(self) -> Path<Unit, false>

    Closes the path, connecting the current location to the shape’s starting +

    source

    pub fn close(self) -> Path<Unit, false>

    Closes the path, connecting the current location to the shape’s starting location.

    -
    source§

    impl<Unit> PathBuilder<Unit, true>where - Unit: Copy,

    source

    pub fn new_textured(start_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

    Creates a new path with the initial position start_at.

    -
    source

    pub fn reset(&mut self, start_at: Endpoint<Unit>, texture: Point<UPx>)

    Clears this builder to a state as if it had just been created with +

    source§

    impl<Unit> PathBuilder<Unit, true>where + Unit: Copy,

    source

    pub fn new_textured(start_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

    Creates a new path with the initial position start_at.

    +
    source

    pub fn reset(&mut self, start_at: Endpoint<Unit>, texture: Point<UPx>)

    Clears this builder to a state as if it had just been created with new_textured().

    -
    source

    pub fn build(self) -> Path<Unit, true>

    Returns the built path.

    -
    source

    pub fn line_to(self, end_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

    Create a straight line from the current location to end_at.

    -
    source

    pub fn quadratic_curve_to( +

    source

    pub fn build(self) -> Path<Unit, true>

    Returns the built path.

    +
    source

    pub fn line_to(self, end_at: Endpoint<Unit>, texture: Point<UPx>) -> Self

    Create a straight line from the current location to end_at.

    +
    source

    pub fn quadratic_curve_to( self, control: ControlPoint<Unit>, end_at: Endpoint<Unit>, texture: Point<UPx> ) -> Self

    Create a quadratic curve from the current location to end_at using control as the curve’s control point.

    -
    source

    pub fn cubic_curve_to( +

    source

    pub fn cubic_curve_to( self, control1: ControlPoint<Unit>, control2: ControlPoint<Unit>, @@ -41,10 +41,10 @@ texture: Point<UPx> ) -> Self

    Create a cubic curve from the current location to end_at using control1 and control2 as the curve’s control points.

    -
    source

    pub fn close(self) -> Path<Unit, true>

    Closes the path, connecting the current location to the shape’s starting +

    source

    pub fn close(self) -> Path<Unit, true>

    Closes the path, connecting the current location to the shape’s starting location.

    -

    Trait Implementations§

    source§

    impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where - Unit: Default,

    source§

    fn from(path: Path<Unit, TEXTURED>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where +

    Trait Implementations§

    source§

    impl<Unit, const TEXTURED: bool> From<Path<Unit, TEXTURED>> for PathBuilder<Unit, TEXTURED>where + Unit: Default,

    source§

    fn from(path: Path<Unit, TEXTURED>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for PathBuilder<Unit, TEXTURED>where Unit: RefUnwindSafe,

    §

    impl<Unit, const TEXTURED: bool> Send for PathBuilder<Unit, TEXTURED>where Unit: Send,

    §

    impl<Unit, const TEXTURED: bool> Sync for PathBuilder<Unit, TEXTURED>where Unit: Sync,

    §

    impl<Unit, const TEXTURED: bool> Unpin for PathBuilder<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.Shape.html b/main/kludgine/shapes/struct.Shape.html index 649dd8e80..a1e7295cc 100644 --- a/main/kludgine/shapes/struct.Shape.html +++ b/main/kludgine/shapes/struct.Shape.html @@ -1,36 +1,37 @@ -Shape in kludgine::shapes - Rust

    Struct kludgine::shapes::Shape

    source ·
    pub struct Shape<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    A tesselated shape.

    +Shape in kludgine::shapes - Rust

    Struct kludgine::shapes::Shape

    source ·
    pub struct Shape<Unit, const TEXTURED: bool> { /* private fields */ }
    Expand description

    A tesselated shape.

    This structure contains geometry that has been divided into triangles, ready to upload to the GPU. To render the shape, it must first be prepared.

    -

    Implementations§

    source§

    impl<Unit> Shape<Unit, false>

    Implementations§

    source§

    impl<Unit> Shape<Unit, false>

    source

    pub fn filled_circle( radius: Unit, color: Color, origin: Origin<Unit> ) -> Shape<Unit, false>where Unit: Default + Neg<Output = Unit> + Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

    Returns a circle that is filled solid with color.

    -
    source

    pub fn filled_rect(rect: Rect<Unit>, color: Color) -> Shape<Unit, false>where +

    source

    pub fn filled_rect(rect: Rect<Unit>, color: Color) -> Shape<Unit, false>where Unit: Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

    Returns a rectangle that is filled solid with color.

    -
    source

    pub fn stroked_rect( +

    source

    pub fn stroked_rect( rect: Rect<Unit>, color: Color, options: StrokeOptions<Unit> ) -> Shape<Unit, false>where Unit: Add<Output = Unit> + Ord + FloatConversion<Float = f32> + Copy,

    Returns a rectangle that has its outline stroked with color and options.

    -
    source

    pub fn prepare(&self, graphics: &Graphics<'_>) -> PreparedGraphic<Unit>where +

    source

    pub fn prepare(&self, graphics: &Graphics<'_>) -> PreparedGraphic<Unit>where Unit: Copy, Vertex<Unit>: Pod,

    Uploads the shape to the GPU.

    -

    source§

    impl<Unit> Shape<Unit, true>

    source

    pub fn prepare( +

    source§

    impl<Unit> Shape<Unit, true>

    source

    pub fn prepare( &self, texture: &impl TextureSource, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Copy, Vertex<Unit>: Pod,

    Uploads the shape to the GPU, applying texture to the polygons.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>

    source§

    fn clone(&self) -> Shape<Unit, TEXTURED>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>

    source§

    fn eq(&self, other: &Shape<Unit, TEXTURED>) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>

    source§

    fn clone(&self) -> Shape<Unit, TEXTURED>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>

    source§

    fn eq(&self, other: &Shape<Unit, TEXTURED>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where - Unit: Copy,

    source§

    impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where +sufficient, and should not be overridden without very good reason.

    source§

    impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where + Unit: Copy,

    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where + Unit: Copy,

    source§

    impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>

    Auto Trait Implementations§

    §

    impl<Unit, const TEXTURED: bool> RefUnwindSafe for Shape<Unit, TEXTURED>where Unit: RefUnwindSafe,

    §

    impl<Unit, const TEXTURED: bool> Send for Shape<Unit, TEXTURED>where Unit: Send,

    §

    impl<Unit, const TEXTURED: bool> Sync for Shape<Unit, TEXTURED>where Unit: Sync,

    §

    impl<Unit, const TEXTURED: bool> Unpin for Shape<Unit, TEXTURED>where diff --git a/main/kludgine/shapes/struct.StrokeOptions.html b/main/kludgine/shapes/struct.StrokeOptions.html index c0116e4a3..da256525e 100644 --- a/main/kludgine/shapes/struct.StrokeOptions.html +++ b/main/kludgine/shapes/struct.StrokeOptions.html @@ -1,4 +1,4 @@ -StrokeOptions in kludgine::shapes - Rust
    pub struct StrokeOptions<Unit> {
    +StrokeOptions in kludgine::shapes - Rust
    pub struct StrokeOptions<Unit> {
         pub line_width: Unit,
         pub line_join: LineJoin,
         pub start_cap: LineCap,
    @@ -19,17 +19,17 @@
     
    §tolerance: f32

    Maximum allowed distance to the path when building an approximation.

    See Flattening and tolerance. Default value: StrokeOptions::DEFAULT_TOLERANCE.

    -

    Implementations§

    source§

    impl StrokeOptions<Px>

    source

    pub fn px_wide(px: impl Into<Px>) -> Self

    Returns the default options with a line width of px.

    -
    source§

    impl StrokeOptions<Lp>

    source

    pub fn lp_wide(lp: impl Into<Lp>) -> Self

    Returns the default options with a line width of lp.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for StrokeOptions<Unit>

    source§

    fn clone(&self) -> StrokeOptions<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for StrokeOptions<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> Default for StrokeOptions<Unit>where - Unit: DefaultStrokeWidth,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere - Unit: FloatConversion<Float = f32>,

    source§

    fn from(options: StrokeOptions<Unit>) -> Self

    Converts to this type from the input type.
    source§

    impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>

    source§

    fn eq(&self, other: &StrokeOptions<Unit>) -> bool

    This method tests for self and other values to be equal, and is used +

    Implementations§

    source§

    impl StrokeOptions<Px>

    source

    pub fn px_wide(px: impl Into<Px>) -> Self

    Returns the default options with a line width of px.

    +
    source§

    impl StrokeOptions<Lp>

    source

    pub fn lp_wide(lp: impl Into<Lp>) -> Self

    Returns the default options with a line width of lp.

    +

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for StrokeOptions<Unit>

    source§

    fn clone(&self) -> StrokeOptions<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for StrokeOptions<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> Default for StrokeOptions<Unit>where + Unit: DefaultStrokeWidth,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<Unit> From<StrokeOptions<Unit>> for StrokeOptionswhere + Unit: FloatConversion<Float = f32>,

    source§

    fn from(options: StrokeOptions<Unit>) -> Self

    Converts to this type from the input type.
    source§

    impl<Unit: PartialEq> PartialEq<StrokeOptions<Unit>> for StrokeOptions<Unit>

    source§

    fn eq(&self, other: &StrokeOptions<Unit>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<Unit> ScreenScale for StrokeOptions<Unit>where - Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

    §

    type Lp = StrokeOptions<Lp>

    This type when measuring with Lp.
    §

    type Px = StrokeOptions<Px>

    This type when measuring with Px.
    §

    type UPx = StrokeOptions<UPx>

    This type when measuring with UPx.
    source§

    fn into_px(self, scale: Fraction) -> Self::Px

    Converts this value from its current unit into device pixels (Px) -using the provided scale factor.
    source§

    fn from_px(px: Self::Px, scale: Fraction) -> Self

    Converts from pixels into this type, using the provided scale factor.
    source§

    fn into_lp(self, scale: Fraction) -> Self::Lp

    Converts this value from its current unit into device independent pixels -(Lp) using the provided scale factor.
    source§

    fn from_lp(lp: Self::Lp, scale: Fraction) -> Self

    Converts from Lp into this type, using the provided scale factor.
    source§

    fn into_upx(self, scale: Fraction) -> Self::UPx

    Converts this value from its current unit into device pixels -(UPx) using the provided scale factor.
    source§

    fn from_upx(upx: Self::UPx, scale: Fraction) -> Self

    Converts from unsigned pixels into this type, using the provided scale factor.
    source§

    impl<Unit: Copy> Copy for StrokeOptions<Unit>

    source§

    impl<Unit> StructuralPartialEq for StrokeOptions<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where +sufficient, and should not be overridden without very good reason.

    source§

    impl<Unit> ScreenScale for StrokeOptions<Unit>where + Unit: ScreenScale<Px = Px, Lp = Lp, UPx = UPx>,

    §

    type Lp = StrokeOptions<Lp>

    This type when measuring with Lp.
    §

    type Px = StrokeOptions<Px>

    This type when measuring with Px.
    §

    type UPx = StrokeOptions<UPx>

    This type when measuring with UPx.
    source§

    fn into_px(self, scale: Fraction) -> Self::Px

    Converts this value from its current unit into device pixels (Px) +using the provided scale factor.
    source§

    fn from_px(px: Self::Px, scale: Fraction) -> Self

    Converts from pixels into this type, using the provided scale factor.
    source§

    fn into_lp(self, scale: Fraction) -> Self::Lp

    Converts this value from its current unit into device independent pixels +(Lp) using the provided scale factor.
    source§

    fn from_lp(lp: Self::Lp, scale: Fraction) -> Self

    Converts from Lp into this type, using the provided scale factor.
    source§

    fn into_upx(self, scale: Fraction) -> Self::UPx

    Converts this value from its current unit into device pixels +(UPx) using the provided scale factor.
    source§

    fn from_upx(upx: Self::UPx, scale: Fraction) -> Self

    Converts from unsigned pixels into this type, using the provided scale factor.
    source§

    impl<Unit: Copy> Copy for StrokeOptions<Unit>

    source§

    impl<Unit> StructuralPartialEq for StrokeOptions<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for StrokeOptions<Unit>where Unit: RefUnwindSafe,

    §

    impl<Unit> Send for StrokeOptions<Unit>where Unit: Send,

    §

    impl<Unit> Sync for StrokeOptions<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for StrokeOptions<Unit>where diff --git a/main/kludgine/shapes/trait.DefaultStrokeWidth.html b/main/kludgine/shapes/trait.DefaultStrokeWidth.html index 1e716e488..440426b8c 100644 --- a/main/kludgine/shapes/trait.DefaultStrokeWidth.html +++ b/main/kludgine/shapes/trait.DefaultStrokeWidth.html @@ -1,7 +1,7 @@ -DefaultStrokeWidth in kludgine::shapes - Rust
    pub trait DefaultStrokeWidth {
    +DefaultStrokeWidth in kludgine::shapes - Rust
    pub trait DefaultStrokeWidth {
         // Required method
         fn default_stroke_width() -> Self;
     }
    Expand description

    Controls the default stroke width for a given unit.

    -

    Required Methods§

    source

    fn default_stroke_width() -> Self

    Returns the default width of a line stroked in this unit.

    -

    Implementations on Foreign Types§

    source§

    impl DefaultStrokeWidth for Px

    source§

    impl DefaultStrokeWidth for UPx

    source§

    impl DefaultStrokeWidth for Lp

    source§

    fn default_stroke_width() -> Self

    Returns [Self::points(1)].

    -

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn default_stroke_width() -> Self

    Returns the default width of a line stroked in this unit.

    +

    Implementations on Foreign Types§

    source§

    impl DefaultStrokeWidth for Lp

    source§

    fn default_stroke_width() -> Self

    Returns [Self::points(1)].

    +
    source§

    impl DefaultStrokeWidth for Px

    source§

    impl DefaultStrokeWidth for UPx

    Implementors§

    \ No newline at end of file diff --git a/main/kludgine/shapes/type.ControlPoint.html b/main/kludgine/shapes/type.ControlPoint.html index 725c99952..4ee610239 100644 --- a/main/kludgine/shapes/type.ControlPoint.html +++ b/main/kludgine/shapes/type.ControlPoint.html @@ -1,4 +1,4 @@ -ControlPoint in kludgine::shapes - Rust

    Type Alias kludgine::shapes::ControlPoint

    source ·
    pub type ControlPoint<Unit> = Point<Unit>;
    Expand description

    A control point used to create curves.

    +ControlPoint in kludgine::shapes - Rust

    Type Alias kludgine::shapes::ControlPoint

    source ·
    pub type ControlPoint<Unit> = Point<Unit>;
    Expand description

    A control point used to create curves.

    Aliased Type§

    struct ControlPoint<Unit> {
         pub x: Unit,
         pub y: Unit,
    diff --git a/main/kludgine/shapes/type.Endpoint.html b/main/kludgine/shapes/type.Endpoint.html
    index 7daa82042..aa7b32326 100644
    --- a/main/kludgine/shapes/type.Endpoint.html
    +++ b/main/kludgine/shapes/type.Endpoint.html
    @@ -1,4 +1,4 @@
    -Endpoint in kludgine::shapes - Rust

    Type Alias kludgine::shapes::Endpoint

    source ·
    pub type Endpoint<Unit> = Point<Unit>;
    Expand description

    A point on a Path.

    +Endpoint in kludgine::shapes - Rust

    Type Alias kludgine::shapes::Endpoint

    source ·
    pub type Endpoint<Unit> = Point<Unit>;
    Expand description

    A point on a Path.

    Aliased Type§

    struct Endpoint<Unit> {
         pub x: Unit,
         pub y: Unit,
    diff --git a/main/kludgine/sidebar-items.js b/main/kludgine/sidebar-items.js
    index 51020df6c..b6043acb4 100644
    --- a/main/kludgine/sidebar-items.js
    +++ b/main/kludgine/sidebar-items.js
    @@ -1 +1 @@
    -window.SIDEBAR_ITEMS = {"enum":["AnyTexture","Origin"],"mod":["app","render","shapes","text","tilemap"],"struct":["ClipGuard","CollectedTexture","Color","Frame","Graphics","Kludgine","PreparedGraphic","RenderingGraphics","SharedTexture","Texture","TextureCollection","TextureRegion"],"trait":["Clipped","ShaderScalable","ShapeSource","TextureSource"]};
    \ No newline at end of file
    +window.SIDEBAR_ITEMS = {"enum":["AnyTexture","Origin"],"mod":["app","render","shapes","text","tilemap"],"struct":["ClipGuard","CollectedTexture","Color","Drawable","Frame","Graphics","Kludgine","PreparedGraphic","RenderingGraphics","SharedTexture","Texture","TextureCollection","TextureRegion"],"trait":["Clipped","DrawableExt","DrawableSource","ShaderScalable","ShapeSource","TextureSource"]};
    \ No newline at end of file
    diff --git a/main/kludgine/struct.ClipGuard.html b/main/kludgine/struct.ClipGuard.html
    index 54e6d0492..303756329 100644
    --- a/main/kludgine/struct.ClipGuard.html
    +++ b/main/kludgine/struct.ClipGuard.html
    @@ -1,14 +1,14 @@
    -ClipGuard in kludgine - Rust

    Struct kludgine::ClipGuard

    source ·
    pub struct ClipGuard<'clip, T>where
    +ClipGuard in kludgine - Rust

    Struct kludgine::ClipGuard

    source ·
    pub struct ClipGuard<'clip, T>where
         T: Clipped,{ /* private fields */ }
    Expand description

    A clipped surface.

    When dropped, the clipped type will have its clip rect restored to the previously clipped rect. ClipGuards can be nested.

    This type implements Deref/DerefMut to provide access to the underyling clipped type.

    -

    Trait Implementations§

    source§

    impl<'clip, T> Debug for ClipGuard<'clip, T>where - T: Clipped + Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> Deref for ClipGuard<'_, T>where - T: Clipped,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T> DerefMut for ClipGuard<'_, T>where - T: Clipped,

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl<T> Drop for ClipGuard<'_, T>where - T: Clipped,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where +

    Trait Implementations§

    source§

    impl<'clip, T> Debug for ClipGuard<'clip, T>where + T: Clipped + Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> Deref for ClipGuard<'_, T>where + T: Clipped,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T> DerefMut for ClipGuard<'_, T>where + T: Clipped,

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl<T> Drop for ClipGuard<'_, T>where + T: Clipped,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'clip, T> RefUnwindSafe for ClipGuard<'clip, T>where T: RefUnwindSafe,

    §

    impl<'clip, T> Send for ClipGuard<'clip, T>where T: Send,

    §

    impl<'clip, T> Sync for ClipGuard<'clip, T>where T: Sync,

    §

    impl<'clip, T> Unpin for ClipGuard<'clip, T>

    §

    impl<'clip, T> !UnwindSafe for ClipGuard<'clip, T>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/main/kludgine/struct.Color.html b/main/kludgine/struct.Color.html index d0fb21d56..6ddb4d986 100644 --- a/main/kludgine/struct.Color.html +++ b/main/kludgine/struct.Color.html @@ -1,176 +1,176 @@ -Color in kludgine - Rust

    Struct kludgine::Color

    source ·
    #[repr(C)]
    pub struct Color(/* private fields */);
    Expand description

    A red, green, blue, and alpha color value stored in 32-bits.

    -

    Implementations§

    source§

    impl Color

    source

    pub const fn new(red: u8, green: u8, blue: u8, alpha: u8) -> Self

    Returns a new color with the provided components.

    -
    source

    pub fn new_f32(red: f32, green: f32, blue: f32, alpha: f32) -> Self

    Returns a new color by converting each component from its 0.0..=1.0 +Color in kludgine - Rust

    Struct kludgine::Color

    source ·
    #[repr(C)]
    pub struct Color(/* private fields */);
    Expand description

    A red, green, blue, and alpha color value stored in 32-bits.

    +

    Implementations§

    source§

    impl Color

    source

    pub const fn new(red: u8, green: u8, blue: u8, alpha: u8) -> Self

    Returns a new color with the provided components.

    +
    source

    pub fn new_f32(red: f32, green: f32, blue: f32, alpha: f32) -> Self

    Returns a new color by converting each component from its 0.0..=1.0 range into a 0..=255 range.

    -
    source

    pub const fn red(self) -> u8

    Returns the red component of this color, range 0-255.

    -
    source

    pub fn red_f32(self) -> f32

    Returns the red component of this color, range 0.0-1.0.

    -
    source

    pub const fn green(self) -> u8

    Returns the green component of this color, range 0-255.

    -
    source

    pub fn green_f32(self) -> f32

    Returns the green component of this color, range 0.0-1.0.

    -
    source

    pub const fn blue(self) -> u8

    Returns the blue component of this color, range 0-255.

    -
    source

    pub fn blue_f32(self) -> f32

    Returns the blue component of this color, range 0.0-1.0.

    -
    source

    pub const fn alpha(self) -> u8

    Returns the alpha component of this color, range 0-255. A value of 255 +

    source

    pub const fn red(self) -> u8

    Returns the red component of this color, range 0-255.

    +
    source

    pub fn red_f32(self) -> f32

    Returns the red component of this color, range 0.0-1.0.

    +
    source

    pub const fn green(self) -> u8

    Returns the green component of this color, range 0-255.

    +
    source

    pub fn green_f32(self) -> f32

    Returns the green component of this color, range 0.0-1.0.

    +
    source

    pub const fn blue(self) -> u8

    Returns the blue component of this color, range 0-255.

    +
    source

    pub fn blue_f32(self) -> f32

    Returns the blue component of this color, range 0.0-1.0.

    +
    source

    pub const fn alpha(self) -> u8

    Returns the alpha component of this color, range 0-255. A value of 255 is completely opaque.

    -
    source

    pub fn alpha_f32(self) -> f32

    Returns the alpha component of this color, range 0.0-1.0. A value of 1.0 +

    source

    pub fn alpha_f32(self) -> f32

    Returns the alpha component of this color, range 0.0-1.0. A value of 1.0 is completely opaque.

    -
    source

    pub const fn with_red(self, red: u8) -> Self

    Returns a new color replacing this colors red channel with red.

    -
    source

    pub const fn with_green(self, red: u8) -> Self

    Returns a new color replacing this colors green channel with green.

    -
    source

    pub const fn with_blue(self, blue: u8) -> Self

    Returns a new color replacing this colors blue channel with blue.

    -
    source

    pub const fn with_alpha(self, alpha: u8) -> Self

    Returns a new color replacing this colors alpha channel with alpha.

    -
    source§

    impl Color

    source

    pub const ALICEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ANTIQUEWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const AQUA: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const AQUAMARINE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const AZURE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BEIGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BISQUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BLACK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BLANCHEDALMOND: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BLUEVIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const BURLYWOOD: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CADETBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CHARTREUSE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CHOCOLATE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CLEAR_BLACK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CLEAR_WHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CORAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CORNFLOWERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CORNSILK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CRIMSON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const CYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKCYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKGOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKKHAKI: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKMAGENTA: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKOLIVEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKORANGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKSALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKSLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKSLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKSLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKTURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DARKVIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DEEPPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DEEPSKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DIMGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DIMGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const DODGERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const FIREBRICK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const FLORALWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const FORESTGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const FUCHSIA: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GAINSBORO: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GHOSTWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GOLD: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GREENYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const GREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const HONEYDEW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const HOTPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const INDIANRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const INDIGO: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const IVORY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const KHAKI: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LAVENDER: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LAVENDERBLUSH: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LAWNGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LEMONCHIFFON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTCORAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTCYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTGOLDENRODYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTSTEELBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIGHTYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIME: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LIMEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const LINEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MAGENTA: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MAROON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMAQUAMARINE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMPURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMSLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMSPRINGGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMTURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MEDIUMVIOLETRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MIDNIGHTBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MINTCREAM: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MISTYROSE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const MOCCASIN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const NAVAJOWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const NAVY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const OLDLACE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const OLIVE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const OLIVEDRAB: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ORANGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ORANGERED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PALEGOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PALEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PALETURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PALEVIOLETRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PAPAYAWHIP: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PEACHPUFF: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PERU: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PLUM: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const POWDERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const PURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const REBECCAPURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const RED: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ROSYBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const ROYALBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SADDLEBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SANDYBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SEASHELL: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SIENNA: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SILVER: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SNOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const SPRINGGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const STEELBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const TAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const TEAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const THISTLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const TOMATO: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const TURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const VIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const WHEAT: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const WHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const WHITESMOKE: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const YELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    -
    source

    pub const YELLOWGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    -

    Trait Implementations§

    source§

    impl Clone for Color

    source§

    fn clone(&self) -> Color

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Color

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Color> for Color

    source§

    fn from(color: Color) -> Self

    Converts to this type from the input type.
    source§

    impl From<Color> for Color

    source§

    fn from(value: Color) -> Self

    Converts to this type from the input type.
    source§

    impl From<Color> for Color

    source§

    fn from(value: Color) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Color

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    source

    pub const fn with_red(self, red: u8) -> Self

    Returns a new color replacing this colors red channel with red.

    +
    source

    pub const fn with_green(self, red: u8) -> Self

    Returns a new color replacing this colors green channel with green.

    +
    source

    pub const fn with_blue(self, blue: u8) -> Self

    Returns a new color replacing this colors blue channel with blue.

    +
    source

    pub const fn with_alpha(self, alpha: u8) -> Self

    Returns a new color replacing this colors alpha channel with alpha.

    +
    source§

    impl Color

    source

    pub const ALICEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ANTIQUEWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const AQUA: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const AQUAMARINE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const AZURE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BEIGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BISQUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BLACK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BLANCHEDALMOND: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BLUEVIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const BURLYWOOD: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CADETBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CHARTREUSE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CHOCOLATE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CLEAR_BLACK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CLEAR_WHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CORAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CORNFLOWERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CORNSILK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CRIMSON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const CYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKCYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKGOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKKHAKI: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKMAGENTA: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKOLIVEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKORANGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKSALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKSLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKSLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKSLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKTURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DARKVIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DEEPPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DEEPSKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DIMGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DIMGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const DODGERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const FIREBRICK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const FLORALWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const FORESTGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const FUCHSIA: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GAINSBORO: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GHOSTWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GOLD: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GREENYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const GREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const HONEYDEW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const HOTPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const INDIANRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const INDIGO: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const IVORY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const KHAKI: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LAVENDER: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LAVENDERBLUSH: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LAWNGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LEMONCHIFFON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTCORAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTCYAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTGOLDENRODYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTPINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTSTEELBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIGHTYELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIME: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LIMEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const LINEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MAGENTA: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MAROON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMAQUAMARINE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMPURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMSEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMSLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMSPRINGGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMTURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MEDIUMVIOLETRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MIDNIGHTBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MINTCREAM: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MISTYROSE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const MOCCASIN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const NAVAJOWHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const NAVY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const OLDLACE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const OLIVE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const OLIVEDRAB: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ORANGE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ORANGERED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ORCHID: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PALEGOLDENROD: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PALEGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PALETURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PALEVIOLETRED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PAPAYAWHIP: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PEACHPUFF: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PERU: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PINK: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PLUM: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const POWDERBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const PURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const REBECCAPURPLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const RED: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ROSYBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const ROYALBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SADDLEBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SALMON: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SANDYBROWN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SEAGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SEASHELL: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SIENNA: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SILVER: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SKYBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SLATEBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SLATEGRAY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SLATEGREY: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SNOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const SPRINGGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const STEELBLUE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const TAN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const TEAL: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const THISTLE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const TOMATO: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const TURQUOISE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const VIOLET: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const WHEAT: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const WHITE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const WHITESMOKE: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const YELLOW: Self = _

    Equivalent to the CSS color keywords of the same name.

    +
    source

    pub const YELLOWGREEN: Self = _

    Equivalent to the CSS color keywords of the same name.

    +

    Trait Implementations§

    source§

    impl Clone for Color

    source§

    fn clone(&self) -> Color

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Color

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Color> for Color

    source§

    fn from(color: Color) -> Self

    Converts to this type from the input type.
    source§

    impl From<Color> for Color

    source§

    fn from(value: Color) -> Self

    Converts to this type from the input type.
    source§

    impl From<Color> for Color

    source§

    fn from(value: Color) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Color

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<Color> for Color

    source§

    fn eq(&self, other: &Color) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<Color> for Color

    source§

    fn eq(&self, other: &Color) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Zeroable for Color

    §

    fn zeroed() -> Self

    source§

    impl Copy for Color

    source§

    impl Eq for Color

    source§

    impl Pod for Color

    source§

    impl StructuralEq for Color

    source§

    impl StructuralPartialEq for Color

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Color

    §

    impl Send for Color

    §

    impl Sync for Color

    §

    impl Unpin for Color

    §

    impl UnwindSafe for Color

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Zeroable for Color

    §

    fn zeroed() -> Self

    source§

    impl Copy for Color

    source§

    impl Eq for Color

    source§

    impl Pod for Color

    source§

    impl StructuralEq for Color

    source§

    impl StructuralPartialEq for Color

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Color

    §

    impl Send for Color

    §

    impl Sync for Color

    §

    impl Unpin for Color

    §

    impl UnwindSafe for Color

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Drawable.html b/main/kludgine/struct.Drawable.html new file mode 100644 index 000000000..d9660a679 --- /dev/null +++ b/main/kludgine/struct.Drawable.html @@ -0,0 +1,45 @@ +Drawable in kludgine - Rust

    Struct kludgine::Drawable

    source ·
    pub struct Drawable<T, Unit> {
    +    pub source: T,
    +    pub translation: Point<Unit>,
    +    pub rotation: Option<Angle>,
    +    pub scale: Option<f32>,
    +}
    Expand description

    A drawable source with optional translation, rotation, and scaling.

    +

    Fields§

    §source: T

    The source to draw.

    +
    §translation: Point<Unit>

    Translate the source before rendering.

    +
    §rotation: Option<Angle>

    Rotate the source before rendering.

    +
    §scale: Option<f32>

    Scale the source before rendering.

    +

    Trait Implementations§

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

    source§

    fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

    Translates self by point.
    source§

    fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

    Rotates self by angle.
    source§

    fn scale(self, factor: f32) -> Drawable<T, Unit>

    Scales self by factor.
    source§

    impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>where + T: DrawableSource, + Unit: Default,

    source§

    fn from(what: &'a T) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where + Unit: Default,

    source§

    fn from(what: Text<'a, Unit>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<T, Unit> RefUnwindSafe for Drawable<T, Unit>where + T: RefUnwindSafe, + Unit: RefUnwindSafe,

    §

    impl<T, Unit> Send for Drawable<T, Unit>where + T: Send, + Unit: Send,

    §

    impl<T, Unit> Sync for Drawable<T, Unit>where + T: Sync, + Unit: Sync,

    §

    impl<T, Unit> Unpin for Drawable<T, Unit>where + T: Unpin, + Unit: Unpin,

    §

    impl<T, Unit> UnwindSafe for Drawable<T, Unit>where + T: UnwindSafe, + Unit: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere + To: CastFrom<A>,

    Casts self to the To type. This may be a lossy operation.
    §

    impl<A> CastFrom<A> for A

    §

    fn from_cast(from: A) -> A

    Returns from as Self.
    §

    impl<A, B> CastInto<A> for Bwhere + A: CastFrom<B>,

    §

    fn cast_into(self) -> A

    Returns self as To.
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere + T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for Twhere + T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for Twhere + T: Send,

    §

    impl<T> WasmNotSync for Twhere + T: Sync,

    \ No newline at end of file diff --git a/main/kludgine/struct.Frame.html b/main/kludgine/struct.Frame.html index 99ac4ef13..e1b248971 100644 --- a/main/kludgine/struct.Frame.html +++ b/main/kludgine/struct.Frame.html @@ -1,9 +1,9 @@ -Frame in kludgine - Rust

    Struct kludgine::Frame

    source ·
    pub struct Frame<'gfx> { /* private fields */ }
    Expand description

    A frame that can be rendered.

    +Frame in kludgine - Rust

    Struct kludgine::Frame

    source ·
    pub struct Frame<'gfx> { /* private fields */ }
    Expand description

    A frame that can be rendered.

    Panics

    After Frame::render() has been invoked, this type will panic if dropped before either Frame::submit() or Frame::abort() are invoked. This panic is designed to prevent accidentally forgetting to submit a frame to the GPU.q

    -

    Implementations§

    source§

    impl Frame<'_>

    source

    pub fn prepare<'gfx>( +

    Implementations§

    source§

    impl Frame<'_>

    source

    pub fn prepare<'gfx>( &'gfx mut self, device: &'gfx Device, queue: &'gfx Queue @@ -18,7 +18,7 @@

    Panics

    The returned graphics provides access to the various types to update their representation on the GPU so that they can be rendered later.

    -
    source

    pub fn render<'gfx, 'pass>( +

    source

    pub fn render<'gfx, 'pass>( &'pass mut self, pass: &RenderPassDescriptor<'pass, '_>, device: &'gfx Device, @@ -30,7 +30,7 @@

    Panics

  • PreparedText
  • Drawing
  • -

    source

    pub fn render_into<'gfx, 'pass>( +

    source

    pub fn render_into<'gfx, 'pass>( &'pass mut self, texture: &'pass Texture, load_op: LoadOp<Color>, @@ -44,16 +44,16 @@

    Panics

  • PreparedText
  • Drawing
  • -
    source

    pub fn submit(self, queue: &Queue) -> Option<SubmissionIndex>

    Submits all of the commands for this frame to the GPU.

    +
    source

    pub fn submit(self, queue: &Queue) -> Option<SubmissionIndex>

    Submits all of the commands for this frame to the GPU.

    This function does not block for the operations to finish. The returned [wgpu::SubmissionIndex] can be used to block until completion if desired.

    -
    source

    pub fn abort(self)

    Aborts rendering this frame.

    +
    source

    pub fn abort(self)

    Aborts rendering this frame.

    If Frame::render() has been invoked, this function must be used instead of dropping the frame. This type implements a panic-on-drop to prevent forgetting to submit the frame to the GPU, and this function prevents the panic from happening.

    -

    Trait Implementations§

    source§

    impl Drop for Frame<'_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Frame<'gfx>

    §

    impl<'gfx> Send for Frame<'gfx>

    §

    impl<'gfx> Sync for Frame<'gfx>

    §

    impl<'gfx> Unpin for Frame<'gfx>

    §

    impl<'gfx> !UnwindSafe for Frame<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Drop for Frame<'_>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Frame<'gfx>

    §

    impl<'gfx> Send for Frame<'gfx>

    §

    impl<'gfx> Sync for Frame<'gfx>

    §

    impl<'gfx> Unpin for Frame<'gfx>

    §

    impl<'gfx> !UnwindSafe for Frame<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Graphics.html b/main/kludgine/struct.Graphics.html index 5cb57e77b..609c2e514 100644 --- a/main/kludgine/struct.Graphics.html +++ b/main/kludgine/struct.Graphics.html @@ -1,4 +1,4 @@ -Graphics in kludgine - Rust

    source§

    impl<'gfx> Graphics<'gfx>

    source

    pub fn new( kludgine: &'gfx mut Kludgine, device: &'gfx Device, queue: &'gfx Queue ) -> Self

    Returns a new instance.

    -
    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    -
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    -
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when +

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    +
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    +
    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when rendering text.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current clipped size of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size.

    -
    source

    pub const fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    +
    source

    pub const fn clip_rect(&self) -> Rect<UPx>

    Returns the current rectangular area of the context.

    If this context has not been clipped, the value returned will be equivalent to Kludgine::size with an origin of 0,0.

    Methods from Deref<Target = Kludgine>§

    source

    pub fn font_system(&mut self) -> &mut FontSystem

    Returns a mutable reference to the [cosmic_text::FontSystem] used when @@ -49,17 +49,17 @@

    source

    pub fn text_attrs(&self) -> Attrs<'_>

    Returns the current text attributes.

    source

    pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

    Sets the current text attributes.

    source

    pub fn reset_text_attributes(&mut self)

    Resets all of the text related properties to their default settings.

    -
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    +
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

    -
    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    -
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    -
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is +

    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    +
    source

    pub fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    +
    source

    pub fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is rendering to.

    -

    Trait Implementations§

    source§

    impl AsRef<Device> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Device

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<Queue> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Queue

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clipped for Graphics<'_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset -and clipped to clip until it is dropped. Read more
    source§

    impl<'gfx> Debug for Graphics<'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Graphics<'_>

    §

    type Target = Kludgine

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Graphics<'_>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Graphics<'gfx>

    §

    impl<'gfx> Send for Graphics<'gfx>

    §

    impl<'gfx> Sync for Graphics<'gfx>

    §

    impl<'gfx> Unpin for Graphics<'gfx>

    §

    impl<'gfx> !UnwindSafe for Graphics<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl AsRef<Device> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Device

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<Queue> for Graphics<'_>

    source§

    fn as_ref(&self) -> &Queue

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clipped for Graphics<'_>

    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +Clipped::push_clip(). Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +and clipped to clip until it is dropped. Read more
    source§

    impl<'gfx> Debug for Graphics<'gfx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Graphics<'_>

    §

    type Target = Kludgine

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Graphics<'_>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    §

    impl<'gfx> !RefUnwindSafe for Graphics<'gfx>

    §

    impl<'gfx> Send for Graphics<'gfx>

    §

    impl<'gfx> Sync for Graphics<'gfx>

    §

    impl<'gfx> Unpin for Graphics<'gfx>

    §

    impl<'gfx> !UnwindSafe for Graphics<'gfx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Kludgine.html b/main/kludgine/struct.Kludgine.html index 1bf5e6a67..11244d187 100644 --- a/main/kludgine/struct.Kludgine.html +++ b/main/kludgine/struct.Kludgine.html @@ -1,4 +1,4 @@ -Kludgine in kludgine - Rust

    Struct kludgine::Kludgine

    source ·
    pub struct Kludgine { /* private fields */ }
    Expand description

    A 2d graphics instance.

    +Kludgine in kludgine - Rust

    Struct kludgine::Kludgine

    source ·
    pub struct Kludgine { /* private fields */ }
    Expand description

    A 2d graphics instance.

    This type contains the GPU state for a single instance of Kludgine. To render graphics correctly, it must know the size and scale of the surface being rendered to. These values are provided in the constructor, but can be @@ -30,22 +30,22 @@

    source

    pub fn text_attrs(&self) -> Attrs<'_>

    Returns the current text attributes.

    source

    pub fn set_text_attributes(&mut self, attrs: Attrs<'_>)

    Sets the current text attributes.

    source

    pub fn reset_text_attributes(&mut self)

    Resets all of the text related properties to their default settings.

    -
    source§

    impl Kludgine

    source

    pub fn new( +

    source§

    impl Kludgine

    source

    pub fn new( device: &Device, queue: &Queue, format: TextureFormat, initial_size: Size<UPx>, scale: f32 ) -> Self

    Returns a new instance of Kludgine with the provided parameters.

    -
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    +
    source

    pub fn resize(&mut self, new_size: Size<UPx>, new_scale: f32, queue: &Queue)

    Updates the size and scale of this Kludgine instance.

    This function updates data stored in the GPU that affects how graphics are rendered. It should be called before calling next_frame() if the size or scale of the underlying surface has changed.

    -
    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    -
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is +

    source

    pub fn next_frame(&mut self) -> Frame<'_>

    Begins rendering a new frame.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the currently configured size to render.

    +
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor for the display this instance is rendering to.

    -

    Trait Implementations§

    source§

    impl Debug for Kludgine

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Debug for Kludgine

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.RenderingGraphics.html b/main/kludgine/struct.RenderingGraphics.html index 69345025e..e15e6b845 100644 --- a/main/kludgine/struct.RenderingGraphics.html +++ b/main/kludgine/struct.RenderingGraphics.html @@ -1,13 +1,13 @@ -RenderingGraphics in kludgine - Rust
    pub struct RenderingGraphics<'gfx, 'pass> { /* private fields */ }
    Expand description

    A graphics context used to render previously prepared graphics.

    +RenderingGraphics in kludgine - Rust
    pub struct RenderingGraphics<'gfx, 'pass> { /* private fields */ }
    Expand description

    A graphics context used to render previously prepared graphics.

    This type is used to render these types:

    -

    Implementations§

    source§

    impl<'gfx, 'pass> RenderingGraphics<'gfx, 'pass>

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    -
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    -
    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +

    Implementations§

    source§

    impl<'gfx, 'pass> RenderingGraphics<'gfx, 'pass>

    source

    pub const fn device(&self) -> &'gfx Device

    Returns a reference to the underlying [wgpu::Device].

    +
    source

    pub const fn queue(&self) -> &'gfx Queue

    Returns a reference to the underlying [wgpu::Queue].

    +
    source

    pub fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped.

    This function causes the RenderingGraphics to act as if the origin of the context is clip.origin, and the size of the context is @@ -15,12 +15,12 @@ the effective clip rect’s origin.

    clip is relative to the current clip rect and cannot extend the current clipping rectangle.

    -
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current size of the graphics area being rendered to.

    +
    source

    pub const fn size(&self) -> Size<UPx>

    Returns the current size of the graphics area being rendered to.

    If the graphics has been clipped, this returns the current width of the clipped area.

    -
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor of the display being rendered to.

    -

    Trait Implementations§

    source§

    impl Clipped for RenderingGraphics<'_, '_>

    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to -Clipped::push_clip(). Read more
    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +
    source

    pub const fn scale(&self) -> Fraction

    Returns the current scaling factor of the display being rendered to.

    +

    Trait Implementations§

    source§

    impl Clipped for RenderingGraphics<'_, '_>

    source§

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +Clipped::push_clip(). Read more
    source§

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack. Read more
    source§

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped. Read more

    Auto Trait Implementations§

    §

    impl<'gfx, 'pass> !RefUnwindSafe for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Send for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Sync for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> Unpin for RenderingGraphics<'gfx, 'pass>

    §

    impl<'gfx, 'pass> !UnwindSafe for RenderingGraphics<'gfx, 'pass>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/main/kludgine/struct.SharedTexture.html b/main/kludgine/struct.SharedTexture.html index ae45c8ccf..b1e44ae7e 100644 --- a/main/kludgine/struct.SharedTexture.html +++ b/main/kludgine/struct.SharedTexture.html @@ -1,7 +1,7 @@ -SharedTexture in kludgine - Rust

    Struct kludgine::SharedTexture

    source ·
    pub struct SharedTexture(/* private fields */);
    Expand description

    A cloneable texture.

    -

    Implementations§

    source§

    impl SharedTexture

    source

    pub fn region(&self, region: Rect<UPx>) -> TextureRegion

    Returns a reference to this texture that only renders a region of the +SharedTexture in kludgine - Rust

    Struct kludgine::SharedTexture

    source ·
    pub struct SharedTexture(/* private fields */);
    Expand description

    A cloneable texture.

    +

    Implementations§

    source§

    impl SharedTexture

    source

    pub fn region(&self, region: Rect<UPx>) -> TextureRegion

    Returns a reference to this texture that only renders a region of the texture when drawn.

    -

    Methods from Deref<Target = Texture>§

    source

    pub fn prepare_sized<Unit>( +

    Methods from Deref<Target = Texture>§

    source

    pub fn prepare_sized<Unit>( &self, origin: Origin<Unit>, size: Size<Unit>, @@ -11,14 +11,14 @@ i32: IntoComponents<Unit>, Vertex<Unit>: Pod,

    Prepares to render this texture with size. The returned graphic will be oriented around origin.

    -
    source

    pub fn prepare<Unit>( +

    source

    pub fn prepare<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares to render this texture at the given location.

    -
    source

    pub fn prepare_partial<Unit>( +

    source

    pub fn prepare_partial<Unit>( &self, source: Rect<UPx>, dest: Rect<Unit>, @@ -26,11 +26,11 @@ ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares the source area to be rendered at dest.

    -
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    -
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    -

    Trait Implementations§

    source§

    impl Clone for SharedTexture

    source§

    fn clone(&self) -> SharedTexture

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedTexture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SharedTexture

    §

    type Target = Texture

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SharedTexture> for SharedTexture

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    +
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    +

    Trait Implementations§

    source§

    impl Clone for SharedTexture

    source§

    fn clone(&self) -> SharedTexture

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedTexture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SharedTexture

    §

    type Target = Texture

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SharedTexture> for SharedTexture

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for SharedTexture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for SharedTexture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.Texture.html b/main/kludgine/struct.Texture.html index 7f8b5f1fd..ba6709b81 100644 --- a/main/kludgine/struct.Texture.html +++ b/main/kludgine/struct.Texture.html @@ -1,11 +1,11 @@ -Texture in kludgine - Rust

    Struct kludgine::Texture

    source ·
    pub struct Texture { /* private fields */ }
    Expand description

    An image stored on the GPU.

    -

    Implementations§

    source§

    impl Texture

    source

    pub fn new( +Texture in kludgine - Rust

    Struct kludgine::Texture

    source ·
    pub struct Texture { /* private fields */ }
    Expand description

    An image stored on the GPU.

    +

    Implementations§

    source§

    impl Texture

    source

    pub fn new( graphics: &Graphics<'_>, size: Size<UPx>, format: TextureFormat, usage: TextureUsages ) -> Self

    Creates a new texture of the given size, format, and usages.

    -
    source

    pub fn new_with_data( +

    source

    pub fn new_with_data( graphics: &Graphics<'_>, size: Size<UPx>, format: TextureFormat, @@ -13,8 +13,8 @@ data: &[u8] ) -> Self

    Returns a new texture of the given size, format, and usages. The texture is initialized with data. data must match format.

    -
    source

    pub fn from_image(image: &DynamicImage, graphics: &Graphics<'_>) -> Self

    Creates a texture from image.

    -
    source

    pub fn prepare_sized<Unit>( +

    source

    pub fn from_image(image: &DynamicImage, graphics: &Graphics<'_>) -> Self

    Creates a texture from image.

    +
    source

    pub fn prepare_sized<Unit>( &self, origin: Origin<Unit>, size: Size<Unit>, @@ -24,14 +24,14 @@ i32: IntoComponents<Unit>, Vertex<Unit>: Pod,

    Prepares to render this texture with size. The returned graphic will be oriented around origin.

    -
    source

    pub fn prepare<Unit>( +

    source

    pub fn prepare<Unit>( &self, dest: Rect<Unit>, graphics: &Graphics<'_> ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares to render this texture at the given location.

    -
    source

    pub fn prepare_partial<Unit>( +

    source

    pub fn prepare_partial<Unit>( &self, source: Rect<UPx>, dest: Rect<Unit>, @@ -39,9 +39,9 @@ ) -> PreparedGraphic<Unit>where Unit: Unit, Vertex<Unit>: Pod,

    Prepares the source area to be rendered at dest.

    -
    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    -
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    -

    Trait Implementations§

    source§

    impl Debug for Texture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Texture> for AnyTexture

    source§

    fn from(texture: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl TextureSource for Texture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub fn size(&self) -> Size<UPx>

    The size of the texture.

    +
    source

    pub fn format(&self) -> TextureFormat

    The format of the texture.

    +

    Trait Implementations§

    source§

    impl Debug for Texture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Texture> for AnyTexture

    source§

    fn from(texture: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl From<Texture> for SharedTexture

    source§

    fn from(value: Texture) -> Self

    Converts to this type from the input type.
    source§

    impl TextureSource for Texture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/struct.TextureRegion.html b/main/kludgine/struct.TextureRegion.html index a9b1f4d41..99dc22a02 100644 --- a/main/kludgine/struct.TextureRegion.html +++ b/main/kludgine/struct.TextureRegion.html @@ -1,9 +1,9 @@ -TextureRegion in kludgine - Rust

    Struct kludgine::TextureRegion

    source ·
    pub struct TextureRegion { /* private fields */ }
    Expand description

    A region of a SharedTexture.

    +TextureRegion in kludgine - Rust

    Struct kludgine::TextureRegion

    source ·
    pub struct TextureRegion { /* private fields */ }
    Expand description

    A region of a SharedTexture.

    When this type is drawn, only a region of the source texture will be drawn.

    -

    Implementations§

    source§

    impl TextureRegion

    source

    pub const fn size(&self) -> Size<UPx>

    Returns the size of the region being drawn.

    -

    Trait Implementations§

    source§

    impl Clone for TextureRegion

    source§

    fn clone(&self) -> TextureRegion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureRegion

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<TextureRegion> for TextureRegion

    source§

    fn eq(&self, other: &TextureRegion) -> bool

    This method tests for self and other values to be equal, and is used +

    Implementations§

    source§

    impl TextureRegion

    source

    pub const fn size(&self) -> Size<UPx>

    Returns the size of the region being drawn.

    +

    Trait Implementations§

    source§

    impl Clone for TextureRegion

    source§

    fn clone(&self) -> TextureRegion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureRegion

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<TextureRegion> for TextureRegion

    source§

    fn eq(&self, other: &TextureRegion) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for TextureRegion

    source§

    impl StructuralEq for TextureRegion

    source§

    impl StructuralPartialEq for TextureRegion

    source§

    impl TextureSource for TextureRegion

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for TextureRegion

    source§

    impl StructuralEq for TextureRegion

    source§

    impl StructuralPartialEq for TextureRegion

    source§

    impl TextureSource for TextureRegion

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/index.html b/main/kludgine/text/index.html index bf0f69612..d0d229bad 100644 --- a/main/kludgine/text/index.html +++ b/main/kludgine/text/index.html @@ -1,2 +1,2 @@ -kludgine::text - Rust

    Module kludgine::text

    source ·
    Expand description

    Types for text rendering.

    +kludgine::text - Rust

    Module kludgine::text

    source ·
    Expand description

    Types for text rendering.

    Structs

    Enums

    \ No newline at end of file diff --git a/main/kludgine/text/struct.GlyphInfo.html b/main/kludgine/text/struct.GlyphInfo.html index ec2793664..8f93f9c78 100644 --- a/main/kludgine/text/struct.GlyphInfo.html +++ b/main/kludgine/text/struct.GlyphInfo.html @@ -1,4 +1,4 @@ -GlyphInfo in kludgine::text - Rust

    Struct kludgine::text::GlyphInfo

    source ·
    pub struct GlyphInfo {
    +GlyphInfo in kludgine::text - Rust

    Struct kludgine::text::GlyphInfo

    source ·
    pub struct GlyphInfo {
         pub start: usize,
         pub end: usize,
         pub line: usize,
    @@ -14,7 +14,7 @@
     measuring whitespace at the end of a line.

    §level: Level

    Unicode BiDi embedding level, character is left-to-right if level is divisible by 2

    §metadata: usize

    Custom metadata set in [cosmic_text::Attrs].

    -

    Trait Implementations§

    source§

    impl Clone for GlyphInfo

    source§

    fn clone(&self) -> GlyphInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GlyphInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for GlyphInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Clone for GlyphInfo

    source§

    fn clone(&self) -> GlyphInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GlyphInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for GlyphInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/struct.MeasuredGlyph.html b/main/kludgine/text/struct.MeasuredGlyph.html index 69cc9c61b..c4027225b 100644 --- a/main/kludgine/text/struct.MeasuredGlyph.html +++ b/main/kludgine/text/struct.MeasuredGlyph.html @@ -1,10 +1,10 @@ -MeasuredGlyph in kludgine::text - Rust
    pub struct MeasuredGlyph {
    +MeasuredGlyph in kludgine::text - Rust
    pub struct MeasuredGlyph {
         pub info: GlyphInfo,
         /* private fields */
     }
    Expand description

    Instructions for drawing a laid out glyph.

    Fields§

    §info: GlyphInfo

    Information about what glyph this is.

    -

    Implementations§

    source§

    impl MeasuredGlyph

    source

    pub fn rect(&self) -> Rect<Px>

    Returns the destination rectangle for this glyph.

    -

    Trait Implementations§

    source§

    impl Clone for MeasuredGlyph

    source§

    fn clone(&self) -> MeasuredGlyph

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MeasuredGlyph

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Implementations§

    source§

    impl MeasuredGlyph

    source

    pub fn rect(&self) -> Rect<Px>

    Returns the destination rectangle for this glyph.

    +

    Trait Implementations§

    source§

    impl Clone for MeasuredGlyph

    source§

    fn clone(&self) -> MeasuredGlyph

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MeasuredGlyph

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/text/struct.MeasuredText.html b/main/kludgine/text/struct.MeasuredText.html index 268dd9cb7..9a9cf9e1d 100644 --- a/main/kludgine/text/struct.MeasuredText.html +++ b/main/kludgine/text/struct.MeasuredText.html @@ -1,4 +1,4 @@ -MeasuredText in kludgine::text - Rust

    Struct kludgine::text::MeasuredText

    source ·
    pub struct MeasuredText<Unit> {
    +MeasuredText in kludgine::text - Rust

    Struct kludgine::text::MeasuredText

    source ·
    pub struct MeasuredText<Unit> {
         pub ascent: Unit,
         pub descent: Unit,
         pub left: Unit,
    @@ -12,7 +12,7 @@
     
    §line_height: Unit

    The measurement above the baseline of the text.

    §size: Size<Unit>

    The total size of the measured text, encompassing all lines.

    §glyphs: Vec<MeasuredGlyph>

    The individual glyhs that were laid out.

    -

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for MeasuredText<Unit>

    source§

    fn clone(&self) -> MeasuredText<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for MeasuredText<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for MeasuredText<Unit>where +

    Trait Implementations§

    source§

    impl<Unit: Clone> Clone for MeasuredText<Unit>

    source§

    fn clone(&self) -> MeasuredText<Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Unit: Debug> Debug for MeasuredText<Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    Auto Trait Implementations§

    §

    impl<Unit> RefUnwindSafe for MeasuredText<Unit>where Unit: RefUnwindSafe,

    §

    impl<Unit> Send for MeasuredText<Unit>where Unit: Send,

    §

    impl<Unit> Sync for MeasuredText<Unit>where Unit: Sync,

    §

    impl<Unit> Unpin for MeasuredText<Unit>where diff --git a/main/kludgine/text/struct.Text.html b/main/kludgine/text/struct.Text.html index c0e8d61b8..be19f18f9 100644 --- a/main/kludgine/text/struct.Text.html +++ b/main/kludgine/text/struct.Text.html @@ -1,4 +1,4 @@ -Text in kludgine::text - Rust

    Struct kludgine::text::Text

    source ·
    #[non_exhaustive]
    pub struct Text<'a, Unit> { +Text in kludgine::text - Rust

    Struct kludgine::text::Text

    source ·
    #[non_exhaustive]
    pub struct Text<'a, Unit> { pub text: &'a str, pub color: Color, pub origin: TextOrigin<Unit>, @@ -8,10 +8,11 @@
    §color: Color

    The color to draw the text using.

    §origin: TextOrigin<Unit>

    The origin to draw the text around.

    §wrap_at: Option<Unit>

    The width to wrap the text at. If None, no wrapping is performed.

    -

    Implementations§

    source§

    impl<'a, Unit> Text<'a, Unit>

    source

    pub const fn new(text: &'a str, color: Color) -> Self

    Returns a text command that draws text with color.

    -
    source

    pub fn origin(self, origin: TextOrigin<Unit>) -> Self

    Sets the origin for the text drawing operation and returns self.

    -
    source

    pub fn wrap_at(self, width: Unit) -> Self

    Sets the width to wrap text at and returns self.

    -

    Trait Implementations§

    source§

    impl<'a, Unit: Clone> Clone for Text<'a, Unit>

    source§

    fn clone(&self) -> Text<'a, Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, Unit: Debug> Debug for Text<'a, Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Unit> From<&'a String> for Text<'a, Unit>

    source§

    fn from(value: &'a String) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<&'a str> for Text<'a, Unit>

    source§

    fn from(value: &'a str) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit: Copy> Copy for Text<'a, Unit>

    Auto Trait Implementations§

    §

    impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where +

    Implementations§

    source§

    impl<'a, Unit> Text<'a, Unit>

    source

    pub const fn new(text: &'a str, color: Color) -> Self

    Returns a text command that draws text with color.

    +
    source

    pub fn origin(self, origin: TextOrigin<Unit>) -> Self

    Sets the origin for the text drawing operation and returns self.

    +
    source

    pub fn wrap_at(self, width: Unit) -> Self

    Sets the width to wrap text at and returns self.

    +

    Trait Implementations§

    source§

    impl<'a, Unit: Clone> Clone for Text<'a, Unit>

    source§

    fn clone(&self) -> Text<'a, Unit>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, Unit: Debug> Debug for Text<'a, Unit>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Unit> From<&'a String> for Text<'a, Unit>

    source§

    fn from(value: &'a String) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<&'a str> for Text<'a, Unit>

    source§

    fn from(value: &'a str) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>where + Unit: Default,

    source§

    fn from(what: Text<'a, Unit>) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Unit: Copy> Copy for Text<'a, Unit>

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    Auto Trait Implementations§

    §

    impl<'a, Unit> RefUnwindSafe for Text<'a, Unit>where Unit: RefUnwindSafe,

    §

    impl<'a, Unit> Send for Text<'a, Unit>where Unit: Send,

    §

    impl<'a, Unit> Sync for Text<'a, Unit>where Unit: Sync,

    §

    impl<'a, Unit> Unpin for Text<'a, Unit>where @@ -28,7 +29,9 @@ generate &Any’s vtable from &Trait’s.

    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere + Drawable<T, Unit>: From<T>, + Unit: Default,

    source§

    fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit>

    Translates self by point.
    source§

    fn rotate_by(self, angle: Angle) -> Drawable<T, Unit>

    Rotates self by angle.
    source§

    fn scale(self, factor: f32) -> Drawable<T, Unit>

    Scales self by factor.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T, U> Into<U> for Twhere U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of diff --git a/main/kludgine/tilemap/enum.TileKind.html b/main/kludgine/tilemap/enum.TileKind.html index 3249aee26..3a5f37bf6 100644 --- a/main/kludgine/tilemap/enum.TileKind.html +++ b/main/kludgine/tilemap/enum.TileKind.html @@ -1,7 +1,7 @@ -TileKind in kludgine::tilemap - Rust

    pub enum TileKind {
    +TileKind in kludgine::tilemap - Rust
    pub enum TileKind {
         Texture(AnyTexture),
         Color(Color),
    -}

    Variants§

    §

    Texture(AnyTexture)

    §

    Color(Color)

    Trait Implementations§

    source§

    impl Debug for TileKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +}

    Variants§

    §

    Texture(AnyTexture)

    §

    Color(Color)

    Trait Implementations§

    source§

    impl Debug for TileKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/tilemap/enum.TileMapFocus.html b/main/kludgine/tilemap/enum.TileMapFocus.html index 828e42acf..c644f5c16 100644 --- a/main/kludgine/tilemap/enum.TileMapFocus.html +++ b/main/kludgine/tilemap/enum.TileMapFocus.html @@ -1,10 +1,10 @@ -TileMapFocus in kludgine::tilemap - Rust
    pub enum TileMapFocus {
    +TileMapFocus in kludgine::tilemap - Rust
    pub enum TileMapFocus {
         Point(Point<Px>),
         Object {
             layer: usize,
             id: ObjectId,
         },
    -}

    Variants§

    §

    Point(Point<Px>)

    §

    Object

    Fields

    §layer: usize

    Implementations§

    source§

    impl TileMapFocus

    source

    pub fn world_coordinate(self, layers: &impl Layers) -> Point<Px>

    Trait Implementations§

    source§

    impl Clone for TileMapFocus

    source§

    fn clone(&self) -> TileMapFocus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TileMapFocus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TileMapFocus

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Copy for TileMapFocus

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +}

    Variants§

    §

    Point(Point<Px>)

    §

    Object

    Fields

    §layer: usize

    Implementations§

    source§

    impl TileMapFocus

    source

    pub fn world_coordinate(self, layers: &impl Layers) -> Point<Px>

    Trait Implementations§

    source§

    impl Clone for TileMapFocus

    source§

    fn clone(&self) -> TileMapFocus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TileMapFocus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TileMapFocus

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Copy for TileMapFocus

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/tilemap/fn.draw.html b/main/kludgine/tilemap/fn.draw.html index e17d751c9..b47b828bc 100644 --- a/main/kludgine/tilemap/fn.draw.html +++ b/main/kludgine/tilemap/fn.draw.html @@ -1,4 +1,4 @@ -draw in kludgine::tilemap - Rust

    Function kludgine::tilemap::draw

    source ·
    pub fn draw(
    +draw in kludgine::tilemap - Rust

    Function kludgine::tilemap::draw

    source ·
    pub fn draw(
         layers: &impl Layers,
         focus: TileMapFocus,
         zoom: f32,
    diff --git a/main/kludgine/tilemap/index.html b/main/kludgine/tilemap/index.html
    index 85035aa68..b31644473 100644
    --- a/main/kludgine/tilemap/index.html
    +++ b/main/kludgine/tilemap/index.html
    @@ -1 +1 @@
    -kludgine::tilemap - Rust
    \ No newline at end of file +kludgine::tilemap - Rust
    \ No newline at end of file diff --git a/main/kludgine/tilemap/struct.ObjectId.html b/main/kludgine/tilemap/struct.ObjectId.html index 7aaf70fd4..0a9991745 100644 --- a/main/kludgine/tilemap/struct.ObjectId.html +++ b/main/kludgine/tilemap/struct.ObjectId.html @@ -1,13 +1,13 @@ -ObjectId in kludgine::tilemap - Rust

    Struct kludgine::tilemap::ObjectId

    source ·
    pub struct ObjectId(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for ObjectId

    source§

    fn clone(&self) -> ObjectId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ObjectId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +ObjectId in kludgine::tilemap - Rust

    Struct kludgine::tilemap::ObjectId

    source ·
    pub struct ObjectId(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for ObjectId

    source§

    fn clone(&self) -> ObjectId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ObjectId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl Ord for ObjectId

    source§

    fn cmp(&self, other: &ObjectId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl Ord for ObjectId

    source§

    fn cmp(&self, other: &ObjectId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<ObjectId> for ObjectId

    source§

    fn eq(&self, other: &ObjectId) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<ObjectId> for ObjectId

    source§

    fn eq(&self, other: &ObjectId) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<ObjectId> for ObjectId

    source§

    fn partial_cmp(&self, other: &ObjectId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<ObjectId> for ObjectId

    source§

    fn partial_cmp(&self, other: &ObjectId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Copy for ObjectId

    source§

    impl Eq for ObjectId

    source§

    impl StructuralEq for ObjectId

    source§

    impl StructuralPartialEq for ObjectId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +operator. Read more

    source§

    impl Copy for ObjectId

    source§

    impl Eq for ObjectId

    source§

    impl StructuralEq for ObjectId

    source§

    impl StructuralPartialEq for ObjectId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/tilemap/struct.ObjectInfo.html b/main/kludgine/tilemap/struct.ObjectInfo.html index 1db031f22..ee4931e5b 100644 --- a/main/kludgine/tilemap/struct.ObjectInfo.html +++ b/main/kludgine/tilemap/struct.ObjectInfo.html @@ -1,7 +1,7 @@ -ObjectInfo in kludgine::tilemap - Rust
    pub struct ObjectInfo<O> {
    +ObjectInfo in kludgine::tilemap - Rust
    pub struct ObjectInfo<O> {
         pub position: Point<Px>,
         pub object: O,
    -}

    Fields§

    §position: Point<Px>§object: O

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectInfo<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<O> RefUnwindSafe for ObjectInfo<O>where +}

    Fields§

    §position: Point<Px>§object: O

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectInfo<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<O> RefUnwindSafe for ObjectInfo<O>where O: RefUnwindSafe,

    §

    impl<O> Send for ObjectInfo<O>where O: Send,

    §

    impl<O> Sync for ObjectInfo<O>where O: Sync,

    §

    impl<O> Unpin for ObjectInfo<O>where diff --git a/main/kludgine/tilemap/struct.ObjectLayer.html b/main/kludgine/tilemap/struct.ObjectLayer.html index 3f92e9b7f..89b5ce4fb 100644 --- a/main/kludgine/tilemap/struct.ObjectLayer.html +++ b/main/kludgine/tilemap/struct.ObjectLayer.html @@ -1,5 +1,5 @@ -ObjectLayer in kludgine::tilemap - Rust
    pub struct ObjectLayer<O> { /* private fields */ }

    Implementations§

    source§

    impl<O> ObjectLayer<O>

    source

    pub const fn new() -> Self

    source

    pub fn push(&mut self, object: O) -> ObjectId

    source

    pub fn get(&self, id: ObjectId) -> Option<&O>

    source

    pub fn get_mut(&mut self, id: ObjectId) -> Option<&mut O>

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn get_nth(&mut self, index: usize) -> Option<&O>

    source

    pub fn get_nth_mut(&mut self, index: usize) -> Option<&mut O>

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectLayer<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<O> Default for ObjectLayer<O>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> Index<usize> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<usize> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> Layer for ObjectLayer<O>where - O: Object,

    source§

    fn render( +ObjectLayer in kludgine::tilemap - Rust
    pub struct ObjectLayer<O> { /* private fields */ }

    Implementations§

    source§

    impl<O> ObjectLayer<O>

    source

    pub const fn new() -> Self

    source

    pub fn push(&mut self, object: O) -> ObjectId

    source

    pub fn get(&self, id: ObjectId) -> Option<&O>

    source

    pub fn get_mut(&mut self, id: ObjectId) -> Option<&mut O>

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn get_nth(&mut self, index: usize) -> Option<&O>

    source

    pub fn get_nth_mut(&mut self, index: usize) -> Option<&mut O>

    Trait Implementations§

    source§

    impl<O: Debug> Debug for ObjectLayer<O>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<O> Default for ObjectLayer<O>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<O> Index<ObjectId> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, id: ObjectId) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> Index<usize> for ObjectLayer<O>

    §

    type Output = O

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<ObjectId> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> IndexMut<usize> for ObjectLayer<O>

    source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<O> Layer for ObjectLayer<O>where + O: Object,

    source§

    fn render( &self, _top_left: &TileOffset, _bottom_right: &TileOffset, @@ -7,7 +7,7 @@ visible_rect: &Rect<Px>, zoom: f32, context: &mut Renderer<'_, '_> -)

    source§

    fn find_object(&self, object: ObjectId) -> Option<Point<Px>>

    Auto Trait Implementations§

    §

    impl<O> RefUnwindSafe for ObjectLayer<O>where +)

    source§

    fn find_object(&self, object: ObjectId) -> Option<Point<Px>>

    Auto Trait Implementations§

    §

    impl<O> RefUnwindSafe for ObjectLayer<O>where O: RefUnwindSafe,

    §

    impl<O> Send for ObjectLayer<O>where O: Send,

    §

    impl<O> Sync for ObjectLayer<O>where O: Sync,

    §

    impl<O> Unpin for ObjectLayer<O>where @@ -29,8 +29,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> Layers for Twhere - T: Layer,

    source§

    fn layer(&self, index: usize) -> Option<&(dyn Layer + 'static)>

    source§

    impl<T, U> TryFrom<U> for Twhere +

    source§

    impl<T> Layers for Twhere + T: Layer,

    source§

    fn layer(&self, index: usize) -> Option<&(dyn Layer + 'static)>

    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for Twhere T: Send,

    §

    impl<T> WasmNotSync for Twhere diff --git a/main/kludgine/tilemap/struct.TileOffset.html b/main/kludgine/tilemap/struct.TileOffset.html index bcbedfe6c..2e704b208 100644 --- a/main/kludgine/tilemap/struct.TileOffset.html +++ b/main/kludgine/tilemap/struct.TileOffset.html @@ -1,4 +1,4 @@ -TileOffset in kludgine::tilemap - Rust
    pub struct TileOffset { /* private fields */ }

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +TileOffset in kludgine::tilemap - Rust
    pub struct TileOffset { /* private fields */ }

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere diff --git a/main/kludgine/tilemap/struct.Tiles.html b/main/kludgine/tilemap/struct.Tiles.html index a0241dbd9..640467a7a 100644 --- a/main/kludgine/tilemap/struct.Tiles.html +++ b/main/kludgine/tilemap/struct.Tiles.html @@ -1,8 +1,8 @@ -Tiles in kludgine::tilemap - Rust

    Struct kludgine::tilemap::Tiles

    source ·
    pub struct Tiles { /* private fields */ }

    Implementations§

    source§

    impl Tiles

    source

    pub fn new( +Tiles in kludgine::tilemap - Rust

    Struct kludgine::tilemap::Tiles

    source ·
    pub struct Tiles { /* private fields */ }

    Implementations§

    source§

    impl Tiles

    source

    pub fn new( width: usize, height: usize, tiles: impl IntoIterator<Item = TileKind> -) -> Self

    Trait Implementations§

    source§

    impl Debug for Tiles

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Layer for Tiles

    source§

    fn render( +) -> Self

    Trait Implementations§

    source§

    impl Debug for Tiles

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Layer for Tiles

    source§

    fn render( &self, top_left: &TileOffset, bottom_right: &TileOffset, @@ -10,7 +10,7 @@ _visible_rect: &Rect<Px>, _zoom: f32, context: &mut Renderer<'_, '_> -)

    source§

    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>>

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Tiles

    §

    impl Send for Tiles

    §

    impl Sync for Tiles

    §

    impl Unpin for Tiles

    §

    impl UnwindSafe for Tiles

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +)

    source§

    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>>

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Tiles

    §

    impl Send for Tiles

    §

    impl Sync for Tiles

    §

    impl Unpin for Tiles

    §

    impl UnwindSafe for Tiles

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<A> Cast for A

    §

    fn cast<To>(self) -> Towhere @@ -27,8 +27,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> Layers for Twhere - T: Layer,

    source§

    fn layer(&self, index: usize) -> Option<&(dyn Layer + 'static)>

    source§

    impl<T, U> TryFrom<U> for Twhere +

    source§

    impl<T> Layers for Twhere + T: Layer,

    source§

    fn layer(&self, index: usize) -> Option<&(dyn Layer + 'static)>

    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for Twhere T: Send,

    §

    impl<T> WasmNotSync for Twhere diff --git a/main/kludgine/tilemap/trait.Layer.html b/main/kludgine/tilemap/trait.Layer.html index c4eb6ef74..41ac55a88 100644 --- a/main/kludgine/tilemap/trait.Layer.html +++ b/main/kludgine/tilemap/trait.Layer.html @@ -1,4 +1,4 @@ -Layer in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Layer

    source ·
    pub trait Layer: Debug + UnwindSafe + Send + 'static {
    +Layer in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Layer

    source ·
    pub trait Layer: Debug + UnwindSafe + Send + 'static {
         // Required method
         fn render(
             &self,
    @@ -12,7 +12,7 @@
     
         // Provided method
         fn find_object(&self, _object: ObjectId) -> Option<Point<Px>> { ... }
    -}

    Required Methods§

    Required Methods§

    source

    fn render( &self, top_left: &TileOffset, bottom_right: &TileOffset, @@ -20,5 +20,5 @@ visible_rect: &Rect<Px>, zoom: f32, context: &mut Renderer<'_, '_> -)

    Provided Methods§

    source

    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>>

    Implementors§

    source§

    impl Layer for Tiles

    source§

    impl<O> Layer for ObjectLayer<O>where +)

    Provided Methods§

    source

    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>>

    Implementors§

    source§

    impl Layer for Tiles

    source§

    impl<O> Layer for ObjectLayer<O>where O: Object,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/trait.Layers.html b/main/kludgine/tilemap/trait.Layers.html index e7b261ae7..30c950cf4 100644 --- a/main/kludgine/tilemap/trait.Layers.html +++ b/main/kludgine/tilemap/trait.Layers.html @@ -1,7 +1,7 @@ -Layers in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Layers

    source ·
    pub trait Layers: Debug + UnwindSafe + Send + 'static {
    +Layers in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Layers

    source ·
    pub trait Layers: Debug + UnwindSafe + Send + 'static {
         // Required method
         fn layer(&self, index: usize) -> Option<&dyn Layer>;
    -}

    Required Methods§

    source

    fn layer(&self, index: usize) -> Option<&dyn Layer>

    Implementations on Foreign Types§

    source§

    impl<T1, T2> Layers for (T1, T2)where +}

    Required Methods§

    source

    fn layer(&self, index: usize) -> Option<&dyn Layer>

    Implementations on Foreign Types§

    source§

    impl<T1, T2> Layers for (T1, T2)where T1: Debug + UnwindSafe + Send + Layer + 'static, - T2: Debug + UnwindSafe + Send + Layer + 'static,

    source§

    fn layer(&self, index: usize) -> Option<&dyn Layer>

    Implementors§

    source§

    impl<T> Layers for Twhere + T2: Debug + UnwindSafe + Send + Layer + 'static,

    source§

    fn layer(&self, index: usize) -> Option<&dyn Layer>

    Implementors§

    source§

    impl<T> Layers for Twhere T: Layer,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/trait.Object.html b/main/kludgine/tilemap/trait.Object.html index 1cd660a50..849e2e80d 100644 --- a/main/kludgine/tilemap/trait.Object.html +++ b/main/kludgine/tilemap/trait.Object.html @@ -1,4 +1,4 @@ -Object in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Object

    source ·
    pub trait Object: Debug + UnwindSafe + Send + 'static {
    +Object in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Object

    source ·
    pub trait Object: Debug + UnwindSafe + Send + 'static {
         // Required methods
         fn position(&self) -> Point<Px>;
         fn render(
    @@ -7,4 +7,4 @@
             zoom: f32,
             context: &mut Renderer<'_, '_>
         );
    -}

    Required Methods§

    source

    fn position(&self) -> Point<Px>

    source

    fn render(&self, center: Point<Px>, zoom: f32, context: &mut Renderer<'_, '_>)

    Implementors§

    \ No newline at end of file +}

    Required Methods§

    source

    fn position(&self) -> Point<Px>

    source

    fn render(&self, center: Point<Px>, zoom: f32, context: &mut Renderer<'_, '_>)

    Implementors§

    \ No newline at end of file diff --git a/main/kludgine/trait.Clipped.html b/main/kludgine/trait.Clipped.html index 5226e169e..ea0b8633d 100644 --- a/main/kludgine/trait.Clipped.html +++ b/main/kludgine/trait.Clipped.html @@ -1,4 +1,4 @@ -Clipped in kludgine - Rust

    Trait kludgine::Clipped

    source ·
    pub trait Clipped: Sized + Clipped {
    +Clipped in kludgine - Rust

    Trait kludgine::Clipped

    source ·
    pub trait Clipped: Sized + Clipped {
         // Required methods
         fn push_clip(&mut self, clip: Rect<UPx>);
         fn pop_clip(&mut self);
    @@ -6,7 +6,7 @@
         // Provided method
         fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self> { ... }
     }
    Expand description

    A graphics context that has been clipped.

    -

    Required Methods§

    source

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack.

    +

    Required Methods§

    source

    fn push_clip(&mut self, clip: Rect<UPx>)

    Pushes a new clipping state to the clipping stack.

    This function causes this type to act as if the origin of the context is clip.origin, and the size of the context is clip.size. This means that rendering at 0,0 will actually render at the effective clip rect’s @@ -15,12 +15,12 @@ current clipping rectangle.

    To restore the clipping rect to the state it was before this function was called, use Clipped::pop_clip().

    -
    source

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to +

    source

    fn pop_clip(&mut self)

    Restores the clipping rect to the previous state before the last call to Clipped::push_clip().

    Panics

    This function will panic if it is called more times than Clipped::push_clip().

    -

    Provided Methods§

    source

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset +

    Provided Methods§

    source

    fn clipped_to(&mut self, clip: Rect<UPx>) -> ClipGuard<'_, Self>

    Returns a ClipGuard that causes all drawing operations to be offset and clipped to clip until it is dropped.

    This function causes this type to act as if the origin of the context is clip.origin, and the size of the context is clip.size. This means @@ -28,4 +28,4 @@

    Panics
    origin.

    clip is relative to the current clip rect and cannot extend the current clipping rectangle.

    -

    Implementors§

    \ No newline at end of file +

    Implementors§

    \ No newline at end of file diff --git a/main/kludgine/trait.DrawableExt.html b/main/kludgine/trait.DrawableExt.html new file mode 100644 index 000000000..b546eb93d --- /dev/null +++ b/main/kludgine/trait.DrawableExt.html @@ -0,0 +1,12 @@ +DrawableExt in kludgine - Rust

    Trait kludgine::DrawableExt

    source ·
    pub trait DrawableExt<Source, Unit> {
    +    // Required methods
    +    fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>;
    +    fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>;
    +    fn scale(self, factor: f32) -> Drawable<Source, Unit>;
    +}
    Expand description

    Translation, rotation, and scaling for drawable types.

    +

    Required Methods§

    source

    fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>

    Translates self by point.

    +
    source

    fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>

    Rotates self by angle.

    +
    source

    fn scale(self, factor: f32) -> Drawable<Source, Unit>

    Scales self by factor.

    +

    Implementors§

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit>

    source§

    impl<T, Unit> DrawableExt<T, Unit> for Twhere + Drawable<T, Unit>: From<T>, + Unit: Default,

    \ No newline at end of file diff --git a/main/kludgine/trait.DrawableSource.html b/main/kludgine/trait.DrawableSource.html new file mode 100644 index 000000000..d5419a663 --- /dev/null +++ b/main/kludgine/trait.DrawableSource.html @@ -0,0 +1,3 @@ +DrawableSource in kludgine - Rust
    pub trait DrawableSource { }
    Expand description

    A type that can be drawn in Kludgine.

    +

    Implementors§

    source§

    impl<'a, Unit> DrawableSource for Text<'a, Unit>

    source§

    impl<Unit> DrawableSource for MeasuredText<Unit>

    source§

    impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED>where + Unit: Copy,

    \ No newline at end of file diff --git a/main/kludgine/trait.ShapeSource.html b/main/kludgine/trait.ShapeSource.html index fac8b3ba1..378b96724 100644 --- a/main/kludgine/trait.ShapeSource.html +++ b/main/kludgine/trait.ShapeSource.html @@ -1,3 +1,3 @@ -ShapeSource in kludgine - Rust

    Trait kludgine::ShapeSource

    source ·
    pub trait ShapeSource<Unit, const TEXTURED: bool>: ShapeSource<Unit> { }
    Expand description

    A source of triangle data for a shape.

    -

    Implementors§

    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where +ShapeSource in kludgine - Rust

    Trait kludgine::ShapeSource

    source ·
    pub trait ShapeSource<Unit, const TEXTURED: bool>: DrawableSource + ShapeSource<Unit> { }
    Expand description

    A source of triangle data for a shape.

    +

    Implementors§

    source§

    impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>where Unit: Copy,

    \ No newline at end of file diff --git a/main/kludgine/trait.TextureSource.html b/main/kludgine/trait.TextureSource.html index 87b503b5d..b7d80bdb4 100644 --- a/main/kludgine/trait.TextureSource.html +++ b/main/kludgine/trait.TextureSource.html @@ -1,2 +1,2 @@ -TextureSource in kludgine - Rust
    pub trait TextureSource: TextureSource { }
    Expand description

    A type that is rendered using a texture.

    -

    Implementors§

    \ No newline at end of file +TextureSource in kludgine - Rust
    pub trait TextureSource: TextureSource { }
    Expand description

    A type that is rendered using a texture.

    +

    Implementors§

    \ No newline at end of file diff --git a/main/search-index.js b/main/search-index.js index 6e40e5c0d..e9544ccd8 100644 --- a/main/search-index.js +++ b/main/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSSSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLLLLLLLLLLALLLLLLLALLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLQIQDQDIDMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMLMLLLLLLLLLMLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMNNNDDDDDENLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMLLMLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMNIIINDDDNRNEEDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLMLKMLKKLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMM","n":["ALICEBLUE","ANTIQUEWHITE","AQUA","AQUAMARINE","AZURE","AnyTexture","BEIGE","BISQUE","BLACK","BLANCHEDALMOND","BLUE","BLUEVIOLET","BROWN","BURLYWOOD","CADETBLUE","CHARTREUSE","CHOCOLATE","CLEAR_BLACK","CLEAR_WHITE","CORAL","CORNFLOWERBLUE","CORNSILK","CRIMSON","CYAN","Center","ClipGuard","Clipped","Collected","CollectedTexture","Color","Custom","DARKBLUE","DARKCYAN","DARKGOLDENROD","DARKGRAY","DARKGREEN","DARKGREY","DARKKHAKI","DARKMAGENTA","DARKOLIVEGREEN","DARKORANGE","DARKORCHID","DARKRED","DARKSALMON","DARKSEAGREEN","DARKSLATEBLUE","DARKSLATEGRAY","DARKSLATEGREY","DARKTURQUOISE","DARKVIOLET","DEEPPINK","DEEPSKYBLUE","DIMGRAY","DIMGREY","DODGERBLUE","FIREBRICK","FLORALWHITE","FORESTGREEN","FUCHSIA","Frame","GAINSBORO","GHOSTWHITE","GOLD","GOLDENROD","GRAY","GREEN","GREENYELLOW","GREY","Graphics","HONEYDEW","HOTPINK","INDIANRED","INDIGO","IVORY","KHAKI","Kludgine","LAVENDER","LAVENDERBLUSH","LAWNGREEN","LEMONCHIFFON","LIGHTBLUE","LIGHTCORAL","LIGHTCYAN","LIGHTGOLDENRODYELLOW","LIGHTGRAY","LIGHTGREEN","LIGHTGREY","LIGHTPINK","LIGHTSALMON","LIGHTSEAGREEN","LIGHTSKYBLUE","LIGHTSLATEGRAY","LIGHTSLATEGREY","LIGHTSTEELBLUE","LIGHTYELLOW","LIME","LIMEGREEN","LINEN","MAGENTA","MAROON","MEDIUMAQUAMARINE","MEDIUMBLUE","MEDIUMORCHID","MEDIUMPURPLE","MEDIUMSEAGREEN","MEDIUMSLATEBLUE","MEDIUMSPRINGGREEN","MEDIUMTURQUOISE","MEDIUMVIOLETRED","MIDNIGHTBLUE","MINTCREAM","MISTYROSE","MOCCASIN","NAVAJOWHITE","NAVY","OLDLACE","OLIVE","OLIVEDRAB","ORANGE","ORANGERED","ORCHID","Origin","PALEGOLDENROD","PALEGREEN","PALETURQUOISE","PALEVIOLETRED","PAPAYAWHIP","PEACHPUFF","PERU","PINK","PLUM","POWDERBLUE","PURPLE","PreparedGraphic","REBECCAPURPLE","RED","ROSYBROWN","ROYALBLUE","Region","RenderingGraphics","SADDLEBROWN","SALMON","SANDYBROWN","SEAGREEN","SEASHELL","SIENNA","SILVER","SKYBLUE","SLATEBLUE","SLATEGRAY","SLATEGREY","SNOW","SPRINGGREEN","STEELBLUE","ShaderScalable","ShapeSource","Shared","SharedTexture","TAN","TEAL","THISTLE","TOMATO","TURQUOISE","Texture","Texture","TextureCollection","TextureRegion","TextureSource","TopLeft","VIOLET","WHEAT","WHITE","WHITESMOKE","YELLOW","YELLOWGREEN","abort","alpha","alpha_f32","app","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","blue","blue_f32","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clip_rect","clipped_to","clipped_to","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cosmic_text","deref","deref","deref","deref_mut","deref_mut","device","device","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","drop","drop","drop","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","figures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","font_family","font_size","font_style","font_system","font_system","font_weight","format","format","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_image","green","green_f32","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_valid_bit_pattern","line_height","new","new","new","new","new","new_f32","new_with_data","next_frame","pop_clip","pop_clip","pop_clip","prepare","prepare","prepare","prepare_entire_colection","prepare_partial","prepare_sized","prepare_text","push_clip","push_clip","push_clip","push_image","push_texture","queue","queue","red","red_f32","region","render","render","render","render_into","reset_text_attributes","resize","scale","scale","set_font_family","set_font_size","set_font_style","set_font_weight","set_line_height","set_text_attributes","set_text_stretch","shapes","size","size","size","size","size","size","submit","text","text_attrs","text_stretch","tilemap","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","wgpu","with_alpha","with_blue","with_green","with_red","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","app_name","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","axis_motion","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast_into","cast_into","cast_into","clear_color","clone","clone_into","close_requested","composite_alpha_mode","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","focused","from","from","from","from_cast","from_cast","from_cast","fullscreen","handle","hovered_file","hovered_file_cancelled","ime","initial_window_attributes","initialize","inner_size","inner_size","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","key_pressed","keyboard_input","last_frame_rendered_in","limits","max_inner_size","maximized","min_inner_size","modifiers","modifiers_changed","mouse_button_pressed","mouse_input","mouse_wheel","occlusion_changed","ocluded","parent_window","position","position","power_preference","preferred_theme","prepare","received_character","redraw_at","redraw_in","render","resizable","resize_increments","resized","run","run","run_with","scale_factor_changed","send","set_ime_allowed","set_ime_cursor_area","set_ime_purpose","set_inner_size","set_max_inner_size","set_min_inner_size","set_needs_redraw","set_position","set_title","smart_magnify","theme","theme_changed","title","title","to_owned","touch","touchpad_magnify","touchpad_pressure","touchpad_rotate","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","upcast","upcast","upcast","visible","window_icon","window_level","winit","winit","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","cast","cast","cast_into","cast_into","clipped_to","command_count","default","deref","deref_mut","downcast","downcast","draw_measured_text","draw_shape","draw_text","draw_text_buffer","draw_texture","draw_textured_shape","drop","fmt","fmt","from","from","from_cast","from_cast","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","measure_text","measure_text_buffer","new_frame","pop_clip","push_clip","render","triangle_count","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","vertex_count","Begin","Bevel","Butt","ControlPoint","Cubic","DefaultStrokeWidth","End","Endpoint","Line","LineCap","LineJoin","Miter","MiterClip","Path","PathBuilder","PathEvent","Quadratic","Round","Round","Shape","Square","StrokeOptions","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","cubic_curve_to","cubic_curve_to","default","default","default","default_stroke_width","downcast","downcast","downcast","downcast","downcast","downcast","downcast","end_cap","eq","eq","eq","eq","fill","filled_circle","filled_rect","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_iter","from_lp","from_px","from_upx","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_components","into_lp","into_px","into_upx","line_join","line_to","line_to","line_width","lp_wide","miter_limit","new","new_textured","prepare","prepare","px_wide","quadratic_curve_to","quadratic_curve_to","reset","reset","start_cap","stroke","stroked_rect","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","tolerance","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","x","x","y","y","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","GlyphInfo","MeasuredGlyph","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","downcast","downcast","end","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_lp","from_px","from_upx","glyphs","info","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_lp","into_px","into_upx","left","level","line","line_height","line_width","metadata","new","origin","origin","rect","size","start","text","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","wrap_at","wrap_at","Color","Layer","Layers","Object","Object","ObjectId","ObjectInfo","ObjectLayer","Point","TILE_SIZE","Texture","TileKind","TileMapFocus","TileOffset","Tiles","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone_into","clone_into","cmp","compare","default","default","downcast","downcast","downcast","downcast","downcast","downcast","downcast","draw","eq","equivalent","equivalent","equivalent","find_object","find_object","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","get","get_mut","get_nth","get_nth_mut","hash","index","index","index_mut","index_mut","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_empty","layer","layer","layer","len","new","new","object","partial_cmp","position","position","push","render","render","render","render","to_owned","to_owned","translate_coordinates","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","world_coordinate","id","layer"],"q":[[0,"kludgine"],[560,"kludgine::app"],[706,"kludgine::render"],[764,"kludgine::shapes"],[982,"kludgine::shapes::PathEvent"],[994,"kludgine::text"],[1166,"kludgine::tilemap"],[1352,"kludgine::tilemap::TileMapFocus"],[1354,"core::any"],[1355,"wgpu"],[1356,"wgpu"],[1357,"figures::units"],[1358,"figures::rect"],[1359,"core::clone"],[1360,"core::cmp"],[1361,"core::fmt"],[1362,"core::fmt"],[1363,"figures::units"],[1364,"fontdb"],[1365,"cosmic_text::attrs"],[1366,"image::dynimage"],[1367,"core::hash"],[1368,"alloc::alloc"],[1369,"alloc::boxed"],[1370,"alloc::sync"],[1371,"alloc::rc"],[1372,"figures::size"],[1373,"wgpu_types"],[1374,"core::ops::arith"],[1375,"cosmic_text::buffer"],[1376,"figures::units"],[1377,"core::option"],[1378,"figures::angle"],[1379,"figures::traits"],[1380,"core::default"],[1381,"figures::traits"],[1382,"cosmic_text::attrs"],[1383,"wgpu"],[1384,"core::any"],[1385,"winit::event"],[1386,"core::marker"],[1387,"core::time"],[1388,"winit::event"],[1389,"winit::event"],[1390,"winit::error"],[1391,"core::ops::function"],[1392,"core::panic::unwind_safe"],[1393,"winit::window"],[1394,"winit::window"],[1395,"winit::event"],[1396,"figures::traits"],[1397,"core::cmp"]],"d":["Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A type that can be any TextureSource implementation that …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The grapihc should be drawn so that the center of the …","A clipped surface.","A graphics context that has been clipped.","A CollectedTexture.","A texture that is contained within a TextureCollection.","A red, green, blue, and alpha color value stored in …","The graphic should be drawn so that the provided relative …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A frame that can be rendered.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A context used to prepare graphics to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A 2d graphics instance.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The origin of a prepared graphic.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A graphic that is on the GPU and ready to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A TextureRegion.","A graphics context used to render previously prepared …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A unit that is able to be scaled by the GPU shader.","A source of triangle data for a shape.","A SharedTexture.","A cloneable texture.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","An image stored on the GPU.","A Texture.","A collection of multiple textures, managed as a single …","A region of a SharedTexture.","A type that is rendered using a texture.","The graphic should be drawn so that the top-left of the …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Aborts rendering this frame.","Returns the alpha component of this color, range 0-255. A …","Returns the alpha component of this color, range 0.0-1.0. …","Application and Windowing Support.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the blue component of this color, range 0-255.","Returns the blue component of this color, range 0.0-1.0.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current rectangular area of the context.","Returns a ClipGuard that causes all drawing operations to …","Returns a ClipGuard that causes all drawing operations to …","","","","","","","","","","","","","","","","","","","Returns a reference to the underlying wgpu::Device.","Returns a reference to the underlying wgpu::Device.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current font family.","Returns the current font size.","Returns the current font style.","Returns a mutable reference to the cosmic_text::FontSystem …","Returns a mutable reference to the cosmic_text::FontSystem …","Returns the current font weight.","Returns the format of the texture backing this collection.","The format of the texture.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","Creates a texture from image.","Returns the green component of this color, range 0-255.","Returns the green component of this color, range 0.0-1.0.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current line height.","Returns a new atlas of the given size and format.","Returns a new instance of Kludgine with the provided …","Returns a new instance.","Returns a new color with the provided components.","Creates a new texture of the given size, format, and …","Returns a new color by converting each component from its …","Returns a new texture of the given size, format, and …","Begins rendering a new frame.","Restores the clipping rect to the previous state before …","","","Creates a Graphics context for this frame that can be used …","Returns a PreparedGraphic that renders this texture at dest…","Prepares to render this texture at the given location.","Returns a PreparedGraphic for the entire texture.","Prepares the source area to be rendered at dest.","Prepares to render this texture with size. The returned …","Prepares the text layout contained in buffer to be …","Pushes a new clipping state to the clipping stack.","","","Pushes an image to this collection.","Pushes image data to a specific region of the texture.","Returns a reference to the underlying wgpu::Queue.","Returns a reference to the underlying wgpu::Queue.","Returns the red component of this color, range 0-255.","Returns the red component of this color, range 0.0-1.0.","Returns a reference to this texture that only renders a …","An easy-to-use batching renderer.","Creates a RenderingGraphics context for this frame which …","Renders the prepared graphic at origin, rotating and …","Creates a RenderingGraphics that renders into texture for …","Resets all of the text related properties to their default …","Updates the size and scale of this Kludgine instance.","Returns the current scaling factor of the display being …","Returns the current scaling factor for the display this …","Sets the current font family.","Sets the font size.","Sets the current font style.","Sets the current font weight.","Sets the line height for multi-line layout.","Sets the current text attributes.","Sets the current text stretching.","Types for drawing paths and shapes.","Returns the current size of the graphics area being …","Returns the current size of the underlying texture.","Returns the currently configured size to render.","Returns the current clipped size of the context.","The size of the texture.","Returns the size of the region being drawn.","Submits all of the commands for this frame to the GPU.","Types for text rendering.","Returns the current text attributes.","Returns the current text stretch.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new color replacing this colors alpha channel …","Returns a new color replacing this colors blue channel …","Returns a new color replacing this colors green channel …","Returns a new color replacing this colors red channel with …","The type of value provided during initialize().","A message with an associated response type.","The type returned when responding to this message.","An open window.","The message type that is able to be sent to individual …","Attributes of a desktop window.","The behavior of a window.","A handle to a window.","Whether the window is active or not.","Name of the application","","","","","","","A multi-axis input device has registered motion.","","","","","","","","","","","","","Returns the color to clear the window with. If None is …","","","The window has been requested to be closed. This can …","Returns the composite alpha mode to use for rendering the …","If true, the contents of the window will be prevented from …","A cursor has hovered over the window.","A cursor is no longer hovering over the window.","A cursor has moved over the window.","Returns the position of the mouse cursor within this …","Controls the visibility of the window decorations.","","","","","A file has been dropped on the window.","Returns the duration that has elapsed since the last frame …","The collection of window buttons that are enabled.","A WindowEvent has been received by this window.","","The window has gained or lost keyboard focus. …","Returns true if the window is currently focused for …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The full screen configuration for the window.","Returns a handle to this window, which can be used to send …","A file is hovering over the window.","A file being overed has been cancelled.","An international input even thas occurred for the window.","Returns the window attributes to use when creating the …","Initialize a new instance from the provided context.","Returns the inner size of the window.","The inner size of the window.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","Returns true if the given virtual key code is currently …","A keyboard event occurred while the window was focused.","Returns the duration taken between when the last frame’s …","Returns the limits to apply for the wgpu instance.","The maximum inner size of the window.","The maximized state of the window.","The minimum inner size of the window.","Returns currently active modifiers.","The keyboard modifier keys have changed. …","Returns true if the given button is currently pressed.","A mouse button was pressed or released.","An event from a mouse wheel.","The window has been occluded or revealed. …","Returns true if the window is currenly not visible because …","The parent window of this window.","Returns the current position of the window.","The position of the top-left of the frame of the window.","Returns the power preference to initialize wgpu with.","The window’s preferred theme.","Prepare the window to render.","An input event has generated a character.","Sets the window to redraw at the provided time.","Sets the window to redraw after a duration.","Render the contents of the window.","If true, the window can be resized by the user.","The increments in which the window will be allowed to …","The window has been resized. RunningWindow::inner_size() …","Runs a callback as a single window. Continues to run until …","Launches a Kludgine app using this window as the primary …","Launches a Kludgine app using this window as the primary …","The window’s scale factor has changed. …","Sends message to the window. If the message cannot be","Sets whether IME input is allowed on the window.","Sets the cursor area for IME input suggestions.","Sets the IME purpose.","Sets the inner size of the window.","Sets the window’s maximum inner size.","Sets the window’s minimum inner size.","Sets the window to redraw as soon as it can.","Sets the current position of the window.","Sets the title of the window.","A request to smart-magnify the window.","Returns the current user interface theme for the window.","The window’s theme has been updated. …","Returns the current title of the window.","The title of the window.","","A touch event.","A touchpad-originated magnification gesture.","A pressure-sensitive touchpad was touched.","A touchpad-originated rotation gesture.","If true, the window’s chrome will be hidden and only …","","","","","","","","","","","","","The visibility state of the window.","The window’s icon.","The level of the window.","","Returns a reference to the underlying winit window.","A composite, multi-operation graphic, created with an …","An easy-to-use graphics renderer that batches operations …","","","","","","","","","","","","","Returns a ClipGuard that causes all drawing operations to …","Returns the number of drawing operations that will be sent …","","","","","","Prepares the text layout contained in buffer to be …","Draws a shape at the origin, rotating and scaling as …","Draws text using the current text settings.","Prepares the text layout contained in buffer to be …","Draws texture at destination, scaling as necessary.","Draws a shape that was created with texture coordinates, …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","Measures text using the current text settings.","Measures buffer and caches the results using default_color …","Clears the currently prepared graphics and returns a new …","","","Renders the prepared graphics from the last frame.","Returns the number of triangles that are being rendered in …","","","","","","","","","Returns the number of vertexes that compose the drawing …","Begins a path. Must be at the start.","A beveled corner is to be used to join path segments. The …","The stroke for each sub-path does not extend beyond its …","A control point used to create curves.","A cubic curve (two control points).","Controls the default stroke width for a given unit.","Ends the path. Must be the last entry.","A point on a Path.","A straight line segment.","Line cap as defined by the SVG specification.","Line join as defined by the SVG specification.","A sharp corner is to be used to join path segments.","Same as a miter join, but if the miter limit is exceeded, …","A geometric shape defined by a path.","Builds a Path.","An entry in a Path.","A quadratic curve (one control point).","At each end of each sub-path, the shape representing the …","A round corner is to be used to join path segments.","A tesselated shape.","At the end of each sub-path, the shape representing the …","Options for stroking lines on a path.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the built path.","Returns the built path.","","","","","","","","","","","","","","","","","","","","","","","","","","","Closes the path, connecting the current location to the …","Closes the path, connecting the current location to the …","Create a cubic curve from the current location to end_at …","Create a cubic curve from the current location to end_at …","","","","Returns the default width of a line stroked in this unit.","","","","","","","","What cap to use at the end of each sub-path.","","","","","Fills this path with color.","Returns a circle that is filled solid with color.","Returns a rectangle that is filled solid with color.","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","See the SVG specification.","Create a straight line from the current location to end_at.","Create a straight line from the current location to end_at.","The width of the line.","Returns the default options with a line width of lp.","See the SVG specification.","Creates a new path with the initial position start_at.","Creates a new path with the initial position start_at.","Uploads the shape to the GPU, applying texture to the …","Uploads the shape to the GPU.","Returns the default options with a line width of px.","Create a quadratic curve from the current location to …","Create a quadratic curve from the current location to …","Clears this builder to a state as if it had just been …","Clears this builder to a state as if it had just been …","What cap to use at the start of each sub-path.","Strokes this path with color and options.","Returns a rectangle that has its outline stroked with color…","","","","","","","Maximum allowed distance to the path when building an …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The x-axis component.","The x-axis component.","The y-axis component","The y-axis component","The location to begin at.","Whether the path should be closed.","The control point for the curve.","The first control point for the curve.","The second control point for the curve.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The end location of the line.","The end location of the curve.","The end location of the curve.","Render the text such that the center of the extents of the …","Render the text such that the text is offset by a custom …","Render the text such that the leftmost pixel of the …","Information about a glyph in a MeasuredText.","Instructions for drawing a laid out glyph.","The dimensions of a measured text block.","Text that is ready to be rendered on the GPU.","A text drawing command.","Controls the origin of PreparedText.","Render the text such that the top-left of the first line …","","","","","","","","","","","","","The measurement above the baseline of the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The color to draw the text using.","","","","The measurement below the baseline of the text.","","","","","","","End index of cluster in original line","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","The individual glyhs that were laid out.","Information about what glyph this is.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","Unicode BiDi embedding level, character is left-to-right …","The line index this glyph is visually laid out on.","The measurement above the baseline of the text.","The width of the line this glyph is on.","Custom metadata set in cosmic_text::Attrs.","Returns a text command that draws text with color.","Sets the origin for the text drawing operation and returns …","The origin to draw the text around.","Returns the destination rectangle for this glyph.","The total size of the measured text, encompassing all …","Start index of cluster in original line","The text to be drawn.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the width to wrap text at and returns self.","The width to wrap the text at. If None, no wrapping is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,17,0,0,30,0,0,17,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,30,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,30,0,3,3,3,3,3,0,30,0,0,0,17,3,3,3,3,3,3,1,3,3,0,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,7,7,3,3,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,7,13,21,15,16,3,17,19,20,15,16,3,17,19,20,0,7,14,19,7,14,13,7,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,16,14,3,17,19,20,3,3,3,17,17,17,19,19,19,20,20,20,0,16,26,28,7,14,3,29,17,19,20,30,28,28,28,28,7,28,15,29,1,13,15,16,26,28,7,14,3,3,29,17,19,19,20,30,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,29,3,3,3,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,3,17,3,28,15,28,7,3,29,3,29,28,21,13,7,1,16,29,15,29,29,7,21,13,7,15,15,13,7,3,3,19,0,1,26,1,28,28,13,28,28,28,28,28,28,28,28,0,13,15,28,7,29,20,1,0,28,28,0,15,16,3,17,19,20,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,1,13,15,16,26,28,7,14,3,29,17,19,20,30,0,3,3,3,3,144,0,145,0,145,0,0,0,81,81,73,81,77,73,81,77,144,73,81,77,73,81,77,73,81,77,73,81,77,144,77,77,144,144,81,144,144,144,73,81,81,73,81,77,144,73,81,144,77,144,73,73,81,77,73,81,77,81,73,144,144,144,144,144,73,81,73,81,77,73,81,77,81,77,73,81,77,73,144,73,144,81,81,81,73,144,73,144,144,144,73,81,73,81,144,81,144,144,73,73,144,81,81,144,0,144,144,144,77,73,73,73,73,73,73,73,73,73,144,73,144,73,81,77,144,144,144,144,81,73,81,77,73,81,77,73,81,77,73,81,77,81,81,81,0,73,0,0,106,108,106,108,106,108,106,108,106,108,106,108,106,106,108,106,106,106,108,106,106,106,106,106,106,106,106,108,106,108,106,108,106,108,106,108,106,108,106,108,106,106,108,106,106,108,106,106,108,106,108,106,108,106,108,106,120,119,118,0,120,0,120,0,120,0,0,119,119,0,0,0,120,118,119,0,118,0,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,116,116,118,119,111,120,117,121,116,118,119,111,120,117,121,118,119,111,120,117,121,118,119,111,120,117,121,116,116,116,116,111,117,121,124,116,118,119,111,120,117,121,121,118,119,111,121,117,111,111,118,119,111,120,117,121,116,116,118,119,111,120,117,121,116,118,119,111,120,117,121,117,121,121,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,118,119,120,121,121,121,121,121,116,116,121,121,121,116,116,111,111,121,116,116,116,116,121,117,111,118,119,111,120,117,121,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,116,118,119,111,120,117,121,123,122,123,122,146,147,148,149,149,146,150,148,149,150,148,149,52,52,52,0,0,0,0,0,0,52,53,52,109,131,132,112,53,52,109,131,132,112,109,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,52,109,131,132,112,52,109,131,132,112,112,52,53,53,109,53,52,109,131,132,112,132,52,52,52,52,53,52,109,131,132,112,53,52,109,131,132,112,112,112,53,52,109,131,132,112,52,52,52,109,131,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,52,132,112,52,52,52,109,132,132,109,132,132,112,112,112,131,109,132,112,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,53,52,109,131,132,112,112,112,140,0,0,0,134,0,0,0,134,0,140,0,0,0,0,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,133,134,133,134,133,133,136,134,143,139,140,136,133,141,134,0,133,133,133,133,142,136,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,136,136,136,136,133,136,136,136,136,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,133,134,136,137,139,136,136,139,136,141,133,138,141,136,142,138,139,136,133,134,0,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,143,139,140,136,133,141,134,134,151,151],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[3,5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[7,8],[7,9],[3,4],[3,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,[[12,[11]]]],[[13,[12,[11]]],[[14,[13]]]],[[-1,[12,[11]]],[[14,[-1]]],[]],[15,15],[16,16],[3,3],[[[17,[-1]]],[[17,[-1]]],18],[19,19],[20,20],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[7],[[[14,[-1]]],[],21],[19],[7],[[[14,[-1]]],[],21],[13,9],[7,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[16,2],[[[14,[-1]]],2,21],[[3,3],22],[[[17,[-1]],[17,[-1]]],22,23],[[19,19],22],[[20,20],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],0,[[16,24],25],[[[26,[-1]],24],25,27],[[28,24],25],[[7,24],25],[[[14,[-1]],24],25,[21,27]],[[3,24],25],[[29,24],25],[[[17,[-1]],24],25,27],[[19,24],25],[[20,24],25],[[30,24],25],[28,31],[28,32],[28,33],[28,34],[7,34],[28,35],[15,36],[29,36],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[37,3],[-1,-1,[]],[-1,-1,[]],[29,19],[-1,-1,[]],[-1,-1,[]],[29,30],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[38,7],29],[3,4],[3,5],[[3,-1],2,39],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,22,[]],[28,32],[[[44,[11]],36,7],15],[[9,8,36,[44,[11]],5],28],[[28,9,8],7],[[4,4,4,4],3],[[7,[44,[11]],36,45],29],[[5,5,5,5],3],[[7,[44,[11]],36,45,[46,[4]]],29],[28,1],[-1,2,[]],[13,2],[7,2],[[1,9,8],7],[[16,[12,[-1]],7],[[26,[-1]]],[47,[49,[48]]]],[[29,[12,[-1]],7],[[26,[-1]]],47],[[15,[12,[-1]],7],[[26,[-1]]],47],[[29,[12,[11]],[12,[-1]],7],[[26,[-1]]],47],[[29,[17,[-1]],[44,[-1]],7],[[26,[-1]]],47],[[7,50,3,[52,[51]]],53],[[-1,[12,[11]]],2,[]],[[13,[12,[11]]],2],[[7,[12,[11]]],2],[[15,38,7],16],[[15,[46,[4]],54,[44,[11]],8],16],[13,8],[7,8],[3,4],[3,5],[[19,[12,[11]]],20],0,[[1,55,9,8],13],[[[26,[-1]],[56,[-1]],[57,[5]],[57,[58]],13],2,[59,60,61,62,63]],[[1,29,[64,[3]],9,8],13],[28,2],[[28,[44,[11]],5,8],2],[13,65],[28,65],[[28,66],2],[[28,-1],2,67],[[28,33],2],[[28,35],2],[[28,-1],2,67],[[28,68],2],[[28,69],2],0,[13,[[44,[11]]]],[15,[[44,[11]]]],[28,[[44,[11]]]],[7,[[44,[11]]]],[29,[[44,[11]]]],[20,[[44,[11]]]],[[1,8],[[57,[70]]]],0,[28,68],[28,69],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],0,[[3,4],3],[[3,4],3],[[3,4],3],[[3,4],3],0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[[-1,[73,[-2]],28,74,75,76],2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[57,[3]]],[]],[[[77,[-1]]],[[77,[-1]]],18],[[-1,-2],2,[],[]],[[-1,[73,[-2]],28],22,[],[]],[[-1,[46,[78]]],78,[]],0,[[-1,[73,[-2]],28,74],2,[],[]],[[-1,[73,[-2]],28,74],2,[],[]],[[-1,[73,[-2]],28,74,[79,[76]]],2,[],[]],[[[73,[-1]]],[[57,[[56,[51]]]]],80],0,[[],[[81,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[73,[-2]],28,82],2,[],[]],[[[73,[-1]]],83,80],0,[[-1,[73,[-2]],28,-2],2,[],[]],[[[77,[-1]],24],25,27],[[-1,[73,[-2]],28],2,[],[]],[[[73,[-1]]],22,80],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[[73,[-1]]],[[77,[-1]]],80],[[-1,[73,[-2]],28,82],2,[],[]],[[-1,[73,[-2]],28],2,[],[]],[[-1,[73,[-2]],28,84],2,[],[]],[[],[[81,[-1]]],[]],[[[73,[-1]],7],-2,[],[]],[[[73,[-1]]],[[44,[11]]],80],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[73,[-1]],85],22,80],[[-1,[73,[-2]],28,74,86,22],2,[],[]],[[[73,[-1]]],83,80],[87,87],0,0,0,[[[73,[-1]]],88,80],[[-1,[73,[-2]],28],2,[],[]],[[[73,[-1]],89],22,80],[[-1,[73,[-2]],28,74,90,89],2,[],[]],[[-1,[73,[-2]],28,74,91,92],2,[],[]],[[-1,[73,[-2]],28],2,[],[]],[[[73,[-1]]],22,80],0,[[[73,[-1]]],[[56,[51]]],80],0,[[],93],0,[[-1,[73,[-2]],7],2,[],[]],[[-1,[73,[-2]],28,94],2,[],[]],[[[73,[-1]],95],2,80],[[[73,[-1]],83],2,80],[[-1,[73,[-2]],13],22,[],[]],0,0,[[-1,[73,[-2]],28],2,[],[]],[-1,[[71,[2,96]]],[97,80,98]],[[],[[71,[2,96]]]],[[],[[71,[2,96]]]],[[-1,[73,[-2]],28],2,[],[]],[[[77,[-1]],-1],[[71,[2,-1]]],[]],[[[73,[-1]],22],2,80],[[[73,[-1]],[12,[11]]],2,80],[[[73,[-1]],99],2,80],[[[73,[-1]],[44,[11]]],2,80],[[[73,[-1]],[57,[[44,[11]]]]],2,80],[[[73,[-1]],[57,[[44,[11]]]]],2,80],[[[73,[-1]]],2,80],[[[73,[-1]],[56,[51]]],2,80],[[[73,[-1]],100],2,80],[[-1,[73,[-2]],28,74],2,[],[]],[[[73,[-1]]],101,80],[[-1,[73,[-2]],28],2,[],[]],[[[73,[-1]]],102,80],0,[-1,-2,[],[]],[[-1,[73,[-2]],28,103],2,[],[]],[[-1,[73,[-2]],28,74,76,92],2,[],[]],[[-1,[73,[-2]],28,74,5,104],2,[],[]],[[-1,[73,[-2]],28,74,5,92],2,[],[]],0,[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],0,0,0,0,[[[73,[-1]]],105,80],0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[[106,[12,[11]]],[[14,[106]]]],[106,107],[[],108],[106],[106],[-1,-2,[],[]],[-1,-2,[],[]],[[106,[109,[-1]],[52,[-1]],[56,[-1]],[57,[58]],[57,[5]]],2,110],[[106,[111,[-1]],[56,[-1]],[57,[58]],[57,[5]]],2,[63,62,47,60]],[[106,-2,[56,[-1]],[57,[58]],[57,[5]]],2,110,[[113,[[112,[-1]]]]]],[[106,50,3,[52,[51]],[56,[-1]],[57,[58]],[57,[5]]],2,110],[[106,-1,[12,[-2]]],2,114,[47,62]],[[106,-2,-3,[56,[-1]],[57,[58]],[57,[5]]],2,[63,62,47,60],[[115,[-1]]],114],[106,2],[[106,24],25],[[108,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[106,-2],[[109,[-1]]],110,[[113,[[112,[-1]]]]]],[[106,50,3],[[109,[-1]]],110],[[108,7],106],[106,2],[[106,[12,[11]]],2],[[108,13],2],[106,107],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[106,107],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[116,[-1]]],[[117,[-1]]],60],[[[116,[-1]]],[[117,[-1]]],60],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[118,118],[119,119],[[[111,[-1]]],[[111,[-1]]],18],[[[120,[-1]]],[[120,[-1]]],18],[[[117,[-1]]],[[117,[-1]]],18],[[[121,[-1]]],[[121,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[116,[-1]]],[[117,[-1]]],60],[[[116,[-1]]],[[117,[-1]]],60],[[[116,[-1]],[122,[-1]],[122,[-1]],[123,[-1]],[56,[11]]],[[116,[-1]]],60],[[[116,[-1]],[122,[-1]],[122,[-1]],[123,[-1]]],[[116,[-1]]],60],[[],[[111,[-1]]],[]],[[],[[117,[-1]]],61],[[],[[121,[-1]]],124],[[],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[118,118],22],[[119,119],22],[[[111,[-1]],[111,[-1]]],22,23],[[[121,[-1]],[121,[-1]]],22,23],[[[117,[-1]],3],[[111,[-1]]],[125,60]],[[-1,3,[17,[-1]]],[[111,[-1]]],[61,126,127,128,125,60]],[[[12,[-1]],3],[[111,[-1]]],[127,128,125,60]],[[118,24],[[71,[2,129]]]],[[119,24],[[71,[2,129]]]],[[[111,[-1]],24],25,27],[[[120,[-1]],24],25,27],[[[117,[-1]],24],25,27],[[[121,[-1]],24],25,27],[-1,-1,[]],[[[117,[-1]]],[[116,[-1]]],61],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[117,[-2]]],130,[]],[65,[[121,[-1]]],67],[65,[[121,[-1]]],67],[65,[[121,[-1]]],67],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[121,[-1]],65],[],67],[[[121,[-1]],65],[],67],[[[121,[-1]],65],[],67],0,[[[116,[-1]],[123,[-1]],[56,[11]]],[[116,[-1]]],60],[[[116,[-1]],[123,[-1]]],[[116,[-1]]],60],0,[-1,[[121,[32]]],[[113,[32]]]],0,[[[123,[-1]]],[[116,[-1]]],60],[[[123,[-1]],[56,[11]]],[[116,[-1]]],60],[[[111,[-1]],-2,7],[[26,[-1]]],60,114],[[[111,[-1]],7],[[26,[-1]]],60],[-1,[[121,[51]]],[[113,[51]]]],[[[116,[-1]],[122,[-1]],[123,[-1]],[56,[11]]],[[116,[-1]]],60],[[[116,[-1]],[122,[-1]],[123,[-1]]],[[116,[-1]]],60],[[[116,[-1]],[123,[-1]]],2,60],[[[116,[-1]],[123,[-1]],[56,[11]]],2,60],0,[[[117,[-1]],3,[121,[-1]]],[[111,[-1]]],[125,60]],[[[12,[-1]],3,[121,[-1]]],[[111,[-1]]],[127,128,125,60]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[52,[-1]]],[[52,[-1]]],18],[[[109,[-1]]],[[109,[-1]]],18],[131,131],[132,132],[[[112,[-1]]],[[112,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],[[52,[-1]]],[]],[53],[53],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[52,[-1]],[52,[-1]]],22,23],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[53,24],25],[[[52,[-1]],24],25,27],[[[109,[-1]],24],25,27],[[131,24],25],[[132,24],25],[[[112,[-1]],24],25,27],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[102,[[112,[-1]]],[]],[-1,-1,[]],[100,[[112,[-1]]],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[65,[[52,[-1]]],67],[65,[[52,[-1]]],67],[65,[[52,[-1]]],67],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[52,[-1]],65],[],67],[[[52,[-1]],65],[],67],[[[52,[-1]],65],[],67],0,0,0,0,0,0,[[100,3],[[112,[-1]]],[]],[[[112,[-1]],[52,[-1]]],[[112,[-1]]],[]],0,[131,[[12,[51]]]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[[[112,[-1]],-1],[[112,[-1]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[133,133],[134,134],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[133,133],135],[[-1,-2],135,[],[]],[[],[[136,[-1]]],[]],[[],134],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,134,5,106],2,137],[[133,133],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,133],[[57,[[56,[51]]]]],[]],[[[136,[-1]],133],[[57,[[56,[51]]]]],138],[[139,24],25],[[140,24],25],[[[136,[-1]],24],25,27],[[133,24],25],[[[141,[-1]],24],25,27],[[134,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[136,[-1]],133],[[57,[-1]]],[]],[[[136,[-1]],133],[[57,[-1]]],[]],[[[136,[-1]],107],[[57,[-1]]],[]],[[[136,[-1]],107],[[57,[-1]]],[]],[[133,-1],2,39],[[[136,[-1]],107],[],[]],[[[136,[-1]],133],[],[]],[[[136,[-1]],133],[],[]],[[[136,[-1]],107],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[41,[-1,40]]],[[41,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[42,[-1,40]]],[[42,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[[[43,[-1,40]]],[[43,[6,40]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[136,[-1]]],22,[]],[[-1,107],[[57,[142]]],[]],[[-1,107],[[57,[142]]],[]],[[-1,107],[[57,[142]]],[]],[[[136,[-1]]],107,[]],[[107,107,-1],139,130],[[],[[136,[-1]]],[]],0,[[133,133],[[57,[135]]]],[-1,[[56,[51]]],[]],0,[[[136,[-1]],-1],133,[]],[[-1,143,143,51,[12,[51]],5,106],2,[]],[[-1,[56,[51]],5,106],2,[]],[[139,143,143,51,[12,[51]],5,106],2],[[[136,[-1]],143,143,51,[12,[51]],5,106],2,138],[-1,-2,[],[]],[-1,-2,[],[]],[[[56,[51]],65,5,[44,[51]]],[[56,[51]]]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,[[71,[-2]]],[],[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,72,[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[-1,[[57,[-2]]],[],[]],[[134,-1],[[56,[51]]],137],0,0],"c":[],"p":[[3,"Frame",0],[15,"tuple"],[3,"Color",0],[15,"u8"],[15,"f32"],[8,"Any",1354],[3,"Graphics",0],[3,"Queue",1355],[3,"Device",1355],[8,"CastFrom",1356],[3,"UPx",1357],[3,"Rect",1358],[3,"RenderingGraphics",0],[3,"ClipGuard",0],[3,"TextureCollection",0],[3,"CollectedTexture",0],[4,"Origin",0],[8,"Clone",1359],[3,"SharedTexture",0],[3,"TextureRegion",0],[8,"Clipped",0],[15,"bool"],[8,"PartialEq",1360],[3,"Formatter",1361],[6,"Result",1361],[3,"PreparedGraphic",0],[8,"Debug",1361],[3,"Kludgine",0],[3,"Texture",0],[4,"AnyTexture",0],[4,"Family",1362],[3,"Lp",1357],[4,"Style",1362],[3,"FontSystem",1363],[3,"Weight",1362],[4,"TextureFormat",1364],[3,"Color",1365],[4,"DynamicImage",1366],[8,"Hasher",1367],[3,"Global",1368],[3,"Box",1369],[3,"Arc",1370],[3,"Rc",1371],[3,"Size",1372],[3,"TextureUsages",1364],[15,"slice"],[8,"Unit",1373],[15,"i32"],[8,"Div",1374],[3,"Buffer",1375],[3,"Px",1357],[4,"TextOrigin",994],[3,"PreparedText",994],[3,"ImageDataLayout",1364],[3,"RenderPassDescriptor",1355],[3,"Point",1376],[4,"Option",1377],[3,"Angle",1378],[8,"IntoSigned",1373],[8,"Copy",1379],[8,"Default",1380],[8,"ShaderScalable",0],[8,"IsZero",1373],[4,"LoadOp",1355],[3,"Fraction",1381],[4,"FamilyOwned",1365],[8,"ScreenScale",1373],[3,"Attrs",1365],[4,"Width",1382],[3,"SubmissionIndex",1355],[4,"Result",1383],[3,"TypeId",1354],[3,"Window",560],[3,"DeviceId",1384],[6,"AxisId",1384],[15,"f64"],[3,"WindowHandle",560],[4,"CompositeAlphaMode",1364],[3,"PhysicalPosition",1385],[8,"Send",1379],[3,"WindowAttributes",560],[3,"PathBuf",1386],[3,"Duration",1387],[4,"Ime",1384],[4,"KeyCode",1388],[3,"KeyEvent",1384],[3,"Limits",1364],[3,"Modifiers",1384],[4,"MouseButton",1384],[4,"ElementState",1384],[4,"MouseScrollDelta",1384],[4,"TouchPhase",1384],[4,"PowerPreference",1364],[15,"char"],[3,"Instant",1389],[4,"EventLoopError",1390],[8,"FnMut",1391],[8,"UnwindSafe",1392],[4,"ImePurpose",1393],[15,"str"],[4,"Theme",1393],[3,"String",1394],[3,"Touch",1384],[15,"i64"],[3,"Window",1393],[3,"Renderer",706],[15,"usize"],[3,"Drawing",706],[3,"MeasuredText",994],[8,"ScreenUnit",1373],[3,"Shape",764],[3,"Text",994],[8,"Into",1395],[8,"TextureSource",0],[8,"ShapeSource",0],[3,"PathBuilder",764],[3,"Path",764],[4,"LineCap",764],[4,"LineJoin",764],[4,"PathEvent",764],[3,"StrokeOptions",764],[6,"ControlPoint",764],[6,"Endpoint",764],[8,"DefaultStrokeWidth",764],[8,"FloatConversion",1373],[8,"Neg",1374],[8,"Add",1374],[8,"Ord",1360],[3,"Error",1361],[8,"IntoIterator",1396],[3,"MeasuredGlyph",994],[3,"GlyphInfo",994],[3,"ObjectId",1166],[4,"TileMapFocus",1166],[4,"Ordering",1360],[3,"ObjectLayer",1166],[8,"Layers",1166],[8,"Object",1166],[3,"Tiles",1166],[4,"TileKind",1166],[3,"ObjectInfo",1166],[8,"Layer",1166],[3,"TileOffset",1166],[8,"WindowBehavior",560],[8,"Message",560],[13,"Begin",982],[13,"End",982],[13,"Quadratic",982],[13,"Cubic",982],[13,"Line",982],[13,"Object",1352]],"a":{"app_id":[569],"class":[569],"class_name":[569]}}\ +"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSDIISSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLKLMKLLLMLLLLLLLALLLLLLMLALLALLLLLLKLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLQIQDQDIDMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMLMLLLLLLLLLMLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMNNNDDDDDENLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMLLMLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMNIIINDDDNRNEEDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLMLKMLKKLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMM","n":["ALICEBLUE","ANTIQUEWHITE","AQUA","AQUAMARINE","AZURE","AnyTexture","BEIGE","BISQUE","BLACK","BLANCHEDALMOND","BLUE","BLUEVIOLET","BROWN","BURLYWOOD","CADETBLUE","CHARTREUSE","CHOCOLATE","CLEAR_BLACK","CLEAR_WHITE","CORAL","CORNFLOWERBLUE","CORNSILK","CRIMSON","CYAN","Center","ClipGuard","Clipped","Collected","CollectedTexture","Color","Custom","DARKBLUE","DARKCYAN","DARKGOLDENROD","DARKGRAY","DARKGREEN","DARKGREY","DARKKHAKI","DARKMAGENTA","DARKOLIVEGREEN","DARKORANGE","DARKORCHID","DARKRED","DARKSALMON","DARKSEAGREEN","DARKSLATEBLUE","DARKSLATEGRAY","DARKSLATEGREY","DARKTURQUOISE","DARKVIOLET","DEEPPINK","DEEPSKYBLUE","DIMGRAY","DIMGREY","DODGERBLUE","Drawable","DrawableExt","DrawableSource","FIREBRICK","FLORALWHITE","FORESTGREEN","FUCHSIA","Frame","GAINSBORO","GHOSTWHITE","GOLD","GOLDENROD","GRAY","GREEN","GREENYELLOW","GREY","Graphics","HONEYDEW","HOTPINK","INDIANRED","INDIGO","IVORY","KHAKI","Kludgine","LAVENDER","LAVENDERBLUSH","LAWNGREEN","LEMONCHIFFON","LIGHTBLUE","LIGHTCORAL","LIGHTCYAN","LIGHTGOLDENRODYELLOW","LIGHTGRAY","LIGHTGREEN","LIGHTGREY","LIGHTPINK","LIGHTSALMON","LIGHTSEAGREEN","LIGHTSKYBLUE","LIGHTSLATEGRAY","LIGHTSLATEGREY","LIGHTSTEELBLUE","LIGHTYELLOW","LIME","LIMEGREEN","LINEN","MAGENTA","MAROON","MEDIUMAQUAMARINE","MEDIUMBLUE","MEDIUMORCHID","MEDIUMPURPLE","MEDIUMSEAGREEN","MEDIUMSLATEBLUE","MEDIUMSPRINGGREEN","MEDIUMTURQUOISE","MEDIUMVIOLETRED","MIDNIGHTBLUE","MINTCREAM","MISTYROSE","MOCCASIN","NAVAJOWHITE","NAVY","OLDLACE","OLIVE","OLIVEDRAB","ORANGE","ORANGERED","ORCHID","Origin","PALEGOLDENROD","PALEGREEN","PALETURQUOISE","PALEVIOLETRED","PAPAYAWHIP","PEACHPUFF","PERU","PINK","PLUM","POWDERBLUE","PURPLE","PreparedGraphic","REBECCAPURPLE","RED","ROSYBROWN","ROYALBLUE","Region","RenderingGraphics","SADDLEBROWN","SALMON","SANDYBROWN","SEAGREEN","SEASHELL","SIENNA","SILVER","SKYBLUE","SLATEBLUE","SLATEGRAY","SLATEGREY","SNOW","SPRINGGREEN","STEELBLUE","ShaderScalable","ShapeSource","Shared","SharedTexture","TAN","TEAL","THISTLE","TOMATO","TURQUOISE","Texture","Texture","TextureCollection","TextureRegion","TextureSource","TopLeft","VIOLET","WHEAT","WHITE","WHITESMOKE","YELLOW","YELLOWGREEN","abort","alpha","alpha_f32","app","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_ref","as_ref","blue","blue_f32","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clip_rect","clipped_to","clipped_to","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cosmic_text","deref","deref","deref","deref_mut","deref_mut","device","device","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","downcast","drop","drop","drop","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","figures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","font_family","font_size","font_style","font_system","font_system","font_weight","format","format","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_image","green","green_f32","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_valid_bit_pattern","line_height","new","new","new","new","new","new_f32","new_with_data","next_frame","pop_clip","pop_clip","pop_clip","prepare","prepare","prepare","prepare_entire_colection","prepare_partial","prepare_sized","prepare_text","push_clip","push_clip","push_clip","push_image","push_texture","queue","queue","red","red_f32","region","render","render","render","render_into","reset_text_attributes","resize","rotate_by","rotate_by","rotation","scale","scale","scale","scale","scale","set_font_family","set_font_size","set_font_style","set_font_weight","set_line_height","set_text_attributes","set_text_stretch","shapes","size","size","size","size","size","size","source","submit","text","text_attrs","text_stretch","tilemap","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","translate_by","translation","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","upcast","wgpu","with_alpha","with_blue","with_green","with_red","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","app_name","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","axis_motion","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast_into","cast_into","cast_into","clear_color","clone","clone_into","close_requested","composite_alpha_mode","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","focused","from","from","from","from_cast","from_cast","from_cast","fullscreen","handle","hovered_file","hovered_file_cancelled","ime","initial_window_attributes","initialize","inner_size","inner_size","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","key_pressed","keyboard_input","last_frame_rendered_in","limits","max_inner_size","maximized","min_inner_size","modifiers","modifiers_changed","mouse_button_pressed","mouse_input","mouse_wheel","occlusion_changed","ocluded","parent_window","position","position","power_preference","preferred_theme","prepare","received_character","redraw_at","redraw_in","render","resizable","resize_increments","resized","run","run","run_with","scale_factor_changed","send","set_ime_allowed","set_ime_cursor_area","set_ime_purpose","set_inner_size","set_max_inner_size","set_min_inner_size","set_needs_redraw","set_position","set_title","smart_magnify","theme","theme_changed","title","title","to_owned","touch","touchpad_magnify","touchpad_pressure","touchpad_rotate","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","upcast","upcast","upcast","visible","window_icon","window_level","winit","winit","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","cast","cast","cast_into","cast_into","clipped_to","command_count","default","deref","deref_mut","downcast","downcast","draw_measured_text","draw_shape","draw_text","draw_text_buffer","draw_texture","draw_textured_shape","drop","fmt","fmt","from","from","from_cast","from_cast","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","measure_text","measure_text_buffer","new_frame","pop_clip","push_clip","render","triangle_count","try_from","try_from","try_into","try_into","type_id","type_id","upcast","upcast","vertex_count","Begin","Bevel","Butt","ControlPoint","Cubic","DefaultStrokeWidth","End","Endpoint","Line","LineCap","LineJoin","Miter","MiterClip","Path","PathBuilder","PathEvent","Quadratic","Round","Round","Shape","Square","StrokeOptions","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","cubic_curve_to","cubic_curve_to","default","default","default","default_stroke_width","downcast","downcast","downcast","downcast","downcast","downcast","downcast","end_cap","eq","eq","eq","eq","fill","filled_circle","filled_rect","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_iter","from_lp","from_px","from_upx","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_components","into_lp","into_px","into_upx","line_join","line_to","line_to","line_width","lp_wide","miter_limit","new","new_textured","prepare","prepare","px_wide","quadratic_curve_to","quadratic_curve_to","reset","reset","start_cap","stroke","stroked_rect","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","tolerance","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","x","x","y","y","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","GlyphInfo","MeasuredGlyph","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","downcast","downcast","end","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_lp","from_px","from_upx","glyphs","info","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","into_components","into_lp","into_px","into_upx","left","level","line","line_height","line_width","metadata","new","origin","origin","rect","rotate_by","scale","size","start","text","to_owned","to_owned","to_owned","to_owned","to_owned","translate_by","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","wrap_at","wrap_at","Color","Layer","Layers","Object","Object","ObjectId","ObjectInfo","ObjectLayer","Point","TILE_SIZE","Texture","TileKind","TileMapFocus","TileOffset","Tiles","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cast","cast","cast","cast","cast","cast","cast","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","cast_into","clone","clone","clone_into","clone_into","cmp","compare","default","default","downcast","downcast","downcast","downcast","downcast","downcast","downcast","draw","eq","equivalent","equivalent","equivalent","find_object","find_object","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","from_cast","get","get_mut","get_nth","get_nth_mut","hash","index","index","index_mut","index_mut","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_components","into_components","is_empty","layer","layer","layer","len","new","new","object","partial_cmp","position","position","push","render","render","render","render","to_owned","to_owned","translate_coordinates","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","upcast","upcast","upcast","world_coordinate","id","layer"],"q":[[0,"kludgine"],[592,"kludgine::app"],[738,"kludgine::render"],[796,"kludgine::shapes"],[1014,"kludgine::shapes::PathEvent"],[1026,"kludgine::text"],[1201,"kludgine::tilemap"],[1387,"kludgine::tilemap::TileMapFocus"],[1389,"core::any"],[1390,"wgpu"],[1391,"wgpu"],[1392,"figures::units"],[1393,"figures::rect"],[1394,"core::clone"],[1395,"core::cmp"],[1396,"core::fmt"],[1397,"core::fmt"],[1398,"figures::units"],[1399,"fontdb"],[1400,"core::default"],[1401,"cosmic_text::attrs"],[1402,"image::dynimage"],[1403,"core::hash"],[1404,"alloc::alloc"],[1405,"alloc::boxed"],[1406,"alloc::sync"],[1407,"alloc::rc"],[1408,"figures::size"],[1409,"wgpu_types"],[1410,"core::ops::arith"],[1411,"cosmic_text::buffer"],[1412,"figures::units"],[1413,"core::option"],[1414,"figures::angle"],[1415,"figures::traits"],[1416,"figures::traits"],[1417,"cosmic_text::attrs"],[1418,"wgpu"],[1419,"core::any"],[1420,"winit::event"],[1421,"core::marker"],[1422,"core::time"],[1423,"winit::event"],[1424,"winit::event"],[1425,"winit::error"],[1426,"core::ops::function"],[1427,"core::panic::unwind_safe"],[1428,"winit::window"],[1429,"winit::window"],[1430,"winit::event"],[1431,"figures::traits"],[1432,"core::cmp"]],"d":["Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A type that can be any TextureSource implementation that …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The grapihc should be drawn so that the center of the …","A clipped surface.","A graphics context that has been clipped.","A CollectedTexture.","A texture that is contained within a TextureCollection.","A red, green, blue, and alpha color value stored in …","The graphic should be drawn so that the provided relative …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A drawable source with optional translation, rotation, and …","Translation, rotation, and scaling for drawable types.","A type that can be drawn in Kludgine.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A frame that can be rendered.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A context used to prepare graphics to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A 2d graphics instance.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","The origin of a prepared graphic.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A graphic that is on the GPU and ready to render.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A TextureRegion.","A graphics context used to render previously prepared …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","A unit that is able to be scaled by the GPU shader.","A source of triangle data for a shape.","A SharedTexture.","A cloneable texture.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","An image stored on the GPU.","A Texture.","A collection of multiple textures, managed as a single …","A region of a SharedTexture.","A type that is rendered using a texture.","The graphic should be drawn so that the top-left of the …","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Equivalent to the CSS color keywords of the same name.","Aborts rendering this frame.","Returns the alpha component of this color, range 0-255. A …","Returns the alpha component of this color, range 0.0-1.0. …","Application and Windowing Support.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the blue component of this color, range 0-255.","Returns the blue component of this color, range 0.0-1.0.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current rectangular area of the context.","Returns a ClipGuard that causes all drawing operations to …","Returns a ClipGuard that causes all drawing operations to …","","","","","","","","","","","","","","","","","","","Returns a reference to the underlying wgpu::Device.","Returns a reference to the underlying wgpu::Device.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current font family.","Returns the current font size.","Returns the current font style.","Returns a mutable reference to the cosmic_text::FontSystem …","Returns a mutable reference to the cosmic_text::FontSystem …","Returns the current font weight.","Returns the format of the texture backing this collection.","The format of the texture.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Creates a texture from image.","Returns the green component of this color, range 0-255.","Returns the green component of this color, range 0.0-1.0.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the current line height.","Returns a new atlas of the given size and format.","Returns a new instance of Kludgine with the provided …","Returns a new instance.","Returns a new color with the provided components.","Creates a new texture of the given size, format, and …","Returns a new color by converting each component from its …","Returns a new texture of the given size, format, and …","Begins rendering a new frame.","Restores the clipping rect to the previous state before …","","","Creates a Graphics context for this frame that can be used …","Returns a PreparedGraphic that renders this texture at dest…","Prepares to render this texture at the given location.","Returns a PreparedGraphic for the entire texture.","Prepares the source area to be rendered at dest.","Prepares to render this texture with size. The returned …","Prepares the text layout contained in buffer to be …","Pushes a new clipping state to the clipping stack.","","","Pushes an image to this collection.","Pushes image data to a specific region of the texture.","Returns a reference to the underlying wgpu::Queue.","Returns a reference to the underlying wgpu::Queue.","Returns the red component of this color, range 0-255.","Returns the red component of this color, range 0.0-1.0.","Returns a reference to this texture that only renders a …","An easy-to-use batching renderer.","Creates a RenderingGraphics context for this frame which …","Renders the prepared graphic at origin, rotating and …","Creates a RenderingGraphics that renders into texture for …","Resets all of the text related properties to their default …","Updates the size and scale of this Kludgine instance.","Rotates self by angle.","","Rotate the source before rendering.","Scales self by factor.","Returns the current scaling factor of the display being …","","Returns the current scaling factor for the display this …","Scale the source before rendering.","Sets the current font family.","Sets the font size.","Sets the current font style.","Sets the current font weight.","Sets the line height for multi-line layout.","Sets the current text attributes.","Sets the current text stretching.","Types for drawing paths and shapes.","Returns the current size of the graphics area being …","Returns the current size of the underlying texture.","Returns the currently configured size to render.","Returns the current clipped size of the context.","The size of the texture.","Returns the size of the region being drawn.","The source to draw.","Submits all of the commands for this frame to the GPU.","Types for text rendering.","Returns the current text attributes.","Returns the current text stretch.","","","","","","","","Translates self by point.","","Translate the source before rendering.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new color replacing this colors alpha channel …","Returns a new color replacing this colors blue channel …","Returns a new color replacing this colors green channel …","Returns a new color replacing this colors red channel with …","The type of value provided during initialize().","A message with an associated response type.","The type returned when responding to this message.","An open window.","The message type that is able to be sent to individual …","Attributes of a desktop window.","The behavior of a window.","A handle to a window.","Whether the window is active or not.","Name of the application","","","","","","","A multi-axis input device has registered motion.","","","","","","","","","","","","","Returns the color to clear the window with. If None is …","","","The window has been requested to be closed. This can …","Returns the composite alpha mode to use for rendering the …","If true, the contents of the window will be prevented from …","A cursor has hovered over the window.","A cursor is no longer hovering over the window.","A cursor has moved over the window.","Returns the position of the mouse cursor within this …","Controls the visibility of the window decorations.","","","","","A file has been dropped on the window.","Returns the duration that has elapsed since the last frame …","The collection of window buttons that are enabled.","A WindowEvent has been received by this window.","","The window has gained or lost keyboard focus. …","Returns true if the window is currently focused for …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The full screen configuration for the window.","Returns a handle to this window, which can be used to send …","A file is hovering over the window.","A file being overed has been cancelled.","An international input even thas occurred for the window.","Returns the window attributes to use when creating the …","Initialize a new instance from the provided context.","Returns the inner size of the window.","The inner size of the window.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","Returns true if the given virtual key code is currently …","A keyboard event occurred while the window was focused.","Returns the duration taken between when the last frame’s …","Returns the limits to apply for the wgpu instance.","The maximum inner size of the window.","The maximized state of the window.","The minimum inner size of the window.","Returns currently active modifiers.","The keyboard modifier keys have changed. …","Returns true if the given button is currently pressed.","A mouse button was pressed or released.","An event from a mouse wheel.","The window has been occluded or revealed. …","Returns true if the window is currenly not visible because …","The parent window of this window.","Returns the current position of the window.","The position of the top-left of the frame of the window.","Returns the power preference to initialize wgpu with.","The window’s preferred theme.","Prepare the window to render.","An input event has generated a character.","Sets the window to redraw at the provided time.","Sets the window to redraw after a duration.","Render the contents of the window.","If true, the window can be resized by the user.","The increments in which the window will be allowed to …","The window has been resized. RunningWindow::inner_size() …","Runs a callback as a single window. Continues to run until …","Launches a Kludgine app using this window as the primary …","Launches a Kludgine app using this window as the primary …","The window’s scale factor has changed. …","Sends message to the window. If the message cannot be","Sets whether IME input is allowed on the window.","Sets the cursor area for IME input suggestions.","Sets the IME purpose.","Sets the inner size of the window.","Sets the window’s maximum inner size.","Sets the window’s minimum inner size.","Sets the window to redraw as soon as it can.","Sets the current position of the window.","Sets the title of the window.","A request to smart-magnify the window.","Returns the current user interface theme for the window.","The window’s theme has been updated. …","Returns the current title of the window.","The title of the window.","","A touch event.","A touchpad-originated magnification gesture.","A pressure-sensitive touchpad was touched.","A touchpad-originated rotation gesture.","If true, the window’s chrome will be hidden and only …","","","","","","","","","","","","","The visibility state of the window.","The window’s icon.","The level of the window.","","Returns a reference to the underlying winit window.","A composite, multi-operation graphic, created with an …","An easy-to-use graphics renderer that batches operations …","","","","","","","","","","","","","Returns a ClipGuard that causes all drawing operations to …","Returns the number of drawing operations that will be sent …","","","","","","Prepares the text layout contained in buffer to be …","Draws a shape at the origin, rotating and scaling as …","Draws text using the current text settings.","Prepares the text layout contained in buffer to be …","Draws texture at destination, scaling as necessary.","Draws a shape that was created with texture coordinates, …","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","Measures text using the current text settings.","Measures buffer and caches the results using default_color …","Clears the currently prepared graphics and returns a new …","","","Renders the prepared graphics from the last frame.","Returns the number of triangles that are being rendered in …","","","","","","","","","Returns the number of vertexes that compose the drawing …","Begins a path. Must be at the start.","A beveled corner is to be used to join path segments. The …","The stroke for each sub-path does not extend beyond its …","A control point used to create curves.","A cubic curve (two control points).","Controls the default stroke width for a given unit.","Ends the path. Must be the last entry.","A point on a Path.","A straight line segment.","Line cap as defined by the SVG specification.","Line join as defined by the SVG specification.","A sharp corner is to be used to join path segments.","Same as a miter join, but if the miter limit is exceeded, …","A geometric shape defined by a path.","Builds a Path.","An entry in a Path.","A quadratic curve (one control point).","At each end of each sub-path, the shape representing the …","A round corner is to be used to join path segments.","A tesselated shape.","At the end of each sub-path, the shape representing the …","Options for stroking lines on a path.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the built path.","Returns the built path.","","","","","","","","","","","","","","","","","","","","","","","","","","","Closes the path, connecting the current location to the …","Closes the path, connecting the current location to the …","Create a cubic curve from the current location to end_at …","Create a cubic curve from the current location to end_at …","","","","Returns the default width of a line stroked in this unit.","","","","","","","","What cap to use at the end of each sub-path.","","","","","Fills this path with color.","Returns a circle that is filled solid with color.","Returns a rectangle that is filled solid with color.","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","See the SVG specification.","Create a straight line from the current location to end_at.","Create a straight line from the current location to end_at.","The width of the line.","Returns the default options with a line width of lp.","See the SVG specification.","Creates a new path with the initial position start_at.","Creates a new path with the initial position start_at.","Uploads the shape to the GPU, applying texture to the …","Uploads the shape to the GPU.","Returns the default options with a line width of px.","Create a quadratic curve from the current location to …","Create a quadratic curve from the current location to …","Clears this builder to a state as if it had just been …","Clears this builder to a state as if it had just been …","What cap to use at the start of each sub-path.","Strokes this path with color and options.","Returns a rectangle that has its outline stroked with color…","","","","","","","Maximum allowed distance to the path when building an …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The x-axis component.","The x-axis component.","The y-axis component","The y-axis component","The location to begin at.","Whether the path should be closed.","The control point for the curve.","The first control point for the curve.","The second control point for the curve.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The texture coordinate for this path event.","The end location of the line.","The end location of the curve.","The end location of the curve.","Render the text such that the center of the extents of the …","Render the text such that the text is offset by a custom …","Render the text such that the leftmost pixel of the …","Information about a glyph in a MeasuredText.","Instructions for drawing a laid out glyph.","The dimensions of a measured text block.","Text that is ready to be rendered on the GPU.","A text drawing command.","Controls the origin of PreparedText.","Render the text such that the top-left of the first line …","","","","","","","","","","","","","The measurement above the baseline of the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The color to draw the text using.","","","","The measurement below the baseline of the text.","","","","","","","End index of cluster in original line","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","The individual glyhs that were laid out.","Information about what glyph this is.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","Unicode BiDi embedding level, character is left-to-right …","The line index this glyph is visually laid out on.","The measurement above the baseline of the text.","The width of the line this glyph is on.","Custom metadata set in cosmic_text::Attrs.","Returns a text command that draws text with color.","Sets the origin for the text drawing operation and returns …","The origin to draw the text around.","Returns the destination rectangle for this glyph.","","","The total size of the measured text, encompassing all …","Start index of cluster in original line","The text to be drawn.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the width to wrap text at and returns self.","The width to wrap the text at. If None, no wrapping is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,17,0,0,30,0,0,17,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,3,3,3,3,0,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,30,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,30,0,3,3,3,3,3,0,30,0,0,0,17,3,3,3,3,3,3,1,3,3,0,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,7,7,3,3,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,7,13,21,15,16,3,17,19,20,15,16,3,17,19,20,0,7,14,19,7,14,13,7,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,16,14,3,17,19,20,3,3,3,17,17,17,19,19,19,20,20,20,0,16,26,28,7,14,3,29,17,19,20,30,28,28,28,28,7,28,15,29,1,13,37,37,37,15,16,26,28,7,14,3,3,29,17,19,19,20,30,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,29,3,3,3,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,3,17,3,28,15,28,7,3,29,3,29,28,21,13,7,1,16,29,15,29,29,7,21,13,7,15,15,13,7,3,3,19,0,1,26,1,28,28,146,37,37,146,13,37,28,37,28,28,28,28,28,28,28,0,13,15,28,7,29,20,37,1,0,28,28,0,15,16,3,17,19,20,146,37,37,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,1,13,37,15,16,26,28,7,14,3,29,17,19,20,30,0,3,3,3,3,147,0,148,0,148,0,0,0,84,84,76,84,80,76,84,80,147,76,84,80,76,84,80,76,84,80,76,84,80,147,80,80,147,147,84,147,147,147,76,84,84,76,84,80,147,76,84,147,80,147,76,76,84,80,76,84,80,84,76,147,147,147,147,147,76,84,76,84,80,76,84,80,84,80,76,84,80,76,147,76,147,84,84,84,76,147,76,147,147,147,76,84,76,84,147,84,147,147,76,76,147,84,84,147,0,147,147,147,80,76,76,76,76,76,76,76,76,76,147,76,147,76,84,80,147,147,147,147,84,76,84,80,76,84,80,76,84,80,76,84,80,84,84,84,0,76,0,0,109,111,109,111,109,111,109,111,109,111,109,111,109,109,111,109,109,109,111,109,109,109,109,109,109,109,109,111,109,111,109,111,109,111,109,111,109,111,109,111,109,109,111,109,109,111,109,109,111,109,111,109,111,109,111,109,122,121,120,0,122,0,122,0,122,0,0,121,121,0,0,0,122,120,121,0,120,0,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,118,118,120,121,115,122,119,123,118,120,121,115,122,119,123,120,121,115,122,119,123,120,121,115,122,119,123,118,118,118,118,115,119,123,126,118,120,121,115,122,119,123,123,120,121,115,123,119,115,115,120,121,115,122,119,123,118,118,120,121,115,122,119,123,118,120,121,115,122,119,123,119,123,123,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,120,121,122,123,123,123,123,123,118,118,123,123,123,118,118,115,115,123,118,118,118,118,123,119,115,120,121,115,122,119,123,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,118,120,121,115,122,119,123,125,124,125,124,149,150,151,152,152,149,153,151,152,153,151,152,56,56,56,0,0,0,0,0,0,56,57,56,113,133,134,40,57,56,113,133,134,40,113,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,56,113,133,134,40,56,113,133,134,40,40,56,57,57,113,57,56,113,133,134,40,134,56,56,56,56,57,56,113,133,134,40,57,56,113,133,134,40,40,40,57,56,113,133,134,40,56,56,56,113,133,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,56,134,40,56,56,56,113,134,134,113,134,134,40,40,40,133,40,40,113,134,40,56,113,133,134,40,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,57,56,113,133,134,40,40,40,142,0,0,0,136,0,0,0,136,0,142,0,0,0,0,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,135,136,135,136,135,135,138,136,145,141,142,138,135,143,136,0,135,135,135,135,144,138,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,138,138,138,138,135,138,138,138,138,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,135,136,138,139,141,138,138,141,138,143,135,140,143,138,144,140,141,138,135,136,0,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,145,141,142,138,135,143,136,136,154,154],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[3,5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[7,8],[7,9],[3,4],[3,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,[[12,[11]]]],[[13,[12,[11]]],[[14,[13]]]],[[-1,[12,[11]]],[[14,[-1]]],[]],[15,15],[16,16],[3,3],[[[17,[-1]]],[[17,[-1]]],18],[19,19],[20,20],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[7],[[[14,[-1]]],[],21],[19],[7],[[[14,[-1]]],[],21],[13,9],[7,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[16,2],[[[14,[-1]]],2,21],[[3,3],22],[[[17,[-1]],[17,[-1]]],22,23],[[19,19],22],[[20,20],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],0,[[16,24],25],[[[26,[-1]],24],25,27],[[28,24],25],[[7,24],25],[[[14,[-1]],24],25,[21,27]],[[3,24],25],[[29,24],25],[[[17,[-1]],24],25,27],[[19,24],25],[[20,24],25],[[30,24],25],[28,31],[28,32],[28,33],[28,34],[7,34],[28,35],[15,36],[29,36],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[37,[-1,-2]]],38,39],[[[40,[-1]]],[[37,[[40,[-1]],-1]]],39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[41,3],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[29,19],[-1,-1,[]],[29,30],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[42,7],29],[3,4],[3,5],[[3,-1],2,43],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,22,[]],[28,32],[[[48,[11]],36,7],15],[[9,8,36,[48,[11]],5],28],[[28,9,8],7],[[4,4,4,4],3],[[7,[48,[11]],36,49],29],[[5,5,5,5],3],[[7,[48,[11]],36,49,[50,[4]]],29],[28,1],[-1,2,[]],[13,2],[7,2],[[1,9,8],7],[[16,[12,[-1]],7],[[26,[-1]]],[51,[53,[52]]]],[[29,[12,[-1]],7],[[26,[-1]]],51],[[15,[12,[-1]],7],[[26,[-1]]],51],[[29,[12,[11]],[12,[-1]],7],[[26,[-1]]],51],[[29,[17,[-1]],[48,[-1]],7],[[26,[-1]]],51],[[7,54,3,[56,[55]]],57],[[-1,[12,[11]]],2,[]],[[13,[12,[11]]],2],[[7,[12,[11]]],2],[[15,42,7],16],[[15,[50,[4]],58,[48,[11]],8],16],[13,8],[7,8],[3,4],[3,5],[[19,[12,[11]]],20],0,[[1,59,9,8],13],[[[26,[-1]],[60,[-1]],[61,[5]],[61,[62]],13],2,[63,64,39,65,66]],[[1,29,[67,[3]],9,8],13],[28,2],[[28,[48,[11]],5,8],2],[[-1,62],[[37,[-2,-3]]],[],[],[]],[[[37,[-1,-2]],62],[[37,[-1,-2]]],[],[]],0,[[-1,5],[[37,[-2,-3]]],[],[],[]],[13,68],[[[37,[-1,-2]],5],[[37,[-1,-2]]],[],[]],[28,68],0,[[28,69],2],[[28,-1],2,70],[[28,33],2],[[28,35],2],[[28,-1],2,70],[[28,71],2],[[28,72],2],0,[13,[[48,[11]]]],[15,[[48,[11]]]],[28,[[48,[11]]]],[7,[[48,[11]]]],[29,[[48,[11]]]],[20,[[48,[11]]]],0,[[1,8],[[61,[73]]]],0,[28,71],[28,72],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[37,[-3,-2]]],[],[],[]],[[[37,[-1,-2]],[60,[-2]]],[[37,[-1,-2]]],[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,[[3,4],3],[[3,4],3],[[3,4],3],[[3,4],3],0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[[-1,[76,[-2]],28,77,78,79],2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[61,[3]]],[]],[[[80,[-1]]],[[80,[-1]]],18],[[-1,-2],2,[],[]],[[-1,[76,[-2]],28],22,[],[]],[[-1,[50,[81]]],81,[]],0,[[-1,[76,[-2]],28,77],2,[],[]],[[-1,[76,[-2]],28,77],2,[],[]],[[-1,[76,[-2]],28,77,[82,[79]]],2,[],[]],[[[76,[-1]]],[[61,[[60,[55]]]]],83],0,[[],[[84,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[76,[-2]],28,85],2,[],[]],[[[76,[-1]]],86,83],0,[[-1,[76,[-2]],28,-2],2,[],[]],[[[80,[-1]],24],25,27],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],22,83],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[[76,[-1]]],[[80,[-1]]],83],[[-1,[76,[-2]],28,85],2,[],[]],[[-1,[76,[-2]],28],2,[],[]],[[-1,[76,[-2]],28,87],2,[],[]],[[],[[84,[-1]]],[]],[[[76,[-1]],7],-2,[],[]],[[[76,[-1]]],[[48,[11]]],83],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[76,[-1]],88],22,83],[[-1,[76,[-2]],28,77,89,22],2,[],[]],[[[76,[-1]]],86,83],[90,90],0,0,0,[[[76,[-1]]],91,83],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]],92],22,83],[[-1,[76,[-2]],28,77,93,92],2,[],[]],[[-1,[76,[-2]],28,77,94,95],2,[],[]],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],22,83],0,[[[76,[-1]]],[[60,[55]]],83],0,[[],96],0,[[-1,[76,[-2]],7],2,[],[]],[[-1,[76,[-2]],28,97],2,[],[]],[[[76,[-1]],98],2,83],[[[76,[-1]],86],2,83],[[-1,[76,[-2]],13],22,[],[]],0,0,[[-1,[76,[-2]],28],2,[],[]],[-1,[[74,[2,99]]],[100,83,101]],[[],[[74,[2,99]]]],[[],[[74,[2,99]]]],[[-1,[76,[-2]],28],2,[],[]],[[[80,[-1]],-1],[[74,[2,-1]]],[]],[[[76,[-1]],22],2,83],[[[76,[-1]],[12,[11]]],2,83],[[[76,[-1]],102],2,83],[[[76,[-1]],[48,[11]]],2,83],[[[76,[-1]],[61,[[48,[11]]]]],2,83],[[[76,[-1]],[61,[[48,[11]]]]],2,83],[[[76,[-1]]],2,83],[[[76,[-1]],[60,[55]]],2,83],[[[76,[-1]],103],2,83],[[-1,[76,[-2]],28,77],2,[],[]],[[[76,[-1]]],104,83],[[-1,[76,[-2]],28],2,[],[]],[[[76,[-1]]],105,83],0,[-1,-2,[],[]],[[-1,[76,[-2]],28,106],2,[],[]],[[-1,[76,[-2]],28,77,79,95],2,[],[]],[[-1,[76,[-2]],28,77,5,107],2,[],[]],[[-1,[76,[-2]],28,77,5,95],2,[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,[[[76,[-1]]],108,83],0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[[109,[12,[11]]],[[14,[109]]]],[109,110],[[],111],[109],[109],[-1,-2,[],[]],[-1,-2,[],[]],[[109,-2,[56,[-1]]],2,112,[[114,[[37,[[113,[-1]],-1]]]]]],[[109,-2],2,[66,65,51,64],[[114,[[37,[[115,[-1]],-1]]]]]],[[109,-2],2,112,[[114,[[37,[[40,[-1]],-1]]]]]],[[109,-2,3,[56,[55]]],2,112,[[114,[[37,[54,-1]]]]]],[[109,-1,[12,[-2]]],2,116,[51,65]],[[109,-3,-4],2,[66,65,51,64],[[117,[-1]]],[[114,[[37,[-2,-1]]]]],116],[109,2],[[109,24],25],[[111,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[109,-2],[[113,[-1]]],112,[[114,[[40,[-1]]]]]],[[109,54,3],[[113,[-1]]],112],[[111,7],109],[109,2],[[109,[12,[11]]],2],[[111,13],2],[109,110],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[109,110],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[120,120],[121,121],[[[115,[-1]]],[[115,[-1]]],18],[[[122,[-1]]],[[122,[-1]]],18],[[[119,[-1]]],[[119,[-1]]],18],[[[123,[-1]]],[[123,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]]],[[119,[-1]]],64],[[[118,[-1]],[124,[-1]],[124,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[124,[-1]],[124,[-1]],[125,[-1]]],[[118,[-1]]],64],[[],[[115,[-1]]],[]],[[],[[119,[-1]]],39],[[],[[123,[-1]]],126],[[],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[120,120],22],[[121,121],22],[[[115,[-1]],[115,[-1]]],22,23],[[[123,[-1]],[123,[-1]]],22,23],[[[119,[-1]],3],[[115,[-1]]],[127,64]],[[-1,3,[17,[-1]]],[[115,[-1]]],[39,128,129,130,127,64]],[[[12,[-1]],3],[[115,[-1]]],[129,130,127,64]],[[120,24],[[74,[2,131]]]],[[121,24],[[74,[2,131]]]],[[[115,[-1]],24],25,27],[[[122,[-1]],24],25,27],[[[119,[-1]],24],25,27],[[[123,[-1]],24],25,27],[-1,-1,[]],[[[119,[-1]]],[[118,[-1]]],39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[119,[-2]]],132,[]],[68,[[123,[-1]]],70],[68,[[123,[-1]]],70],[68,[[123,[-1]]],70],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[123,[-1]],68],[],70],[[[123,[-1]],68],[],70],[[[123,[-1]],68],[],70],0,[[[118,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[125,[-1]]],[[118,[-1]]],64],0,[-1,[[123,[32]]],[[114,[32]]]],0,[[[125,[-1]]],[[118,[-1]]],64],[[[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[115,[-1]],-2,7],[[26,[-1]]],64,116],[[[115,[-1]],7],[[26,[-1]]],64],[-1,[[123,[55]]],[[114,[55]]]],[[[118,[-1]],[124,[-1]],[125,[-1]]],[[118,[-1]]],64],[[[118,[-1]],[124,[-1]],[125,[-1]],[60,[11]]],[[118,[-1]]],64],[[[118,[-1]],[125,[-1]],[60,[11]]],2,64],[[[118,[-1]],[125,[-1]]],2,64],0,[[[119,[-1]],3,[123,[-1]]],[[115,[-1]]],[127,64]],[[[12,[-1]],3,[123,[-1]]],[[115,[-1]]],[129,130,127,64]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[56,[-1]]],[[56,[-1]]],18],[[[113,[-1]]],[[113,[-1]]],18],[133,133],[134,134],[[[40,[-1]]],[[40,[-1]]],18],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],[[56,[-1]]],[]],[57],[57],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[56,[-1]],[56,[-1]]],22,23],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[57,24],25],[[[56,[-1]],24],25,27],[[[113,[-1]],24],25,27],[[133,24],25],[[134,24],25],[[[40,[-1]],24],25,27],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[105,[[40,[-1]]],[]],[103,[[40,[-1]]],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[68,[[56,[-1]]],70],[68,[[56,[-1]]],70],[68,[[56,[-1]]],70],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[56,[-1]],68],[],70],[[[56,[-1]],68],[],70],[[[56,[-1]],68],[],70],0,0,0,0,0,0,[[103,3],[[40,[-1]]],[]],[[[40,[-1]],[56,[-1]]],[[40,[-1]]],[]],0,[133,[[12,[55]]]],[[-1,62],[[37,[-2,-3]]],[],[],[]],[[-1,5],[[37,[-2,-3]]],[],[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[60,[-2]]],[[37,[-3,-2]]],[],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[[40,[-1]],-1],[[40,[-1]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-3,[],[],[[10,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[135,135],[136,136],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[135,135],137],[[-1,-2],137,[],[]],[[],[[138,[-1]]],[]],[[],136],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,136,5,109],2,139],[[135,135],22],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,-2],22,[],[]],[[-1,135],[[61,[[60,[55]]]]],[]],[[[138,[-1]],135],[[61,[[60,[55]]]]],140],[[141,24],25],[[142,24],25],[[[138,[-1]],24],25,27],[[135,24],25],[[[143,[-1]],24],25,27],[[136,24],25],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[138,[-1]],135],[[61,[-1]]],[]],[[[138,[-1]],135],[[61,[-1]]],[]],[[[138,[-1]],110],[[61,[-1]]],[]],[[[138,[-1]],110],[[61,[-1]]],[]],[[135,-1],2,43],[[[138,[-1]],135],[],[]],[[[138,[-1]],110],[],[]],[[[138,[-1]],110],[],[]],[[[138,[-1]],135],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[45,[-1,44]]],[[45,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[46,[-1,44]]],[[46,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[[[47,[-1,44]]],[[47,[6,44]]],[]],[-1,[[2,[-2,-2]]],[],[]],[-1,[[2,[-2,-2]]],[],[]],[[[138,[-1]]],22,[]],[[-1,110],[[61,[144]]],[]],[[-1,110],[[61,[144]]],[]],[[-1,110],[[61,[144]]],[]],[[[138,[-1]]],110,[]],[[110,110,-1],141,132],[[],[[138,[-1]]],[]],0,[[135,135],[[61,[137]]]],[-1,[[60,[55]]],[]],0,[[[138,[-1]],-1],135,[]],[[-1,145,145,55,[12,[55]],5,109],2,[]],[[-1,[60,[55]],5,109],2,[]],[[141,145,145,55,[12,[55]],5,109],2],[[[138,[-1]],145,145,55,[12,[55]],5,109],2,140],[-1,-2,[],[]],[-1,-2,[],[]],[[[60,[55]],68,5,[48,[55]]],[[60,[55]]]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,[[74,[-2]]],[],[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,75,[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[-1,[[61,[-2]]],[],[]],[[136,-1],[[60,[55]]],139],0,0],"c":[],"p":[[3,"Frame",0],[15,"tuple"],[3,"Color",0],[15,"u8"],[15,"f32"],[8,"Any",1389],[3,"Graphics",0],[3,"Queue",1390],[3,"Device",1390],[8,"CastFrom",1391],[3,"UPx",1392],[3,"Rect",1393],[3,"RenderingGraphics",0],[3,"ClipGuard",0],[3,"TextureCollection",0],[3,"CollectedTexture",0],[4,"Origin",0],[8,"Clone",1394],[3,"SharedTexture",0],[3,"TextureRegion",0],[8,"Clipped",0],[15,"bool"],[8,"PartialEq",1395],[3,"Formatter",1396],[6,"Result",1396],[3,"PreparedGraphic",0],[8,"Debug",1396],[3,"Kludgine",0],[3,"Texture",0],[4,"AnyTexture",0],[4,"Family",1397],[3,"Lp",1392],[4,"Style",1397],[3,"FontSystem",1398],[3,"Weight",1397],[4,"TextureFormat",1399],[3,"Drawable",0],[8,"DrawableSource",0],[8,"Default",1400],[3,"Text",1026],[3,"Color",1401],[4,"DynamicImage",1402],[8,"Hasher",1403],[3,"Global",1404],[3,"Box",1405],[3,"Arc",1406],[3,"Rc",1407],[3,"Size",1408],[3,"TextureUsages",1399],[15,"slice"],[8,"Unit",1409],[15,"i32"],[8,"Div",1410],[3,"Buffer",1411],[3,"Px",1392],[4,"TextOrigin",1026],[3,"PreparedText",1026],[3,"ImageDataLayout",1399],[3,"RenderPassDescriptor",1390],[3,"Point",1412],[4,"Option",1413],[3,"Angle",1414],[8,"IntoSigned",1409],[8,"Copy",1415],[8,"ShaderScalable",0],[8,"IsZero",1409],[4,"LoadOp",1390],[3,"Fraction",1416],[4,"FamilyOwned",1401],[8,"ScreenScale",1409],[3,"Attrs",1401],[4,"Width",1417],[3,"SubmissionIndex",1390],[4,"Result",1418],[3,"TypeId",1389],[3,"Window",592],[3,"DeviceId",1419],[6,"AxisId",1419],[15,"f64"],[3,"WindowHandle",592],[4,"CompositeAlphaMode",1399],[3,"PhysicalPosition",1420],[8,"Send",1415],[3,"WindowAttributes",592],[3,"PathBuf",1421],[3,"Duration",1422],[4,"Ime",1419],[4,"KeyCode",1423],[3,"KeyEvent",1419],[3,"Limits",1399],[3,"Modifiers",1419],[4,"MouseButton",1419],[4,"ElementState",1419],[4,"MouseScrollDelta",1419],[4,"TouchPhase",1419],[4,"PowerPreference",1399],[15,"char"],[3,"Instant",1424],[4,"EventLoopError",1425],[8,"FnMut",1426],[8,"UnwindSafe",1427],[4,"ImePurpose",1428],[15,"str"],[4,"Theme",1428],[3,"String",1429],[3,"Touch",1419],[15,"i64"],[3,"Window",1428],[3,"Renderer",738],[15,"usize"],[3,"Drawing",738],[8,"ScreenUnit",1409],[3,"MeasuredText",1026],[8,"Into",1430],[3,"Shape",796],[8,"TextureSource",0],[8,"ShapeSource",0],[3,"PathBuilder",796],[3,"Path",796],[4,"LineCap",796],[4,"LineJoin",796],[4,"PathEvent",796],[3,"StrokeOptions",796],[6,"ControlPoint",796],[6,"Endpoint",796],[8,"DefaultStrokeWidth",796],[8,"FloatConversion",1409],[8,"Neg",1410],[8,"Add",1410],[8,"Ord",1395],[3,"Error",1396],[8,"IntoIterator",1431],[3,"MeasuredGlyph",1026],[3,"GlyphInfo",1026],[3,"ObjectId",1201],[4,"TileMapFocus",1201],[4,"Ordering",1395],[3,"ObjectLayer",1201],[8,"Layers",1201],[8,"Object",1201],[3,"Tiles",1201],[4,"TileKind",1201],[3,"ObjectInfo",1201],[8,"Layer",1201],[3,"TileOffset",1201],[8,"DrawableExt",0],[8,"WindowBehavior",592],[8,"Message",592],[13,"Begin",1014],[13,"End",1014],[13,"Quadratic",1014],[13,"Cubic",1014],[13,"Line",1014],[13,"Object",1387]],"a":{"app_id":[601],"class":[601],"class_name":[601]}}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/main/src/kludgine/lib.rs.html b/main/src/kludgine/lib.rs.html index 6f3398b31..af973e633 100644 --- a/main/src/kludgine/lib.rs.html +++ b/main/src/kludgine/lib.rs.html @@ -1636,6 +1636,100 @@ 1636 1637 1638 +1639 +1640 +1641 +1642 +1643 +1644 +1645 +1646 +1647 +1648 +1649 +1650 +1651 +1652 +1653 +1654 +1655 +1656 +1657 +1658 +1659 +1660 +1661 +1662 +1663 +1664 +1665 +1666 +1667 +1668 +1669 +1670 +1671 +1672 +1673 +1674 +1675 +1676 +1677 +1678 +1679 +1680 +1681 +1682 +1683 +1684 +1685 +1686 +1687 +1688 +1689 +1690 +1691 +1692 +1693 +1694 +1695 +1696 +1697 +1698 +1699 +1700 +1701 +1702 +1703 +1704 +1705 +1706 +1707 +1708 +1709 +1710 +1711 +1712 +1713 +1714 +1715 +1716 +1717 +1718 +1719 +1720 +1721 +1722 +1723 +1724 +1725 +1726 +1727 +1728 +1729 +1730 +1731 +1732

    #![doc = include_str!("../README.md")]
     // This crate uses unsafe, but attempts to minimize its usage. All functions
     // that utilize unsafe must explicitly enable it.
    @@ -1655,7 +1749,7 @@
     #[cfg(feature = "cosmic-text")]
     pub use cosmic_text;
     use figures::units::UPx;
    -use figures::{Fraction, FromComponents, IntoComponents, Point, Rect, Size};
    +use figures::{Angle, Fraction, FromComponents, IntoComponents, Point, Rect, Size};
     use intentional::Assert;
     use sealed::ShapeSource as _;
     use wgpu::util::DeviceExt;
    @@ -1664,6 +1758,7 @@
     use crate::buffer::Buffer;
     use crate::pipeline::{Uniforms, Vertex};
     use crate::sealed::ClipRect;
    +use crate::text::Text;
     
     /// Application and Windowing Support.
     #[cfg(feature = "app")]
    @@ -3193,9 +3288,13 @@
     }
     
     /// A source of triangle data for a shape.
    -pub trait ShapeSource<Unit, const TEXTURED: bool>: sealed::ShapeSource<Unit> {}
    +pub trait ShapeSource<Unit, const TEXTURED: bool>:
    +    DrawableSource + sealed::ShapeSource<Unit>
    +{
    +}
     
     impl<Unit> ShapeSource<Unit, true> for TextureBlit<Unit> where Unit: Add<Output = Unit> + Ord + Copy {}
    +impl<Unit> DrawableSource for TextureBlit<Unit> where Unit: Add<Output = Unit> + Ord + Copy {}
     
     impl<Unit> sealed::ShapeSource<Unit> for TextureBlit<Unit>
     where
    @@ -3274,4 +3373,93 @@
             }
         }
     }
    +
    +/// A type that can be drawn in Kludgine.
    +pub trait DrawableSource {}
    +
    +/// A drawable source with optional translation, rotation, and scaling.
    +pub struct Drawable<T, Unit> {
    +    /// The source to draw.
    +    pub source: T,
    +    /// Translate the source before rendering.
    +    pub translation: Point<Unit>,
    +    /// Rotate the source before rendering.
    +    pub rotation: Option<Angle>,
    +    /// Scale the source before rendering.
    +    pub scale: Option<f32>,
    +}
    +
    +impl<'a, Unit> From<Text<'a, Unit>> for Drawable<Text<'a, Unit>, Unit>
    +where
    +    Unit: Default,
    +{
    +    fn from(what: Text<'a, Unit>) -> Self {
    +        Self {
    +            source: what,
    +            translation: Point::default(),
    +            rotation: None,
    +            scale: None,
    +        }
    +    }
    +}
    +
    +impl<'a, T, Unit> From<&'a T> for Drawable<&'a T, Unit>
    +where
    +    T: DrawableSource,
    +    Unit: Default,
    +{
    +    fn from(what: &'a T) -> Self {
    +        Self {
    +            source: what,
    +            translation: Point::default(),
    +            rotation: None,
    +            scale: None,
    +        }
    +    }
    +}
    +
    +/// Translation, rotation, and scaling for drawable types.
    +pub trait DrawableExt<Source, Unit> {
    +    /// Translates `self` by `point`.
    +    fn translate_by(self, point: Point<Unit>) -> Drawable<Source, Unit>;
    +    /// Rotates `self` by `angle`.
    +    fn rotate_by(self, angle: Angle) -> Drawable<Source, Unit>;
    +    /// Scales `self` by `factor`.
    +    fn scale(self, factor: f32) -> Drawable<Source, Unit>;
    +}
    +
    +impl<T, Unit> DrawableExt<T, Unit> for Drawable<T, Unit> {
    +    fn translate_by(mut self, point: Point<Unit>) -> Drawable<T, Unit> {
    +        self.translation = point;
    +        self
    +    }
    +
    +    fn rotate_by(mut self, angle: Angle) -> Drawable<T, Unit> {
    +        self.rotation = Some(angle);
    +        self
    +    }
    +
    +    fn scale(mut self, factor: f32) -> Drawable<T, Unit> {
    +        self.scale = Some(factor);
    +        self
    +    }
    +}
    +
    +impl<T, Unit> DrawableExt<T, Unit> for T
    +where
    +    Drawable<T, Unit>: From<T>,
    +    Unit: Default,
    +{
    +    fn translate_by(self, point: Point<Unit>) -> Drawable<T, Unit> {
    +        Drawable::from(self).translate_by(point)
    +    }
    +
    +    fn rotate_by(self, angle: Angle) -> Drawable<T, Unit> {
    +        Drawable::from(self).rotate_by(angle)
    +    }
    +
    +    fn scale(self, factor: f32) -> Drawable<T, Unit> {
    +        Drawable::from(self).scale(factor)
    +    }
    +}
     

    \ No newline at end of file diff --git a/main/src/kludgine/render.rs.html b/main/src/kludgine/render.rs.html index 2921d2db4..d13a1b196 100644 --- a/main/src/kludgine/render.rs.html +++ b/main/src/kludgine/render.rs.html @@ -679,21 +679,6 @@ 679 680 681 -682 -683 -684 -685 -686 -687 -688 -689 -690 -691 -692 -693 -694 -695 -696
    use std::collections::{hash_map, HashMap};
     use std::ops::{Deref, DerefMut, Range};
     use std::sync::Arc;
    @@ -708,7 +693,7 @@
     };
     use crate::shapes::Shape;
     use crate::{
    -    sealed, Assert, ClipGuard, ClipRect, Clipped, Color, DefaultHasher, Graphics,
    +    sealed, Assert, ClipGuard, ClipRect, Clipped, Color, DefaultHasher, Drawable, Graphics,
         RenderingGraphics, ShapeSource, Texture, TextureBlit, TextureSource, VertexCollection,
     };
     
    @@ -750,22 +735,13 @@
     
     impl<'render, 'gfx> Renderer<'render, 'gfx> {
         /// Draws a shape at the origin, rotating and scaling as needed.
    -    pub fn draw_shape<Unit>(
    +    pub fn draw_shape<'shape, Unit>(
             &mut self,
    -        shape: &Shape<Unit, false>,
    -        origin: Point<Unit>,
    -        rotation_rads: Option<Angle>,
    -        scale: Option<f32>,
    +        shape: impl Into<Drawable<&'shape Shape<Unit, false>, Unit>>,
         ) where
             Unit: IsZero + ShaderScalable + figures::Unit + Copy,
         {
    -        self.inner_draw(
    -            shape,
    -            Option::<&Texture>::None,
    -            origin,
    -            rotation_rads,
    -            scale,
    -        );
    +        self.inner_draw(&shape.into(), Option::<&Texture>::None);
         }
     
         /// Draws `texture` at `destination`, scaling as necessary.
    @@ -777,40 +753,33 @@
             self.draw_textured_shape(
                 &TextureBlit::new(texture.default_rect(), destination, Color::WHITE),
                 texture,
    -            Point::default(),
    -            None,
    -            None,
             );
         }
     
         /// Draws a shape that was created with texture coordinates, applying the
         /// provided texture.
    -    pub fn draw_textured_shape<Unit>(
    +    pub fn draw_textured_shape<'shape, Unit, Shape>(
             &mut self,
    -        shape: &impl ShapeSource<Unit, true>,
    +        shape: impl Into<Drawable<&'shape Shape, Unit>>,
             texture: &impl TextureSource,
    -        origin: Point<Unit>,
    -        rotation: Option<Angle>,
    -        scale: Option<f32>,
         ) where
             Unit: IsZero + ShaderScalable + figures::Unit + Copy,
             i32: From<<Unit as IntoSigned>::Signed>,
    +        Shape: ShapeSource<Unit, true> + 'shape,
         {
    -        self.inner_draw(shape, Some(texture), origin, rotation, scale);
    +        self.inner_draw(&shape.into(), Some(texture));
         }
     
    -    fn inner_draw<Unit, const TEXTURED: bool>(
    +    fn inner_draw<Shape, Unit, const TEXTURED: bool>(
             &mut self,
    -        shape: &impl ShapeSource<Unit, TEXTURED>,
    +        shape: &Drawable<&'_ Shape, Unit>,
             texture: Option<&impl TextureSource>,
    -        origin: Point<Unit>,
    -        rotation: Option<Angle>,
    -        scale: Option<f32>,
         ) where
             Unit: IsZero + ShaderScalable + figures::Unit + Copy,
    +        Shape: ShapeSource<Unit, TEXTURED>,
         {
             // Merge the vertices into the graphics
    -        let vertices = shape.vertices();
    +        let vertices = shape.source.vertices();
             let mut vertex_map = Vec::with_capacity(vertices.len());
             for vertex in vertices {
                 let vertex = Vertex {
    @@ -826,7 +795,7 @@
             }
     
             let first_index_drawn = self.data.indices.len();
    -        for &vertex_index in shape.indices() {
    +        for &vertex_index in shape.source.indices() {
                 self.data
                     .indices
                     .push(vertex_map[usize::from(vertex_index)]);
    @@ -847,15 +816,15 @@
             } else {
                 None
             };
    -        let scale = scale.map_or(1., |scale| {
    +        let scale = shape.scale.map_or(1., |scale| {
                 flags |= FLAG_SCALE;
                 scale
             });
    -        let rotation = rotation.map_or(0., |scale| {
    +        let rotation = shape.rotation.map_or(0., |scale| {
                 flags |= FLAG_ROTATE;
                 scale.into_raidans_f()
             });
    -        if !origin.is_zero() {
    +        if !shape.translation.is_zero() {
                 flags |= FLAG_TRANSLATE;
             }
     
    @@ -863,7 +832,10 @@
                 flags,
                 scale,
                 rotation,
    -            translation: origin.try_cast().unwrap_or(Point::new(i32::MAX, i32::MAX)),
    +            translation: shape
    +                .translation
    +                .try_cast()
    +                .unwrap_or(Point::new(i32::MAX, i32::MAX)),
             };
     
             match self.data.commands.last_mut() {
    @@ -973,7 +945,7 @@
             map_each_glyph, measure_text, CachedGlyphHandle, MeasuredGlyph, MeasuredText, Text,
             TextOrigin,
         };
    -    use crate::{DefaultHasher, TextureBlit, VertexCollection};
    +    use crate::{DefaultHasher, Drawable, TextureBlit, VertexCollection};
     
         impl<'gfx> Renderer<'_, 'gfx> {
             /// Measures `text` using the current text settings.
    @@ -999,27 +971,25 @@
             }
     
             /// Draws `text` using the current text settings.
    -        pub fn draw_text<'a, Unit>(
    -            &mut self,
    -            text: impl Into<Text<'a, Unit>>,
    -            translate: Point<Unit>,
    -            rotation: Option<Angle>,
    -            scale: Option<f32>,
    -        ) where
    +        pub fn draw_text<'a, Unit, Source>(&mut self, text: Source)
    +        where
                 Unit: ScreenUnit,
    +            Source: Into<Drawable<Text<'a, Unit>, Unit>>,
             {
                 let text = text.into();
                 self.graphics.kludgine.update_scratch_buffer(
    -                text.text,
    -                text.wrap_at.map(|width| width.into_px(self.graphics.scale)),
    +                text.source.text,
    +                text.source
    +                    .wrap_at
    +                    .map(|width| width.into_px(self.graphics.scale)),
                 );
                 self.draw_text_buffer_inner(
                     None,
    -                text.color,
    -                text.origin.into_px(self.scale()),
    -                translate,
    -                rotation,
    -                scale,
    +                text.source.color,
    +                text.source.origin.into_px(self.scale()),
    +                text.translation,
    +                text.rotation,
    +                text.scale,
                 );
             }
     
    @@ -1030,24 +1000,22 @@
             ///
             /// `origin` allows controlling how the text will be drawn relative to the
             /// coordinate provided in [`render()`](crate::PreparedGraphic::render).
    -        pub fn draw_text_buffer<Unit>(
    +        pub fn draw_text_buffer<'a, Unit>(
                 &mut self,
    -            buffer: &cosmic_text::Buffer,
    +            buffer: impl Into<Drawable<&'a cosmic_text::Buffer, Unit>>,
                 default_color: Color,
                 origin: TextOrigin<Px>,
    -            translate: Point<Unit>,
    -            rotation: Option<Angle>,
    -            scale: Option<f32>,
             ) where
                 Unit: ScreenUnit,
             {
    +            let buffer = buffer.into();
                 self.draw_text_buffer_inner(
    -                Some(buffer),
    +                Some(buffer.source),
                     default_color,
                     origin,
    -                translate,
    -                rotation,
    -                scale,
    +                buffer.translation,
    +                buffer.rotation,
    +                buffer.scale,
                 );
             }
     
    @@ -1077,31 +1045,33 @@
             ///
             /// `origin` allows controlling how the text will be drawn relative to the
             /// coordinate provided in [`render()`](crate::PreparedGraphic::render).
    -        pub fn draw_measured_text<Unit>(
    +        pub fn draw_measured_text<'a, Unit>(
                 &mut self,
    -            text: &MeasuredText<Unit>,
    +            text: impl Into<Drawable<&'a MeasuredText<Unit>, Unit>>,
                 origin: TextOrigin<Unit>,
    -            translate: Point<Unit>,
    -            rotation: Option<Angle>,
    -            scale: Option<f32>,
             ) where
                 Unit: ScreenUnit,
             {
    +            let text = text.into();
                 let scaling_factor = self.scale;
    -            let translation = translate.into_px(scaling_factor).cast();
    +            let translation = text.translation.into_px(scaling_factor).cast();
                 let origin = match origin {
                     TextOrigin::TopLeft => Point::default(),
    -                TextOrigin::Center => Point::from(text.size).into_px(scaling_factor).cast() / 2,
    -                TextOrigin::FirstBaseline => Point::new(Px(0), text.ascent.into_px(scaling_factor)),
    +                TextOrigin::Center => {
    +                    Point::from(text.source.size).into_px(scaling_factor).cast() / 2
    +                }
    +                TextOrigin::FirstBaseline => {
    +                    Point::new(Px(0), text.source.ascent.into_px(scaling_factor))
    +                }
                     TextOrigin::Custom(offset) => offset.into_px(scaling_factor).cast(),
                 };
    -            for MeasuredGlyph { blit, cached, .. } in &text.glyphs {
    +            for MeasuredGlyph { blit, cached, .. } in &text.source.glyphs {
                     let mut blit = *blit;
                     blit.translate_by(-origin);
                     render_one_glyph(
                         translation,
    -                    rotation,
    -                    scale,
    +                    text.rotation,
    +                    text.scale,
                         blit,
                         cached,
                         self.clip_index,
    diff --git a/main/src/kludgine/shapes.rs.html b/main/src/kludgine/shapes.rs.html
    index dd6b1fc0a..6c29d7832 100644
    --- a/main/src/kludgine/shapes.rs.html
    +++ b/main/src/kludgine/shapes.rs.html
    @@ -845,6 +845,9 @@
     845
     846
     847
    +848
    +849
    +850
     
    use std::ops::{Add, Neg};
     
     use figures::units::{Lp, Px, UPx};
    @@ -859,7 +862,8 @@
     
     use crate::pipeline::Vertex;
     use crate::{
    -    sealed, Assert, Color, Graphics, Origin, PreparedGraphic, ShapeSource, Texture, TextureSource,
    +    sealed, Assert, Color, DrawableSource, Graphics, Origin, PreparedGraphic, ShapeSource, Texture,
    +    TextureSource,
     };
     
     /// A tesselated shape.
    @@ -980,6 +984,8 @@
     {
     }
     
    +impl<Unit, const TEXTURED: bool> DrawableSource for Shape<Unit, TEXTURED> where Unit: Copy {}
    +
     impl<Unit, const TEXTURED: bool> sealed::ShapeSource<Unit> for Shape<Unit, TEXTURED>
     where
         Unit: Copy,
    diff --git a/main/src/kludgine/text.rs.html b/main/src/kludgine/text.rs.html
    index 8a00bad83..3a97061a3 100644
    --- a/main/src/kludgine/text.rs.html
    +++ b/main/src/kludgine/text.rs.html
    @@ -822,6 +822,10 @@
     822
     823
     824
    +825
    +826
    +827
    +828
     

    use std::array;
     use std::collections::{hash_map, HashMap};
     use std::fmt::{self, Debug};
    @@ -837,8 +841,8 @@
     use crate::pipeline::PreparedCommand;
     use crate::sealed::{ShapeSource, TextureSource};
     use crate::{
    -    Assert, CollectedTexture, Color, DefaultHasher, Graphics, Kludgine, PreparedGraphic,
    -    ProtoGraphics, TextureBlit, TextureCollection, VertexCollection,
    +    Assert, CollectedTexture, Color, DefaultHasher, DrawableSource, Graphics, Kludgine,
    +    PreparedGraphic, ProtoGraphics, TextureBlit, TextureCollection, VertexCollection,
     };
     
     impl Kludgine {
    @@ -1532,6 +1536,8 @@
         pub glyphs: Vec<MeasuredGlyph>,
     }
     
    +impl<Unit> DrawableSource for MeasuredText<Unit> {}
    +
     /// Instructions for drawing a laid out glyph.
     #[derive(Clone)]
     pub struct MeasuredGlyph {
    @@ -1646,4 +1652,6 @@
             Self::new(value, Color::WHITE)
         }
     }
    +
    +impl<'a, Unit> DrawableSource for Text<'a, Unit> {}
     

    \ No newline at end of file diff --git a/main/src/kludgine/tilemap.rs.html b/main/src/kludgine/tilemap.rs.html index 0484b6461..8636b08fa 100644 --- a/main/src/kludgine/tilemap.rs.html +++ b/main/src/kludgine/tilemap.rs.html @@ -410,14 +410,6 @@ 410 411 412 -413 -414 -415 -416 -417 -418 -419 -420
    #![allow(missing_docs, clippy::missing_panics_doc)] // This file is a work in progress.
     
     use std::fmt::Debug;
    @@ -478,26 +470,21 @@
             );
         }
     
    -    graphics.draw_text(
    -        Text::<Px>::new(
    -            &format!(
    -                "Tile {}: Vis: {},{},{},{} - TL: {},{} / {},{}",
    -                tile_size,
    -                visible_region.origin.x,
    -                visible_region.origin.y,
    -                visible_region.size.width,
    -                visible_region.size.height,
    -                top_left.index.x,
    -                top_left.index.y,
    -                top_left.tile_offset.x,
    -                top_left.tile_offset.y
    -            ),
    -            Color::RED,
    +    graphics.draw_text(Text::<Px>::new(
    +        &format!(
    +            "Tile {}: Vis: {},{},{},{} - TL: {},{} / {},{}",
    +            tile_size,
    +            visible_region.origin.x,
    +            visible_region.origin.y,
    +            visible_region.size.width,
    +            visible_region.size.height,
    +            top_left.index.x,
    +            top_left.index.y,
    +            top_left.tile_offset.x,
    +            top_left.tile_offset.y
             ),
    -        Point::default(),
    -        None,
    -        None,
    -    );
    +        Color::RED,
    +    ));
     }
     
     pub struct TileOffset {
    @@ -671,12 +658,9 @@
                                 // TODO aspect-fit rather than fill.
                                 context.draw_texture(texture, tile_rect);
                             }
    -                        TileKind::Color(color) => context.draw_shape(
    -                            &Shape::filled_rect(tile_rect, *color),
    -                            Point::default(),
    -                            None,
    -                            None,
    -                        ),
    +                        TileKind::Color(color) => {
    +                            context.draw_shape(&Shape::filled_rect(tile_rect, *color));
    +                        }
                         };
                         x += tile_size;
                     }