diff --git a/main/implementors/core/clone/trait.Clone.js b/main/implementors/core/clone/trait.Clone.js index 768c265f9..5b589c274 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 SharedTexture"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl Clone for CollectedTexture"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl Clone for Color"],["impl Clone for TextureRegion"],["impl Clone for TextureCollection"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for PathEvent<Unit>"]] +"kludgine":[["impl Clone for SharedTexture"],["impl<Unit: Clone> Clone for Origin<Unit>"],["impl Clone for CollectedTexture"],["impl Clone for TileMapFocus"],["impl<'a, Unit: Clone> Clone for Text<'a, Unit>"],["impl Clone for Color"],["impl Clone for TextureRegion"],["impl Clone for TextureCollection"],["impl<Unit: Clone> Clone for MeasuredText<Unit>"],["impl Clone for ObjectId"],["impl<Message: Clone> Clone for WindowHandle<Message>"],["impl<Unit: Clone> Clone for TextOrigin<Unit>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Shape<Unit, TEXTURED>"],["impl<Unit: Clone, const TEXTURED: bool> Clone for Path<Unit, TEXTURED>"],["impl<Unit: Clone> Clone for PathEvent<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/cmp/trait.Eq.js b/main/implementors/core/cmp/trait.Eq.js index 7c5998a2e..b11c8d2df 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 SharedTexture"],["impl<Unit: Eq> Eq for TextOrigin<Unit>"],["impl Eq for Color"],["impl<Unit: Eq> Eq for Origin<Unit>"]] +"kludgine":[["impl Eq for TextureRegion"],["impl Eq for ObjectId"],["impl Eq for SharedTexture"],["impl<Unit: Eq> Eq for TextOrigin<Unit>"],["impl Eq for Color"],["impl<Unit: Eq> Eq for Origin<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/cmp/trait.Ord.js b/main/implementors/core/cmp/trait.Ord.js new file mode 100644 index 000000000..ea7b453ce --- /dev/null +++ b/main/implementors/core/cmp/trait.Ord.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[["impl Ord 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/cmp/trait.PartialEq.js b/main/implementors/core/cmp/trait.PartialEq.js index 3ed153382..893d78d61 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<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl PartialEq<Color> for Color"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl PartialEq<SharedTexture> for SharedTexture"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"],["impl PartialEq<TextureRegion> for TextureRegion"]] +"kludgine":[["impl<Unit: PartialEq> PartialEq<Origin<Unit>> for Origin<Unit>"],["impl PartialEq<Color> for Color"],["impl<Unit: PartialEq> PartialEq<TextOrigin<Unit>> for TextOrigin<Unit>"],["impl PartialEq<SharedTexture> for SharedTexture"],["impl PartialEq<ObjectId> for ObjectId"],["impl<Unit: PartialEq, const TEXTURED: bool> PartialEq<Shape<Unit, TEXTURED>> for Shape<Unit, TEXTURED>"],["impl PartialEq<TextureRegion> for TextureRegion"]] };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.PartialOrd.js b/main/implementors/core/cmp/trait.PartialOrd.js new file mode 100644 index 000000000..5ea2b6748 --- /dev/null +++ b/main/implementors/core/cmp/trait.PartialOrd.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[["impl PartialOrd<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/default/trait.Default.js b/main/implementors/core/default/trait.Default.js index 6ff4fc2d1..0ec501fa4 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, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl<Unit> Default for TextOrigin<Unit>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["impl Default for Drawing"]] +"kludgine":[["impl<Unit, const TEXTURED: bool> Default for Shape<Unit, TEXTURED>"],["impl<Unit> Default for TextOrigin<Unit>"],["impl<Unit: Default, const TEXTURED: bool> Default for Path<Unit, TEXTURED>"],["impl<O> Default for ObjectLayer<O>"],["impl Default for TileMapFocus"],["impl<Unit> Default for StrokeOptions<Unit>where\n Unit: DefaultStrokeWidth,"],["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 4c6356274..b848efa87 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<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl Debug for Drawing"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<Unit: Debug> Debug for Origin<Unit>"],["impl Debug for Texture"],["impl Debug for CollectedTexture"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"],["impl Debug for Color"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl Debug for Kludgine"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl Debug for AnyTexture"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl Debug for PreparedText"],["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl Debug for TextureRegion"],["impl Debug for SharedTexture"]] +"kludgine":[["impl<'render, 'gfx> Debug for Renderer<'render, 'gfx>"],["impl Debug for ObjectId"],["impl<Unit: Debug> Debug for PreparedGraphic<Unit>"],["impl Debug for Drawing"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Shape<Unit, TEXTURED>"],["impl<Unit: Debug> Debug for Origin<Unit>"],["impl Debug for Texture"],["impl<O: Debug> Debug for ObjectInfo<O>"],["impl Debug for CollectedTexture"],["impl<Unit: Debug> Debug for MeasuredText<Unit>"],["impl Debug for Color"],["impl<Unit: Debug, const TEXTURED: bool> Debug for Path<Unit, TEXTURED>"],["impl Debug for Kludgine"],["impl<'clip, T> Debug for ClipGuard<'clip, T>where\n T: Clipped + Debug,"],["impl Debug for TileKind"],["impl<'a, Unit: Debug> Debug for Text<'a, Unit>"],["impl Debug for AnyTexture"],["impl<O: Debug> Debug for ObjectLayer<O>"],["impl<Message: Debug> Debug for WindowHandle<Message>"],["impl Debug for Tiles"],["impl Debug for PreparedText"],["impl Debug for TileMapFocus"],["impl<Unit: Debug> Debug for PathEvent<Unit>"],["impl<Unit: Debug> Debug for TextOrigin<Unit>"],["impl<'gfx> Debug for Graphics<'gfx>"],["impl Debug for TextureRegion"],["impl Debug 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/hash/trait.Hash.js b/main/implementors/core/hash/trait.Hash.js index d8a3d0b9a..f72c83211 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 Color"]] +"kludgine":[["impl Hash for ObjectId"],["impl Hash for Color"]] };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 fd6c43e88..8a5874f80 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<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl Copy for Color"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<Unit>"]] +"kludgine":[["impl<Unit: Copy> Copy for Origin<Unit>"],["impl Copy for TileMapFocus"],["impl<'a, Unit: Copy> Copy for Text<'a, Unit>"],["impl Copy for Color"],["impl<Unit: Copy> Copy for PathEvent<Unit>"],["impl<Unit: Copy> Copy for TextOrigin<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 f3774c618..4e01410b8 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<'a, Unit> Freeze for Text<'a, Unit>where\n Unit: Freeze,",1,["kludgine::text::Text"]],["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<'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"]]] };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 824603a9b..1a99b5421 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<'a, Unit> Send for Text<'a, Unit>where\n Unit: Send,",1,["kludgine::text::Text"]],["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<'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"]]] };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 1c5cc6ec4..f4fc97b5a 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<Unit> StructuralEq for Origin<Unit>"],["impl StructuralEq for TextureRegion"],["impl<Unit> StructuralEq for TextOrigin<Unit>"],["impl StructuralEq for Color"]] +"kludgine":[["impl StructuralEq for ObjectId"],["impl<Unit> StructuralEq for Origin<Unit>"],["impl StructuralEq for TextureRegion"],["impl<Unit> StructuralEq for TextOrigin<Unit>"],["impl StructuralEq for Color"]] };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 4de186a45..e14c8a645 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<Unit> StructuralPartialEq for Origin<Unit>"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"],["impl StructuralPartialEq for Color"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"],["impl StructuralPartialEq for TextureRegion"]] +"kludgine":[["impl<Unit> StructuralPartialEq for Origin<Unit>"],["impl<Unit, const TEXTURED: bool> StructuralPartialEq for Shape<Unit, TEXTURED>"],["impl StructuralPartialEq for Color"],["impl StructuralPartialEq for ObjectId"],["impl<Unit> StructuralPartialEq for TextOrigin<Unit>"],["impl StructuralPartialEq for TextureRegion"]] };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 b9f7659e9..55bf4e010 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<'a, Unit> Sync for Text<'a, Unit>where\n Unit: Sync,",1,["kludgine::text::Text"]],["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<'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"]]] };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 104075bd9..2cf83b880 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<'a, Unit> Unpin for Text<'a, Unit>where\n Unit: Unpin,",1,["kludgine::text::Text"]],["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<'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"]]] };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/ops/index/trait.Index.js b/main/implementors/core/ops/index/trait.Index.js new file mode 100644 index 000000000..719431076 --- /dev/null +++ b/main/implementors/core/ops/index/trait.Index.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[["impl<O> Index<ObjectId> for ObjectLayer<O>"],["impl<O> Index<usize> for ObjectLayer<O>"]] +};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/ops/index/trait.IndexMut.js b/main/implementors/core/ops/index/trait.IndexMut.js new file mode 100644 index 000000000..19a50a7ec --- /dev/null +++ b/main/implementors/core/ops/index/trait.IndexMut.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"kludgine":[["impl<O> IndexMut<usize> for ObjectLayer<O>"],["impl<O> IndexMut<ObjectId> for ObjectLayer<O>"]] +};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 afcd64c73..1f80204e0 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<'a, Unit> RefUnwindSafe for Text<'a, Unit>where\n Unit: RefUnwindSafe,",1,["kludgine::text::Text"]],["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<'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"]]] };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 d2e4633b1..1d66cfae8 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<'a, Unit> UnwindSafe for Text<'a, Unit>where\n Unit: UnwindSafe,",1,["kludgine::text::Text"]],["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<'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"]]] };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/tilemap/trait.Layer.js b/main/implementors/kludgine/tilemap/trait.Layer.js new file mode 100644 index 000000000..c842b1281 --- /dev/null +++ b/main/implementors/kludgine/tilemap/trait.Layer.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/tilemap/trait.Layers.js b/main/implementors/kludgine/tilemap/trait.Layers.js new file mode 100644 index 000000000..c842b1281 --- /dev/null +++ b/main/implementors/kludgine/tilemap/trait.Layers.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 2f334faac..a4a3db7f6 100644 --- a/main/kludgine/all.html +++ b/main/kludgine/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Definitions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Definitions

Constants

\ No newline at end of file diff --git a/main/kludgine/enum.AnyTexture.html b/main/kludgine/enum.AnyTexture.html index 475b4ac1c..cb8a99811 100644 --- a/main/kludgine/enum.AnyTexture.html +++ b/main/kludgine/enum.AnyTexture.html @@ -1,4 +1,4 @@ -AnyTexture in kludgine - Rust

Enum kludgine::AnyTexture

source ·
pub enum AnyTexture {
+AnyTexture in kludgine - Rust

Enum kludgine::AnyTexture

source ·
pub enum AnyTexture {
     Texture(Texture),
     Shared(SharedTexture),
     Region(TextureRegion),
@@ -12,7 +12,7 @@
 
§

Shared(SharedTexture)

§

Region(TextureRegion)

§

Collected(CollectedTexture)

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§

§

impl !RefUnwindSafe for AnyTexture

§

impl Send for AnyTexture

§

impl Sync for AnyTexture

§

impl Unpin for AnyTexture

§

impl !UnwindSafe for AnyTexture

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§

§

impl !RefUnwindSafe for AnyTexture

§

impl Send for AnyTexture

§

impl Sync for AnyTexture

§

impl Unpin for AnyTexture

§

impl !UnwindSafe for AnyTexture

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<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<T> Downcast for Twhere diff --git a/main/kludgine/enum.Origin.html b/main/kludgine/enum.Origin.html index 48f3dd0fd..87c4ab994 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 b968be161..7097cd72e 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 diff --git a/main/kludgine/render/struct.Renderer.html b/main/kludgine/render/struct.Renderer.html index adaa1797a..5438a44cb 100644 --- a/main/kludgine/render/struct.Renderer.html +++ b/main/kludgine/render/struct.Renderer.html @@ -101,14 +101,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,16 +128,16 @@

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 +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 diff --git a/main/kludgine/sidebar-items.js b/main/kludgine/sidebar-items.js index 199832549..51020df6c 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"],"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","Frame","Graphics","Kludgine","PreparedGraphic","RenderingGraphics","SharedTexture","Texture","TextureCollection","TextureRegion"],"trait":["Clipped","ShaderScalable","ShapeSource","TextureSource"]}; \ No newline at end of file diff --git a/main/kludgine/struct.ClipGuard.html b/main/kludgine/struct.ClipGuard.html index 67c74715a..39309ba17 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 03d0d0c64..c4d84c7cb 100644 --- a/main/kludgine/struct.Color.html +++ b/main/kludgine/struct.Color.html @@ -1,172 +1,172 @@ -Color in kludgine - Rust

Struct kludgine::Color

source ·
#[repr(C)]
pub struct Color(_);
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(_);
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§

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§

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<T> CheckedBitPattern for Twhere diff --git a/main/kludgine/struct.Frame.html b/main/kludgine/struct.Frame.html index d06195e34..679673230 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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/struct.Graphics.html b/main/kludgine/struct.Graphics.html index 1b8bcfcf3..4f07b7046 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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/struct.Kludgine.html b/main/kludgine/struct.Kludgine.html index 764b39456..fe361a76a 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§

    §

    impl !RefUnwindSafe for Kludgine

    §

    impl Send for Kludgine

    §

    impl Sync for Kludgine

    §

    impl Unpin for Kludgine

    §

    impl !UnwindSafe for Kludgine

    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§

    §

    impl !RefUnwindSafe for Kludgine

    §

    impl Send for Kludgine

    §

    impl Sync for Kludgine

    §

    impl Unpin for Kludgine

    §

    impl !UnwindSafe for Kludgine

    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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/struct.RenderingGraphics.html b/main/kludgine/struct.RenderingGraphics.html index a3b48825a..23458e107 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 34a81fadd..90a65f255 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(_);
    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(_);
    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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/struct.Texture.html b/main/kludgine/struct.Texture.html index 5aed71827..35717d471 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§

    §

    impl !RefUnwindSafe for Texture

    §

    impl Send for Texture

    §

    impl Sync for Texture

    §

    impl Unpin for Texture

    §

    impl !UnwindSafe for Texture

    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§

    §

    impl !RefUnwindSafe for Texture

    §

    impl Send for Texture

    §

    impl Sync for Texture

    §

    impl Unpin for Texture

    §

    impl !UnwindSafe for Texture

    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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/struct.TextureRegion.html b/main/kludgine/struct.TextureRegion.html index 60fdde9de..c6bf5d4b0 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<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<T> Downcast for Twhere diff --git a/main/kludgine/tilemap/constant.TILE_SIZE.html b/main/kludgine/tilemap/constant.TILE_SIZE.html new file mode 100644 index 000000000..35aa73f0e --- /dev/null +++ b/main/kludgine/tilemap/constant.TILE_SIZE.html @@ -0,0 +1 @@ +TILE_SIZE in kludgine::tilemap - Rust

    Constant kludgine::tilemap::TILE_SIZE

    source ·
    pub const TILE_SIZE: Px;
    \ No newline at end of file diff --git a/main/kludgine/tilemap/enum.TileKind.html b/main/kludgine/tilemap/enum.TileKind.html new file mode 100644 index 000000000..066f1848c --- /dev/null +++ b/main/kludgine/tilemap/enum.TileKind.html @@ -0,0 +1,23 @@ +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 + 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<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/tilemap/enum.TileMapFocus.html b/main/kludgine/tilemap/enum.TileMapFocus.html new file mode 100644 index 000000000..843d3d4c3 --- /dev/null +++ b/main/kludgine/tilemap/enum.TileMapFocus.html @@ -0,0 +1,30 @@ +TileMapFocus in kludgine::tilemap - Rust
    pub enum TileMapFocus {
    +    Point(Point<Px>),
    +    Object {
    +        layer: usize,
    +        id: ObjectId,
    +    },
    +}

    Variants§

    §

    Point(Point<Px>)

    §

    Object

    Fields

    §layer: usize

    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<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.

    +
    §

    impl<Unit> IntoComponents<Unit> for Unitwhere + Unit: Copy,

    §

    fn into_components(self) -> (Unit, Unit)

    Extracts this type’s 2d vector components.
    §

    fn to_vec<Type>(self) -> Typewhere + Type: FromComponents<Unit>,

    Converts this type to another type using [FromComponents] and +[IntoComponents].
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    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/tilemap/fn.draw.html b/main/kludgine/tilemap/fn.draw.html new file mode 100644 index 000000000..f2a70d8b5 --- /dev/null +++ b/main/kludgine/tilemap/fn.draw.html @@ -0,0 +1,6 @@ +draw in kludgine::tilemap - Rust

    Function kludgine::tilemap::draw

    source ·
    pub fn draw(
    +    layers: &impl Layers,
    +    focus: TileMapFocus,
    +    zoom: f32,
    +    graphics: &mut Renderer<'_, '_>
    +)
    \ No newline at end of file diff --git a/main/kludgine/tilemap/index.html b/main/kludgine/tilemap/index.html new file mode 100644 index 000000000..c329bd993 --- /dev/null +++ b/main/kludgine/tilemap/index.html @@ -0,0 +1 @@ +kludgine::tilemap - Rust
    \ No newline at end of file diff --git a/main/kludgine/tilemap/sidebar-items.js b/main/kludgine/tilemap/sidebar-items.js new file mode 100644 index 000000000..5472e182b --- /dev/null +++ b/main/kludgine/tilemap/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":["TILE_SIZE"],"enum":["TileKind","TileMapFocus"],"fn":["draw"],"struct":["ObjectId","ObjectInfo","ObjectLayer","TileOffset","Tiles"],"trait":["Layer","Layers","Object"]}; \ No newline at end of file diff --git a/main/kludgine/tilemap/struct.ObjectId.html b/main/kludgine/tilemap/struct.ObjectId.html new file mode 100644 index 000000000..056b30d59 --- /dev/null +++ b/main/kludgine/tilemap/struct.ObjectId.html @@ -0,0 +1,39 @@ +ObjectId in kludgine::tilemap - Rust

    Struct kludgine::tilemap::ObjectId

    source ·
    pub struct ObjectId(_);

    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,

    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 +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 <= +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 + 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<Q, K> Comparable<K> for Qwhere + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    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.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    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.

    +
    §

    impl<Unit> IntoComponents<Unit> for Unitwhere + Unit: Copy,

    §

    fn into_components(self) -> (Unit, Unit)

    Extracts this type’s 2d vector components.
    §

    fn to_vec<Type>(self) -> Typewhere + Type: FromComponents<Unit>,

    Converts this type to another type using [FromComponents] and +[IntoComponents].
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    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/tilemap/struct.ObjectInfo.html b/main/kludgine/tilemap/struct.ObjectInfo.html new file mode 100644 index 000000000..1b7f79005 --- /dev/null +++ b/main/kludgine/tilemap/struct.ObjectInfo.html @@ -0,0 +1,28 @@ +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 + 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 + O: Unpin,

    §

    impl<O> UnwindSafe for ObjectInfo<O>where + O: 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<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/tilemap/struct.ObjectLayer.html b/main/kludgine/tilemap/struct.ObjectLayer.html new file mode 100644 index 000000000..e44efef89 --- /dev/null +++ b/main/kludgine/tilemap/struct.ObjectLayer.html @@ -0,0 +1,35 @@ +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, + _tile_size: Px, + 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 + 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 + O: Unpin,

    §

    impl<O> UnwindSafe for ObjectLayer<O>where + O: 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<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> 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 + T: Sync,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/struct.TileOffset.html b/main/kludgine/tilemap/struct.TileOffset.html new file mode 100644 index 000000000..78a4d2531 --- /dev/null +++ b/main/kludgine/tilemap/struct.TileOffset.html @@ -0,0 +1,20 @@ +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<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/tilemap/struct.Tiles.html b/main/kludgine/tilemap/struct.Tiles.html new file mode 100644 index 000000000..7fb08679c --- /dev/null +++ b/main/kludgine/tilemap/struct.Tiles.html @@ -0,0 +1,33 @@ +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, + top_left: &TileOffset, + bottom_right: &TileOffset, + tile_size: Px, + _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 + 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<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> 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 + T: Sync,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/trait.Layer.html b/main/kludgine/tilemap/trait.Layer.html new file mode 100644 index 000000000..05eeec94a --- /dev/null +++ b/main/kludgine/tilemap/trait.Layer.html @@ -0,0 +1,24 @@ +Layer in kludgine::tilemap - Rust

    Trait kludgine::tilemap::Layer

    source ·
    pub trait Layer: Debug + UnwindSafe + Send + 'static {
    +    // Required method
    +    fn render(
    +        &self,
    +        top_left: &TileOffset,
    +        bottom_right: &TileOffset,
    +        tile_size: Px,
    +        visible_rect: &Rect<Px>,
    +        zoom: f32,
    +        context: &mut Renderer<'_, '_>
    +    );
    +
    +    // Provided method
    +    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>> { ... }
    +}

    Required Methods§

    source

    fn render( + &self, + top_left: &TileOffset, + bottom_right: &TileOffset, + tile_size: Px, + 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 + O: Object,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/trait.Layers.html b/main/kludgine/tilemap/trait.Layers.html new file mode 100644 index 000000000..f188597d5 --- /dev/null +++ b/main/kludgine/tilemap/trait.Layers.html @@ -0,0 +1,7 @@ +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 + 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 + T: Layer,

    \ No newline at end of file diff --git a/main/kludgine/tilemap/trait.Object.html b/main/kludgine/tilemap/trait.Object.html new file mode 100644 index 000000000..13b8a9c91 --- /dev/null +++ b/main/kludgine/tilemap/trait.Object.html @@ -0,0 +1,10 @@ +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(
    +        &self,
    +        center: Point<Px>,
    +        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 diff --git a/main/kludgine/trait.Clipped.html b/main/kludgine/trait.Clipped.html index 7c437642f..1d7ca9014 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.ShapeSource.html b/main/kludgine/trait.ShapeSource.html index 4079f72ca..4c0b383f4 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.

    +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 Unit: Copy,

    \ No newline at end of file diff --git a/main/kludgine/trait.TextureSource.html b/main/kludgine/trait.TextureSource.html index 9e6f7ff75..4473288b2 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 f251d4b33..aae5422c6 100644 --- a/main/search-index.js +++ b/main/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSSSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLLLLLLLLLLALLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCQIQDQDIDMLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMMLLLLLLLLMLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMNNNDDDENLLLLLLLLMLLLLLLLLLLLLLLMLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLMMMLLLLLLLLLLLLLLLLLLLLM","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","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_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","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","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","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","clear_color","clone","clone_into","close_requested","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","from","from","from","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","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_needs_redraw","set_position","set_title","smart_magnify","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","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","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","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","clone","clone","clone","clone","clone","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","fill","filled_circle","filled_rect","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_iter","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","line_join","line_to","line_to","line_width","miter_limit","new","new_textured","prepare","prepare","quadratic_curve_to","quadratic_curve_to","reset","reset","start_cap","stroke","stroked_rect","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","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_lp","from_px","into","into","into","into","into_any","into_any","into_any","into_any","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_components","into_components","into_lp","into_px","left","line_height","new","origin","origin","size","text","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","upcast","upcast","upcast","upcast","wrap_at","wrap_at"],"q":[[0,"kludgine"],[513,"kludgine::app"],[642,"kludgine::render"],[694,"kludgine::shapes"],[873,"kludgine::shapes::PathEvent"],[885,"kludgine::text"]],"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.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","","","","","","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 …","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 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. …","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 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.","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.","","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.","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.","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 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 …","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.","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","The measurement above the baseline of the text.","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.","The total size of the measured text, encompassing all …","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 …"],"i":[2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,16,0,0,28,0,0,16,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,28,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,28,0,2,2,2,2,2,0,28,0,0,0,16,2,2,2,2,2,2,1,2,2,0,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,6,6,2,2,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,6,11,19,13,14,2,16,17,18,13,14,2,16,17,18,0,6,12,17,6,12,11,6,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,14,12,2,16,17,18,2,2,2,16,16,16,17,17,17,18,18,18,0,14,25,26,6,12,2,27,16,17,18,28,26,26,26,26,6,26,13,27,1,11,13,14,25,26,6,12,2,2,27,16,17,17,18,28,28,27,2,2,2,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,2,16,2,26,13,26,6,2,27,2,27,26,19,11,6,1,14,27,13,27,27,6,19,11,6,13,13,11,6,2,2,17,0,1,25,1,26,26,11,26,26,26,26,26,26,26,26,0,11,13,26,6,27,18,1,0,26,26,13,14,2,16,17,18,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,0,126,0,127,0,127,0,0,0,78,71,78,75,71,78,75,126,71,78,75,71,78,75,126,75,75,126,78,126,126,126,71,78,78,71,78,75,126,71,78,126,75,126,71,78,75,78,71,126,126,126,126,126,71,78,71,78,75,71,78,75,78,75,71,78,75,71,126,71,126,78,78,78,71,126,71,126,126,126,78,71,78,126,78,126,126,71,71,126,78,78,126,0,126,126,126,75,71,71,71,71,71,71,71,126,126,71,78,75,126,126,126,126,78,71,78,75,71,78,75,71,78,75,71,78,75,78,78,78,0,0,0,101,103,101,103,101,103,101,103,101,101,103,101,101,101,103,101,101,101,101,101,101,101,101,103,101,103,101,103,101,103,101,103,101,103,101,101,103,101,101,103,101,101,103,101,103,101,103,101,103,101,115,114,113,0,115,0,115,0,115,0,0,114,114,0,0,0,115,113,114,0,113,0,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,111,113,114,106,115,112,113,114,106,115,112,111,111,111,111,119,106,112,118,111,119,113,114,106,115,112,119,113,114,106,112,106,106,113,114,106,115,112,111,111,119,113,114,106,115,112,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,113,114,115,119,111,111,119,119,111,111,106,106,111,111,111,111,119,112,106,113,114,106,115,112,119,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,128,129,130,131,131,128,132,130,131,132,130,131,50,50,50,0,0,0,0,50,51,50,105,107,51,50,105,107,105,51,50,105,107,51,50,105,107,50,105,107,50,105,107,107,50,51,51,105,51,50,105,107,50,50,50,50,51,50,105,107,51,50,105,107,107,107,50,50,51,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,50,107,50,50,105,105,107,107,107,105,107,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,107,107],"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],[2,4],0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[6,7],[6,8],[2,3],[2,4],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[6,[[10,[9]]]],[[11,[10,[9]]],[[12,[11]]]],[[[10,[9]]],12],[13,13],[14,14],[2,2],[[[16,[15]]],[[16,[15]]]],[17,17],[18,18],[[]],[[]],[[]],[[]],[[]],[[]],0,[6],[[[12,[19]]]],[17],[6],[[[12,[19]]]],[11,7],[6,7],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1],[14],[[[12,[19]]]],[[2,2],20],[[[16,[21]],[16,[21]]],20],[[17,17],20],[[18,18],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[[14,22],23],[[[25,[24]],22],23],[[26,22],23],[[6,22],23],[[[12,[[0,[19,24]]]],22],23],[[2,22],23],[[27,22],23],[[[16,[24]],22],23],[[17,22],23],[[18,22],23],[[28,22],23],[26,29],[26,30],[26,31],[26,32],[6,32],[26,33],[13,34],[27,34],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[35,2],[[]],[[]],[[]],[27,17],[[]],[[]],[27,28],[[]],[[36,6],27],[2,3],[2,4],[[2,37]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[],20],[26,30],[[[42,[9]],34,6],13],[[7,8,34,[42,[9]],4],26],[[26,7,8],6],[[3,3,3,3],2],[[6,[42,[9]],34,43],27],[[4,4,4,4],2],[[6,[42,[9]],34,43,[44,[3]]],27],[26,1],[[]],[11],[6],[[1,7,8],6],[[14,[10,[[0,[45,[47,[46]]]]]],6],[[25,[[0,[45,[47,[46]]]]]]]],[[27,[10,[45]],6],[[25,[45]]]],[[13,[10,[45]],6],[[25,[45]]]],[[27,[10,[9]],[10,[45]],6],[[25,[45]]]],[[27,[16,[45]],[42,[45]],6],[[25,[45]]]],[[6,48,2,[50,[49]]],51],[[[10,[9]]]],[[11,[10,[9]]]],[[6,[10,[9]]]],[[13,36,6],14],[[13,[44,[3]],52,[42,[9]],8],14],[11,8],[6,8],[2,3],[2,4],[[17,[10,[9]]],18],0,[[1,53,7,8],11],[[[25,[[0,[54,55,56,57,58]]]],[59,[[0,[54,55,56,57,58]]]],[60,[4]],[60,[61]],11]],[[1,27,[62,[2]],7,8],11],[26],[[26,[42,[9]],4,8]],[11,63],[26,63],[[26,64]],[[26,65]],[[26,31]],[[26,33]],[[26,65]],[[26,66]],[[26,67]],0,[11,[[42,[9]]]],[13,[[42,[9]]]],[26,[[42,[9]]]],[6,[[42,[9]]]],[27,[[42,[9]]]],[18,[[42,[9]]]],[[1,8],[[60,[68]]]],0,[26,66],[26,67],[[]],[[]],[[]],[[]],[[]],[[]],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[71,26,72,73,74]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[60,[2]]]],[[[75,[15]]],[[75,[15]]]],[[]],[[71,26],20],0,[[71,26,72]],[[71,26,72]],[[71,26,72,[76,[74]]]],[[[71,[77]]],[[60,[[59,[49]]]]]],0,[[],78],[[]],[[]],[[]],[[71,26,79]],[[[71,[77]]],80],0,[[71,26]],[[[75,[24]],22],23],[[71,26]],[[]],[[]],[[]],0,[[[71,[77]]],[[75,[77]]]],[[71,26,79]],[[71,26]],[[71,26,81]],[[],78],[[71,6]],[[[71,[77]]],[[42,[9]]]],0,[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[71,[77]],82],20],[[71,26,72,83,20]],[[[71,[77]]],80],[84,84],0,0,0,[[[71,[77]]],85],[[71,26]],[[[71,[77]],86],20],[[71,26,72,87,86]],[[71,26,72,88,89]],[[71,26]],0,[[[71,[77]]],[[59,[49]]]],0,[[],90],0,[[71,6]],[[71,26,91]],[[[71,[77]],92]],[[[71,[77]],80]],[[71,11],20],0,0,[[71,26]],[[[0,[93,77,94]]],[[69,[95]]]],[[],[[69,[95]]]],[[],[[69,[95]]]],[[71,26]],[75,69],[[[71,[77]],20]],[[[71,[77]],[10,[9]]]],[[[71,[77]],96]],[[[71,[77]],[42,[9]]]],[[[71,[77]]]],[[[71,[77]],[59,[49]]]],[[[71,[77]],97]],[[71,26,72]],[[71,26]],[[[71,[77]]],98],0,[[]],[[71,26,99]],[[71,26,72,74,89]],[[71,26,72,4,100]],[[71,26,72,4,89]],0,[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[101,[10,[9]]],[[12,[101]]]],[101,102],[[],103],[101],[101],[[]],[[]],[[101,[105,[104]],[50,[104]],[59,[104]],[60,[61]],[60,[4]]]],[[101,[106,[[0,[58,57,45,55]]]],[59,[[0,[58,57,45,55]]]],[60,[61]],[60,[4]]]],[[101,[108,[[107,[104]]]],[59,[104]],[60,[61]],[60,[4]]]],[[101,48,2,[50,[49]],[59,[104]],[60,[61]],[60,[4]]]],[[101,109,[10,[[0,[45,57]]]]]],[[101,[110,[[0,[58,57,45,55]]]],109,[59,[[0,[58,57,45,55]]]],[60,[61]],[60,[4]]]],[101],[[101,22],23],[[103,22],23],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[101,[108,[[107,[104]]]]],[[105,[104]]]],[[101,48,2],[[105,[104]]]],[[103,6],101],[101],[[101,[10,[9]]]],[[103,11]],[101,102],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],60],[[],60],[101,102],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]]],[[112,[55]]]],[113,113],[114,114],[[[106,[15]]],[[106,[15]]]],[[[115,[15]]],[[115,[15]]]],[[[112,[15]]],[[112,[15]]]],[[]],[[]],[[]],[[]],[[]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]],[116,[55]],[116,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],[[[111,[55]],[116,[55]],[116,[55]],[117,[55]]],[[111,[55]]]],[[],[[119,[118]]]],[[],106],[[],[[112,[56]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[113,113],20],[[114,114],20],[[[106,[21]],[106,[21]]],20],[[[112,[[0,[120,55]]]],2],[[106,[[0,[120,55]]]]]],[[[0,[56,121,122,123,120,55]],2,[16,[[0,[56,121,122,123,120,55]]]]],[[106,[[0,[56,121,122,123,120,55]]]]]],[[[10,[[0,[122,123,120,55]]]],2],[[106,[[0,[122,123,120,55]]]]]],[[113,22],[[69,[124]]]],[[114,22],[[69,[124]]]],[[[106,[24]],22],23],[[[115,[24]],22],23],[[[112,[24]],22],23],[[[112,[56]]],[[111,[56]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[125,112],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[]],0,[[[111,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],[[[111,[55]],[117,[55]]],[[111,[55]]]],0,0,[[[117,[55]]],[[111,[55]]]],[[[117,[55]],[59,[9]]],[[111,[55]]]],[[[106,[55]],109,6],[[25,[55]]]],[[[106,[55]],6],[[25,[55]]]],[[[111,[55]],[116,[55]],[117,[55]]],[[111,[55]]]],[[[111,[55]],[116,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],[[[111,[55]],[117,[55]],[59,[9]]]],[[[111,[55]],[117,[55]]]],0,[[[112,[[0,[120,55]]]],2,[119,[[0,[120,55]]]]],[[106,[[0,[120,55]]]]]],[[[10,[[0,[122,123,120,55]]]],2,[119,[[0,[122,123,120,55]]]]],[[106,[[0,[122,123,120,55]]]]]],[[]],[[]],[[]],[[]],[[]],0,[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[50,[15]]],[[50,[15]]]],[[[105,[15]]],[[105,[15]]]],[[[107,[15]]],[[107,[15]]]],[[]],[[]],[[]],0,[[],50],[51],[51],0,[[]],[[]],[[]],[[]],[[[50,[21]],[50,[21]]],20],[[],20],[[],20],[[],20],[[51,22],23],[[[50,[24]],22],23],[[[105,[24]],22],23],[[[107,[24]],22],23],[[]],[[]],[[]],[97,107],[98,107],[[]],[63,[[50,[65]]]],[63,[[50,[65]]]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[[50,[65]],63]],[[[50,[65]],63]],0,0,[[97,2],107],[[107,50],107],0,0,0,[[]],[[]],[[]],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[107,107],0],"c":[],"p":[[3,"Frame"],[3,"Color"],[15,"u8"],[15,"f32"],[8,"Any"],[3,"Graphics"],[3,"Device"],[3,"Queue"],[3,"UPx"],[3,"Rect"],[3,"RenderingGraphics"],[3,"ClipGuard"],[3,"TextureCollection"],[3,"CollectedTexture"],[8,"Clone"],[4,"Origin"],[3,"SharedTexture"],[3,"TextureRegion"],[8,"Clipped"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"PreparedGraphic"],[3,"Kludgine"],[3,"Texture"],[4,"AnyTexture"],[4,"Family"],[3,"Lp"],[4,"Style"],[3,"FontSystem"],[3,"Weight"],[4,"TextureFormat"],[3,"Color"],[4,"DynamicImage"],[8,"Hasher"],[3,"Global"],[3,"Box"],[3,"Arc"],[3,"Rc"],[3,"Size"],[3,"TextureUsages"],[15,"slice"],[8,"Unit"],[15,"i32"],[8,"Div"],[3,"Buffer"],[3,"Px"],[4,"TextOrigin"],[3,"PreparedText"],[3,"ImageDataLayout"],[3,"RenderPassDescriptor"],[8,"IntoSigned"],[8,"Copy"],[8,"Default"],[8,"ShaderScalable"],[8,"IsZero"],[3,"Point"],[4,"Option"],[3,"Angle"],[4,"LoadOp"],[3,"Fraction"],[4,"FamilyOwned"],[8,"ScreenScale"],[3,"Attrs"],[4,"Width"],[3,"SubmissionIndex"],[4,"Result"],[3,"TypeId"],[3,"Window"],[3,"DeviceId"],[6,"AxisId"],[15,"f64"],[3,"WindowHandle"],[3,"PhysicalPosition"],[8,"Send"],[3,"WindowAttributes"],[3,"PathBuf"],[3,"Duration"],[4,"Ime"],[4,"KeyCode"],[3,"KeyEvent"],[3,"Limits"],[3,"Modifiers"],[4,"MouseButton"],[4,"ElementState"],[4,"MouseScrollDelta"],[4,"TouchPhase"],[4,"PowerPreference"],[15,"char"],[3,"Instant"],[8,"FnMut"],[8,"UnwindSafe"],[4,"EventLoopError"],[4,"ImePurpose"],[15,"str"],[3,"String"],[3,"Touch"],[15,"i64"],[3,"Renderer"],[15,"usize"],[3,"Drawing"],[8,"ScreenUnit"],[3,"MeasuredText"],[3,"Shape"],[3,"Text"],[8,"Into"],[8,"TextureSource"],[8,"ShapeSource"],[3,"PathBuilder"],[3,"Path"],[4,"LineCap"],[4,"LineJoin"],[4,"PathEvent"],[6,"ControlPoint"],[6,"Endpoint"],[8,"DefaultStrokeWidth"],[3,"StrokeOptions"],[8,"FloatConversion"],[8,"Neg"],[8,"Add"],[8,"Ord"],[3,"Error"],[8,"IntoIterator"],[8,"WindowBehavior"],[8,"Message"],[13,"Begin"],[13,"End"],[13,"Quadratic"],[13,"Cubic"],[13,"Line"]]}\ +"kludgine":{"doc":"Kludgine (Redux)","t":"SSSSSESSSSSSSSSSSSSSSSSSNDINDDNSSSSSSSSSSSSSSSSSSSSSSSSSSSSDSSSSSSSSDSSSSSSDSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSESSSSSSSSSSSDSSSSNDSSSSSSSSSSSSSSIINDSSSSSDNDDINSSSSSSLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLKLLLLLLLLLALLLLLLLLLLLLLLALLLLLLLALLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCQIQDQDIDMLLLLLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLLMLLLLLKLMLLLLLLLLLLLLLLLMMMLLLLLLMLMLMLLLLKMMLFLLLLLLLLLLLLLLMLLLLLMLLLLLLLLLLLLMMMCDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNGNINGNEENNDDENNNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLMMLLLLLLLLMLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMNNNDDDENLLLLLLLLMLLLLLLLLLLLLLLMLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLMMMLLLLLLLLLLLLLLLLLLLLMNIIINDDDNRNEEDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLMLKMLKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMM","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","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_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","Context","Message","Response","Window","Window","WindowAttributes","WindowBehavior","WindowHandle","active","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","clear_color","clone","clone_into","close_requested","content_protected","cursor_entered","cursor_left","cursor_moved","cursor_position","decorations","default","downcast","downcast","downcast","dropped_file","elapsed","enabled_buttons","event","fmt","focus_changed","from","from","from","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","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_needs_redraw","set_position","set_title","smart_magnify","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","Drawing","Renderer","as_any","as_any","as_any_mut","as_any_mut","borrow","borrow","borrow_mut","borrow_mut","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","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","clone","clone","clone","clone","clone","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","fill","filled_circle","filled_rect","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_iter","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","line_join","line_to","line_to","line_width","miter_limit","new","new_textured","prepare","prepare","quadratic_curve_to","quadratic_curve_to","reset","reset","start_cap","stroke","stroked_rect","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","at","close","ctrl","ctrl1","ctrl2","texture","texture","texture","texture","to","to","to","Center","Custom","FirstBaseline","MeasuredText","PreparedText","Text","TextOrigin","TopLeft","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","ascent","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","color","default","deref","deref_mut","descent","downcast","downcast","downcast","downcast","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_lp","from_px","into","into","into","into","into_any","into_any","into_any","into_any","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_components","into_components","into_lp","into_px","left","line_height","new","origin","origin","size","text","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","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","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","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","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","id","layer"],"q":[[0,"kludgine"],[514,"kludgine::app"],[643,"kludgine::render"],[695,"kludgine::shapes"],[874,"kludgine::shapes::PathEvent"],[886,"kludgine::text"],[990,"kludgine::tilemap"],[1153,"kludgine::tilemap::TileMapFocus"]],"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.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","","","","","","","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 …","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 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. …","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 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.","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.","","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.","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.","Uploads the shape to the GPU, applying texture to the …","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 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 …","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.","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","The measurement to the leftmost pixel of the text.","The measurement above the baseline of the text.","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.","The total size of the measured text, encompassing all …","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":[2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,16,0,0,28,0,0,16,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,28,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,28,0,2,2,2,2,2,0,28,0,0,0,16,2,2,2,2,2,2,1,2,2,0,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,6,6,2,2,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,6,11,19,13,14,2,16,17,18,13,14,2,16,17,18,0,6,12,17,6,12,11,6,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,14,12,2,16,17,18,2,2,2,16,16,16,17,17,17,18,18,18,0,14,25,26,6,12,2,27,16,17,18,28,26,26,26,26,6,26,13,27,1,11,13,14,25,26,6,12,2,2,27,16,17,17,18,28,28,27,2,2,2,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,2,16,2,26,13,26,6,2,27,2,27,26,19,11,6,1,14,27,13,27,27,6,19,11,6,13,13,11,6,2,2,17,0,1,25,1,26,26,11,26,26,26,26,26,26,26,26,0,11,13,26,6,27,18,1,0,26,26,0,13,14,2,16,17,18,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,1,11,13,14,25,26,6,12,2,27,16,17,18,28,0,137,0,138,0,138,0,0,0,78,71,78,75,71,78,75,137,71,78,75,71,78,75,137,75,75,137,78,137,137,137,71,78,78,71,78,75,137,71,78,137,75,137,71,78,75,78,71,137,137,137,137,137,71,78,71,78,75,71,78,75,78,75,71,78,75,71,137,71,137,78,78,78,71,137,71,137,137,137,78,71,78,137,78,137,137,71,71,137,78,78,137,0,137,137,137,75,71,71,71,71,71,71,71,137,137,71,78,75,137,137,137,137,78,71,78,75,71,78,75,71,78,75,71,78,75,78,78,78,0,0,0,101,103,101,103,101,103,101,103,101,101,103,101,101,101,103,101,101,101,101,101,101,101,101,103,101,103,101,103,101,103,101,103,101,103,101,101,103,101,101,103,101,101,103,101,103,101,103,101,103,101,115,114,113,0,115,0,115,0,115,0,0,114,114,0,0,0,115,113,114,0,113,0,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,111,113,114,106,115,112,113,114,106,115,112,111,111,111,111,119,106,112,118,111,119,113,114,106,115,112,119,113,114,106,112,106,106,113,114,106,115,112,111,111,119,113,114,106,115,112,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,113,114,115,119,111,111,119,119,111,111,106,106,111,111,111,111,119,112,106,113,114,106,115,112,119,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,111,119,113,114,106,115,112,139,140,141,142,142,139,143,141,142,143,141,142,50,50,50,0,0,0,0,50,51,50,105,107,51,50,105,107,105,51,50,105,107,51,50,105,107,50,105,107,50,105,107,107,50,51,51,105,51,50,105,107,50,50,50,50,51,50,105,107,51,50,105,107,107,107,50,50,51,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,50,107,50,50,105,105,107,107,107,105,107,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,51,50,105,107,107,107,133,0,0,0,127,0,0,0,127,0,133,0,0,0,0,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,126,127,126,127,126,126,129,127,136,132,133,129,126,134,127,0,126,126,126,126,135,129,132,133,129,126,134,127,136,132,133,129,126,134,127,129,129,129,129,126,129,129,129,129,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,126,127,129,130,132,129,129,132,129,134,126,131,134,129,135,131,132,129,126,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,136,132,133,129,126,134,127,144,144],"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],[2,4],0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[6,7],[6,8],[2,3],[2,4],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[6,[[10,[9]]]],[[11,[10,[9]]],[[12,[11]]]],[[[10,[9]]],12],[13,13],[14,14],[2,2],[[[16,[15]]],[[16,[15]]]],[17,17],[18,18],[[]],[[]],[[]],[[]],[[]],[[]],0,[6],[[[12,[19]]]],[17],[6],[[[12,[19]]]],[11,8],[6,8],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1],[14],[[[12,[19]]]],[[2,2],20],[[[16,[21]],[16,[21]]],20],[[17,17],20],[[18,18],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[[14,22],23],[[[25,[24]],22],23],[[26,22],23],[[6,22],23],[[[12,[[0,[19,24]]]],22],23],[[2,22],23],[[27,22],23],[[[16,[24]],22],23],[[17,22],23],[[18,22],23],[[28,22],23],[26,29],[26,30],[26,31],[26,32],[6,32],[26,33],[13,34],[27,34],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[35,2],[[]],[[]],[27,17],[[]],[[]],[[]],[27,28],[[36,6],27],[2,3],[2,4],[[2,37]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[],20],[26,30],[[[42,[9]],34,6],13],[[8,7,34,[42,[9]],4],26],[[26,8,7],6],[[3,3,3,3],2],[[6,[42,[9]],34,43],27],[[4,4,4,4],2],[[6,[42,[9]],34,43,[44,[3]]],27],[26,1],[[]],[11],[6],[[1,8,7],6],[[14,[10,[[0,[45,[47,[46]]]]]],6],[[25,[[0,[45,[47,[46]]]]]]]],[[27,[10,[45]],6],[[25,[45]]]],[[13,[10,[45]],6],[[25,[45]]]],[[27,[10,[9]],[10,[45]],6],[[25,[45]]]],[[27,[16,[45]],[42,[45]],6],[[25,[45]]]],[[6,48,2,[50,[49]]],51],[[[10,[9]]]],[[11,[10,[9]]]],[[6,[10,[9]]]],[[13,36,6],14],[[13,[44,[3]],52,[42,[9]],7],14],[11,7],[6,7],[2,3],[2,4],[[17,[10,[9]]],18],0,[[1,53,8,7],11],[[[25,[[0,[54,55,56,57,58]]]],[59,[[0,[54,55,56,57,58]]]],[60,[4]],[60,[61]],11]],[[1,27,[62,[2]],8,7],11],[26],[[26,[42,[9]],4,7]],[11,63],[26,63],[[26,64]],[[26,65]],[[26,31]],[[26,33]],[[26,65]],[[26,66]],[[26,67]],0,[11,[[42,[9]]]],[13,[[42,[9]]]],[26,[[42,[9]]]],[6,[[42,[9]]]],[27,[[42,[9]]]],[18,[[42,[9]]]],[[1,7],[[60,[68]]]],0,[26,66],[26,67],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[71,26,72,73,74]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[60,[2]]]],[[[75,[15]]],[[75,[15]]]],[[]],[[71,26],20],0,[[71,26,72]],[[71,26,72]],[[71,26,72,[76,[74]]]],[[[71,[77]]],[[60,[[59,[49]]]]]],0,[[],78],[[]],[[]],[[]],[[71,26,79]],[[[71,[77]]],80],0,[[71,26]],[[[75,[24]],22],23],[[71,26]],[[]],[[]],[[]],0,[[[71,[77]]],[[75,[77]]]],[[71,26,79]],[[71,26]],[[71,26,81]],[[],78],[[71,6]],[[[71,[77]]],[[42,[9]]]],0,[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[71,[77]],82],20],[[71,26,72,83,20]],[[[71,[77]]],80],[84,84],0,0,0,[[[71,[77]]],85],[[71,26]],[[[71,[77]],86],20],[[71,26,72,87,86]],[[71,26,72,88,89]],[[71,26]],0,[[[71,[77]]],[[59,[49]]]],0,[[],90],0,[[71,6]],[[71,26,91]],[[[71,[77]],92]],[[[71,[77]],80]],[[71,11],20],0,0,[[71,26]],[[[0,[93,77,94]]],[[69,[95]]]],[[],[[69,[95]]]],[[],[[69,[95]]]],[[71,26]],[75,69],[[[71,[77]],20]],[[[71,[77]],[10,[9]]]],[[[71,[77]],96]],[[[71,[77]],[42,[9]]]],[[[71,[77]]]],[[[71,[77]],[59,[49]]]],[[[71,[77]],97]],[[71,26,72]],[[71,26]],[[[71,[77]]],98],0,[[]],[[71,26,99]],[[71,26,72,74,89]],[[71,26,72,4,100]],[[71,26,72,4,89]],0,[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[101,[10,[9]]],[[12,[101]]]],[101,102],[[],103],[101],[101],[[]],[[]],[[101,[105,[104]],[50,[104]],[59,[104]],[60,[61]],[60,[4]]]],[[101,[106,[[0,[58,57,45,55]]]],[59,[[0,[58,57,45,55]]]],[60,[61]],[60,[4]]]],[[101,[108,[[107,[104]]]],[59,[104]],[60,[61]],[60,[4]]]],[[101,48,2,[50,[49]],[59,[104]],[60,[61]],[60,[4]]]],[[101,109,[10,[[0,[45,57]]]]]],[[101,[110,[[0,[58,57,45,55]]]],109,[59,[[0,[58,57,45,55]]]],[60,[61]],[60,[4]]]],[101],[[101,22],23],[[103,22],23],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[101,[108,[[107,[104]]]]],[[105,[104]]]],[[101,48,2],[[105,[104]]]],[[103,6],101],[101],[[101,[10,[9]]]],[[103,11]],[101,102],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],60],[[],60],[101,102],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]]],[[112,[55]]]],[113,113],[114,114],[[[106,[15]]],[[106,[15]]]],[[[115,[15]]],[[115,[15]]]],[[[112,[15]]],[[112,[15]]]],[[]],[[]],[[]],[[]],[[]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]]],[[112,[55]]]],[[[111,[55]],[116,[55]],[116,[55]],[117,[55]]],[[111,[55]]]],[[[111,[55]],[116,[55]],[116,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],[[],[[119,[118]]]],[[],106],[[],[[112,[56]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[113,113],20],[[114,114],20],[[[106,[21]],[106,[21]]],20],[[[112,[[0,[120,55]]]],2],[[106,[[0,[120,55]]]]]],[[[0,[56,121,122,123,120,55]],2,[16,[[0,[56,121,122,123,120,55]]]]],[[106,[[0,[56,121,122,123,120,55]]]]]],[[[10,[[0,[122,123,120,55]]]],2],[[106,[[0,[122,123,120,55]]]]]],[[113,22],[[69,[124]]]],[[114,22],[[69,[124]]]],[[[106,[24]],22],23],[[[115,[24]],22],23],[[[112,[24]],22],23],[[]],[[[112,[56]]],[[111,[56]]]],[[]],[[]],[[]],[[]],[[]],[[]],[125,112],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[]],0,[[[111,[55]],[117,[55]]],[[111,[55]]]],[[[111,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],0,0,[[[117,[55]]],[[111,[55]]]],[[[117,[55]],[59,[9]]],[[111,[55]]]],[[[106,[55]],6],[[25,[55]]]],[[[106,[55]],109,6],[[25,[55]]]],[[[111,[55]],[116,[55]],[117,[55]]],[[111,[55]]]],[[[111,[55]],[116,[55]],[117,[55]],[59,[9]]],[[111,[55]]]],[[[111,[55]],[117,[55]]]],[[[111,[55]],[117,[55]],[59,[9]]]],0,[[[112,[[0,[120,55]]]],2,[119,[[0,[120,55]]]]],[[106,[[0,[120,55]]]]]],[[[10,[[0,[122,123,120,55]]]],2,[119,[[0,[122,123,120,55]]]]],[[106,[[0,[122,123,120,55]]]]]],[[]],[[]],[[]],[[]],[[]],0,[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[50,[15]]],[[50,[15]]]],[[[105,[15]]],[[105,[15]]]],[[[107,[15]]],[[107,[15]]]],[[]],[[]],[[]],0,[[],50],[51],[51],0,[[]],[[]],[[]],[[]],[[[50,[21]],[50,[21]]],20],[[],20],[[],20],[[],20],[[51,22],23],[[[50,[24]],22],23],[[[105,[24]],22],23],[[[107,[24]],22],23],[[]],[[]],[[]],[97,107],[[]],[98,107],[63,[[50,[65]]]],[63,[[50,[65]]]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[[[50,[65]],63]],[[[50,[65]],63]],0,0,[[97,2],107],[[107,50],107],0,0,0,[[]],[[]],[[]],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[107,107],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[126,126],[127,127],[[]],[[]],[[126,126],128],[[],128],[[],129],[[],127],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[130,127,4,101]],[[126,126],20],[[],20],[[],20],[[],20],[126,[[60,[[59,[49]]]]]],[[[129,[131]],126],[[60,[[59,[49]]]]]],[[132,22],23],[[133,22],23],[[[129,[24]],22],23],[[126,22],23],[[[134,[24]],22],23],[[127,22],23],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[129,126],60],[[129,126],60],[[129,102],60],[[129,102],60],[[126,37]],[[129,102]],[[129,126]],[[129,102]],[[129,126]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[39,[38]]],[[39,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[40,[38]]],[[40,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[[41,[38]]],[[41,[5,38]]]],[[]],[[]],[129,20],[102,[[60,[135]]]],[102,[[60,[135]]]],[102,[[60,[135]]]],[129,102],[[102,102,125],132],[[],129],0,[[126,126],[[60,[128]]]],[[],[[59,[49]]]],0,[129,126],[[136,136,49,[10,[49]],4,101]],[[[59,[49]],4,101]],[[132,136,136,49,[10,[49]],4,101]],[[[129,[131]],136,136,49,[10,[49]],4,101]],[[]],[[]],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],69],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],70],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],[[],60],0,0],"c":[],"p":[[3,"Frame"],[3,"Color"],[15,"u8"],[15,"f32"],[8,"Any"],[3,"Graphics"],[3,"Queue"],[3,"Device"],[3,"UPx"],[3,"Rect"],[3,"RenderingGraphics"],[3,"ClipGuard"],[3,"TextureCollection"],[3,"CollectedTexture"],[8,"Clone"],[4,"Origin"],[3,"SharedTexture"],[3,"TextureRegion"],[8,"Clipped"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"PreparedGraphic"],[3,"Kludgine"],[3,"Texture"],[4,"AnyTexture"],[4,"Family"],[3,"Lp"],[4,"Style"],[3,"FontSystem"],[3,"Weight"],[4,"TextureFormat"],[3,"Color"],[4,"DynamicImage"],[8,"Hasher"],[3,"Global"],[3,"Box"],[3,"Arc"],[3,"Rc"],[3,"Size"],[3,"TextureUsages"],[15,"slice"],[8,"Unit"],[15,"i32"],[8,"Div"],[3,"Buffer"],[3,"Px"],[4,"TextOrigin"],[3,"PreparedText"],[3,"ImageDataLayout"],[3,"RenderPassDescriptor"],[8,"IntoSigned"],[8,"Copy"],[8,"Default"],[8,"ShaderScalable"],[8,"IsZero"],[3,"Point"],[4,"Option"],[3,"Angle"],[4,"LoadOp"],[3,"Fraction"],[4,"FamilyOwned"],[8,"ScreenScale"],[3,"Attrs"],[4,"Width"],[3,"SubmissionIndex"],[4,"Result"],[3,"TypeId"],[3,"Window"],[3,"DeviceId"],[6,"AxisId"],[15,"f64"],[3,"WindowHandle"],[3,"PhysicalPosition"],[8,"Send"],[3,"WindowAttributes"],[3,"PathBuf"],[3,"Duration"],[4,"Ime"],[4,"KeyCode"],[3,"KeyEvent"],[3,"Limits"],[3,"Modifiers"],[4,"MouseButton"],[4,"ElementState"],[4,"MouseScrollDelta"],[4,"TouchPhase"],[4,"PowerPreference"],[15,"char"],[3,"Instant"],[8,"FnMut"],[8,"UnwindSafe"],[4,"EventLoopError"],[4,"ImePurpose"],[15,"str"],[3,"String"],[3,"Touch"],[15,"i64"],[3,"Renderer"],[15,"usize"],[3,"Drawing"],[8,"ScreenUnit"],[3,"MeasuredText"],[3,"Shape"],[3,"Text"],[8,"Into"],[8,"TextureSource"],[8,"ShapeSource"],[3,"PathBuilder"],[3,"Path"],[4,"LineCap"],[4,"LineJoin"],[4,"PathEvent"],[6,"ControlPoint"],[6,"Endpoint"],[8,"DefaultStrokeWidth"],[3,"StrokeOptions"],[8,"FloatConversion"],[8,"Neg"],[8,"Add"],[8,"Ord"],[3,"Error"],[8,"IntoIterator"],[3,"ObjectId"],[4,"TileMapFocus"],[4,"Ordering"],[3,"ObjectLayer"],[8,"Layers"],[8,"Object"],[3,"Tiles"],[4,"TileKind"],[3,"ObjectInfo"],[8,"Layer"],[3,"TileOffset"],[8,"WindowBehavior"],[8,"Message"],[13,"Begin"],[13,"End"],[13,"Quadratic"],[13,"Cubic"],[13,"Line"],[13,"Object"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/main/src-files.js b/main/src-files.js index 269b6a7a9..63e48c02a 100644 --- a/main/src-files.js +++ b/main/src-files.js @@ -1,4 +1,4 @@ var srcIndex = JSON.parse('{\ -"kludgine":["",[],["app.rs","atlas.rs","buffer.rs","lib.rs","pipeline.rs","pod.rs","render.rs","sealed.rs","shapes.rs","text.rs"]]\ +"kludgine":["",[],["app.rs","atlas.rs","buffer.rs","lib.rs","pipeline.rs","pod.rs","render.rs","sealed.rs","shapes.rs","text.rs","tilemap.rs"]]\ }'); createSrcSidebar(); diff --git a/main/src/kludgine/lib.rs.html b/main/src/kludgine/lib.rs.html index 8bb5e7f1c..f57525288 100644 --- a/main/src/kludgine/lib.rs.html +++ b/main/src/kludgine/lib.rs.html @@ -1637,6 +1637,7 @@ 1637 1638 1639 +1640
    #![doc = include_str!("../README.md")]
     // This crate uses unsafe, but attempts to minimize its usage. All functions
     // that utilize unsafe must explicitly enable it.
    @@ -1680,6 +1681,7 @@
     /// Types for text rendering.
     #[cfg(feature = "cosmic-text")]
     pub mod text;
    +pub mod tilemap;
     
     pub use atlas::{CollectedTexture, TextureCollection};
     pub use pipeline::{PreparedGraphic, ShaderScalable};
    diff --git a/main/src/kludgine/tilemap.rs.html b/main/src/kludgine/tilemap.rs.html
    new file mode 100644
    index 000000000..ba4df0c30
    --- /dev/null
    +++ b/main/src/kludgine/tilemap.rs.html
    @@ -0,0 +1,789 @@
    +tilemap.rs - source
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    +264
    +265
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +287
    +288
    +289
    +290
    +291
    +292
    +293
    +294
    +295
    +296
    +297
    +298
    +299
    +300
    +301
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +315
    +316
    +317
    +318
    +319
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +329
    +330
    +331
    +332
    +333
    +334
    +335
    +336
    +337
    +338
    +339
    +340
    +341
    +342
    +343
    +344
    +345
    +346
    +347
    +348
    +349
    +350
    +351
    +352
    +353
    +354
    +355
    +356
    +357
    +358
    +359
    +360
    +361
    +362
    +363
    +364
    +365
    +366
    +367
    +368
    +369
    +370
    +371
    +372
    +373
    +374
    +375
    +376
    +377
    +378
    +379
    +380
    +381
    +382
    +383
    +384
    +385
    +386
    +387
    +388
    +389
    +390
    +391
    +392
    +393
    +394
    +
    #![allow(missing_docs, clippy::missing_panics_doc)] // This file is a work in progress.
    +
    +use std::fmt::Debug;
    +use std::ops::{Index, IndexMut};
    +use std::panic::{AssertUnwindSafe, UnwindSafe};
    +
    +use alot::{LotId, OrderedLots};
    +
    +use crate::figures::units::Px;
    +use crate::figures::{IntoSigned, Point, Rect, Size};
    +use crate::render::Renderer;
    +use crate::shapes::Shape;
    +use crate::text::Text;
    +use crate::{AnyTexture, Assert, Color};
    +
    +pub const TILE_SIZE: Px = Px(32);
    +
    +pub fn draw(layers: &impl Layers, focus: TileMapFocus, zoom: f32, graphics: &mut Renderer<'_, '_>) {
    +    let effective_zoom = graphics.scale().into_f32() * zoom;
    +
    +    let offset = match focus {
    +        TileMapFocus::Point(focus) => focus,
    +        TileMapFocus::Object { layer, id } => layers
    +            .layer(layer)
    +            .assert("invalid focus layer")
    +            .find_object(id)
    +            .assert("focus not found"),
    +    };
    +    let offset = Point::new(offset.x * effective_zoom, offset.y * effective_zoom);
    +
    +    let visible_size = graphics.clip_rect().size.into_signed();
    +    let visible_region = Rect::new(offset - visible_size / 2, visible_size);
    +    let tile_size = TILE_SIZE * effective_zoom;
    +    let top_left = first_tile(visible_region.origin, tile_size);
    +    let bottom_right = last_tile(visible_region.origin + visible_region.size, tile_size);
    +
    +    for index in 0.. {
    +        let Some(layer) = layers.layer(index) else {
    +            break;
    +        };
    +        layer.render(
    +            &top_left,
    +            &bottom_right,
    +            tile_size,
    +            &visible_region,
    +            effective_zoom,
    +            graphics,
    +        );
    +    }
    +
    +    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,
    +        ),
    +        Point::default(),
    +        None,
    +        None,
    +    );
    +}
    +
    +pub struct TileOffset {
    +    index: Point<isize>,
    +    tile_offset: Point<Px>,
    +}
    +
    +fn first_tile(pos: Point<Px>, tile_size: Px) -> TileOffset {
    +    fn coord_info(pos: Px, tile_size: Px) -> (isize, Px) {
    +        let remainder = pos % tile_size;
    +        let (offset, floored) = if pos < 0 {
    +            // Remainder is negative here.
    +            let offset = tile_size + remainder;
    +            let floored = pos - offset;
    +
    +            (-offset, floored)
    +        } else {
    +            (-remainder, pos - remainder)
    +        };
    +        let index =
    +            isize::try_from(floored.0 / tile_size.0).expect("tile size out of range of isize");
    +        (index, offset)
    +    }
    +
    +    let (x_index, x) = coord_info(pos.x, tile_size);
    +    let (y_index, y) = coord_info(pos.y, tile_size);
    +    TileOffset {
    +        index: Point::new(x_index, y_index),
    +        tile_offset: Point::new(x, y),
    +    }
    +}
    +
    +fn last_tile(pos: Point<Px>, tile_size: Px) -> TileOffset {
    +    fn coord_info(pos: Px, tile_size: Px) -> (isize, Px) {
    +        let index = (pos.0 + pos.0.signum() * (tile_size.0 - 1)) / tile_size.0;
    +        let floored = tile_size * index;
    +        let index = isize::try_from(index).expect("tile size out of range of isize");
    +        (index, floored)
    +    }
    +
    +    let (x_index, x) = coord_info(pos.x, tile_size);
    +    let (y_index, y) = coord_info(pos.y, tile_size);
    +    TileOffset {
    +        index: Point::new(x_index, y_index),
    +        tile_offset: Point::new(x, y),
    +    }
    +}
    +
    +pub trait Layers: Debug + UnwindSafe + Send + 'static {
    +    fn layer(&self, index: usize) -> Option<&dyn Layer>;
    +}
    +
    +impl<T> Layers for T
    +where
    +    T: Layer,
    +{
    +    fn layer(&self, index: usize) -> Option<&dyn Layer> {
    +        (index == 0).then_some(self)
    +    }
    +}
    +
    +macro_rules! impl_layers_for_tuples {
    +    ($($type:ident : $index:tt),+) => {
    +        impl<$($type),+> Layers for ($($type),+) where $(
    +            $type: Debug + UnwindSafe + Send + Layer + 'static
    +        ),+ {
    +            fn layer(&self, index: usize) -> Option<&dyn Layer> {
    +                match index {
    +                    $($index => Some(&self.$index),)+
    +                    _ => None,
    +                }
    +            }
    +        }
    +    };
    +}
    +
    +impl_layers_for_tuples!(T1: 0, T2: 1);
    +
    +pub trait Layer: Debug + UnwindSafe + Send + 'static {
    +    fn render(
    +        &self,
    +        top_left: &TileOffset,
    +        bottom_right: &TileOffset,
    +        tile_size: Px,
    +        visible_rect: &Rect<Px>,
    +        zoom: f32,
    +        context: &mut Renderer<'_, '_>,
    +    );
    +
    +    fn find_object(&self, _object: ObjectId) -> Option<Point<Px>> {
    +        None
    +    }
    +}
    +
    +#[derive(Debug)]
    +pub struct Tiles {
    +    tiles: AssertUnwindSafe<Vec<TileKind>>,
    +    width: usize,
    +    height: usize,
    +}
    +
    +impl Tiles {
    +    pub fn new(width: usize, height: usize, tiles: impl IntoIterator<Item = TileKind>) -> Self {
    +        let tiles = Vec::from_iter(tiles);
    +        assert_eq!(tiles.len(), width * height);
    +        Self {
    +            tiles: AssertUnwindSafe(tiles),
    +            width,
    +            height,
    +        }
    +    }
    +}
    +
    +fn isize_to_i32(value: isize) -> i32 {
    +    i32::try_from(value).unwrap_or_else(|_| {
    +        if value.is_negative() {
    +            i32::MIN
    +        } else {
    +            i32::MAX
    +        }
    +    })
    +}
    +
    +impl Layer for Tiles {
    +    fn render(
    +        &self,
    +        top_left: &TileOffset,
    +        bottom_right: &TileOffset,
    +        tile_size: Px,
    +        _visible_rect: &Rect<Px>,
    +        _zoom: f32,
    +        context: &mut Renderer<'_, '_>,
    +    ) {
    +        let (Ok(right), Ok(bottom)) = (
    +            usize::try_from(bottom_right.index.x),
    +            usize::try_from(bottom_right.index.y),
    +        ) else {
    +            return;
    +        };
    +
    +        let (x, left) = if let Ok(left) = usize::try_from(top_left.index.x) {
    +            (
    +                top_left.tile_offset.x + tile_size * isize_to_i32(top_left.index.x),
    +                left,
    +            )
    +        } else {
    +            let tile_offset = tile_size * isize_to_i32(-top_left.index.x);
    +            (top_left.tile_offset.x + tile_offset, 0)
    +        };
    +        let (mut y, top) = if let Ok(top) = usize::try_from(top_left.index.y) {
    +            (
    +                top_left.tile_offset.y + tile_size * isize_to_i32(top_left.index.y),
    +                top,
    +            )
    +        } else {
    +            let tile_offset =
    +                tile_size * i32::try_from(-top_left.index.y).expect("offset out of range");
    +            (top_left.tile_offset.y + tile_offset, 0)
    +        };
    +
    +        let right = right.min(self.width - 1);
    +        let bottom = bottom.min(self.height - 1);
    +
    +        if left <= right && top <= bottom {
    +            for y_index in top..=bottom {
    +                let mut x = x;
    +                for x_index in left..=right {
    +                    let tile_rect = Rect::new(Point::new(x, y), Size::squared(tile_size));
    +                    match &self.tiles[y_index * self.width + x_index] {
    +                        TileKind::Texture(texture) => {
    +                            // 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,
    +                        ),
    +                    };
    +                    x += tile_size;
    +                }
    +                y += tile_size;
    +            }
    +        }
    +    }
    +}
    +
    +#[derive(Debug)]
    +pub enum TileKind {
    +    Texture(AnyTexture),
    +    Color(Color),
    +}
    +
    +#[derive(Debug)]
    +pub struct ObjectLayer<O> {
    +    objects: OrderedLots<O>,
    +}
    +
    +impl<O> Default for ObjectLayer<O> {
    +    fn default() -> Self {
    +        Self::new()
    +    }
    +}
    +
    +impl<O> ObjectLayer<O> {
    +    #[must_use]
    +    pub const fn new() -> Self {
    +        Self {
    +            objects: OrderedLots::new(),
    +        }
    +    }
    +
    +    pub fn push(&mut self, object: O) -> ObjectId {
    +        ObjectId(self.objects.push(object))
    +    }
    +
    +    #[must_use]
    +    pub fn get(&self, id: ObjectId) -> Option<&O> {
    +        self.objects.get(id.0)
    +    }
    +
    +    pub fn get_mut(&mut self, id: ObjectId) -> Option<&mut O> {
    +        self.objects.get_mut(id.0)
    +    }
    +
    +    #[must_use]
    +    pub fn len(&self) -> usize {
    +        self.objects.len()
    +    }
    +
    +    #[must_use]
    +    pub fn is_empty(&self) -> bool {
    +        self.objects.is_empty()
    +    }
    +
    +    pub fn get_nth(&mut self, index: usize) -> Option<&O> {
    +        self.objects.get_by_index(index)
    +    }
    +
    +    pub fn get_nth_mut(&mut self, index: usize) -> Option<&mut O> {
    +        self.objects.get_mut_by_index(index)
    +    }
    +}
    +
    +impl<O> Index<ObjectId> for ObjectLayer<O> {
    +    type Output = O;
    +
    +    fn index(&self, id: ObjectId) -> &Self::Output {
    +        &self.objects[id.0]
    +    }
    +}
    +
    +impl<O> IndexMut<ObjectId> for ObjectLayer<O> {
    +    fn index_mut(&mut self, id: ObjectId) -> &mut Self::Output {
    +        &mut self.objects[id.0]
    +    }
    +}
    +
    +impl<O> Index<usize> for ObjectLayer<O> {
    +    type Output = O;
    +
    +    fn index(&self, index: usize) -> &Self::Output {
    +        &self.objects[index]
    +    }
    +}
    +
    +impl<O> IndexMut<usize> for ObjectLayer<O> {
    +    fn index_mut(&mut self, index: usize) -> &mut Self::Output {
    +        &mut self.objects[index]
    +    }
    +}
    +
    +impl<O> Layer for ObjectLayer<O>
    +where
    +    O: Object,
    +{
    +    fn render(
    +        &self,
    +        _top_left: &TileOffset,
    +        _bottom_right: &TileOffset,
    +        _tile_size: Px,
    +        visible_rect: &Rect<Px>,
    +        zoom: f32,
    +        context: &mut Renderer<'_, '_>,
    +    ) {
    +        for obj in &self.objects {
    +            let center =
    +                Point::new(obj.position().x * zoom, obj.position().y * zoom) - visible_rect.origin;
    +
    +            obj.render(center, zoom, context);
    +        }
    +    }
    +
    +    fn find_object(&self, object: ObjectId) -> Option<Point<Px>> {
    +        Some(self[object].position())
    +    }
    +}
    +
    +#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
    +pub struct ObjectId(LotId);
    +
    +#[derive(Debug)]
    +pub struct ObjectInfo<O> {
    +    pub position: Point<Px>,
    +    pub object: O,
    +}
    +
    +#[derive(Debug, Clone, Copy)]
    +pub enum TileMapFocus {
    +    Point(Point<Px>),
    +    Object { layer: usize, id: ObjectId },
    +}
    +
    +impl Default for TileMapFocus {
    +    fn default() -> Self {
    +        Self::Point(Point::default())
    +    }
    +}
    +
    +pub trait Object: Debug + UnwindSafe + Send + 'static {
    +    fn position(&self) -> Point<Px>;
    +    fn render(&self, center: Point<Px>, zoom: f32, context: &mut Renderer<'_, '_>);
    +}
    +
    \ No newline at end of file