Enum maplibre::map::MapContextState
source · [−]pub enum MapContextState {
+MapContextState in maplibre::map - Rust Enum maplibre::map::MapContextState
source · [−]pub enum MapContextState {
Ready(MapContext),
Pending {
style: Style,
diff --git a/docs/api/maplibre/map/enum.MapError.html b/docs/api/maplibre/map/enum.MapError.html
index 475c0f4e..ab6a7e00 100644
--- a/docs/api/maplibre/map/enum.MapError.html
+++ b/docs/api/maplibre/map/enum.MapError.html
@@ -1,9 +1,9 @@
-MapError in maplibre::map - Rust pub enum MapError {
+MapError in maplibre::map - Rust pub enum MapError {
RendererAlreadySet,
RenderGraphInit(RenderGraphError),
- DeviceInit,
+ DeviceInit(RenderError),
}
Variants
RendererAlreadySet
No need to set renderer again
-RenderGraphInit(RenderGraphError)
DeviceInit
Trait Implementations
sourceimpl Error for MapError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · sourcefn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
+RenderGraphInit(RenderGraphError)
DeviceInit(RenderError)
Trait Implementations
sourceimpl Error for MapError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · sourcefn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for MapError
impl Send for MapError
impl Sync for MapError
impl Unpin for MapError
impl UnwindSafe for MapError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
diff --git a/docs/api/maplibre/map/index.html b/docs/api/maplibre/map/index.html
index adfbda7d..f9b433fb 100644
--- a/docs/api/maplibre/map/index.html
+++ b/docs/api/maplibre/map/index.html
@@ -1 +1 @@
-maplibre::map - Rust
\ No newline at end of file
+maplibre::map - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/map/struct.Map.html b/docs/api/maplibre/map/struct.Map.html
index 3973c13d..ce6680b2 100644
--- a/docs/api/maplibre/map/struct.Map.html
+++ b/docs/api/maplibre/map/struct.Map.html
@@ -1,9 +1,9 @@
-Map in maplibre::map - Rust pub struct Map<E: Environment> {
+Map in maplibre::map - Rust pub struct Map<E: Environment> {
kernel: Rc<Kernel<E>>,
schedule: Schedule,
map_context: MapContextState,
window: <E::MapWindowConfig as MapWindowConfig>::MapWindow,
-}
Fields
kernel: Rc<Kernel<E>>schedule: Schedulemap_context: MapContextStatewindow: <E::MapWindowConfig as MapWindowConfig>::MapWindowImplementations
sourceimpl<E: Environment> Map<E>where
<<E as Environment>::MapWindowConfig as MapWindowConfig>::MapWindow: HeadedMapWindow,
sourcepub fn new(
style: Style,
kernel: Kernel<E>,
renderer_builder: RendererBuilder
) -> Result<Self, MapError>
sourcepub async fn initialize_renderer(&mut self) -> Result<(), MapError>
sourcepub fn window_mut(
&mut self
) -> &mut <E::MapWindowConfig as MapWindowConfig>::MapWindow
sourcepub fn window(&self) -> &<E::MapWindowConfig as MapWindowConfig>::MapWindow
sourcepub fn has_renderer(&self) -> bool
sourcepub fn run_schedule(&mut self) -> Result<(), MapError>
sourcepub fn context(&self) -> Result<&MapContext, MapError>
sourcepub fn context_mut(&mut self) -> Result<&mut MapContext, MapError>
sourcepub fn kernel(&self) -> &Rc<Kernel<E>>
Auto Trait Implementations
impl<E> !RefUnwindSafe for Map<E>
impl<E> !Send for Map<E>
impl<E> !Sync for Map<E>
impl<E> Unpin for Map<E>where
<<E as Environment>::MapWindowConfig as MapWindowConfig>::MapWindow: Unpin,
impl<E> !UnwindSafe for Map<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+}Fields
kernel: Rc<Kernel<E>>schedule: Schedulemap_context: MapContextStatewindow: <E::MapWindowConfig as MapWindowConfig>::MapWindowImplementations
sourceimpl<E: Environment> Map<E>where
<<E as Environment>::MapWindowConfig as MapWindowConfig>::MapWindow: HeadedMapWindow,
sourcepub fn new(
style: Style,
kernel: Kernel<E>,
renderer_builder: RendererBuilder
) -> Result<Self, MapError>
sourcepub async fn initialize_renderer(&mut self) -> Result<(), MapError>
sourcepub fn window_mut(
&mut self
) -> &mut <E::MapWindowConfig as MapWindowConfig>::MapWindow
sourcepub fn window(&self) -> &<E::MapWindowConfig as MapWindowConfig>::MapWindow
sourcepub fn has_renderer(&self) -> bool
sourcepub fn run_schedule(&mut self) -> Result<(), MapError>
sourcepub fn context(&self) -> Result<&MapContext, MapError>
sourcepub fn context_mut(&mut self) -> Result<&mut MapContext, MapError>
sourcepub fn kernel(&self) -> &Rc<Kernel<E>>
Auto Trait Implementations
impl<E> !RefUnwindSafe for Map<E>
impl<E> !Send for Map<E>
impl<E> !Sync for Map<E>
impl<E> Unpin for Map<E>where
<<E as Environment>::MapWindowConfig as MapWindowConfig>::MapWindow: Unpin,
impl<E> !UnwindSafe for Map<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/constant.INDEX_FORMAT.html b/docs/api/maplibre/render/constant.INDEX_FORMAT.html
index 6e9d7a3b..66fcb5d4 100644
--- a/docs/api/maplibre/render/constant.INDEX_FORMAT.html
+++ b/docs/api/maplibre/render/constant.INDEX_FORMAT.html
@@ -1 +1 @@
-INDEX_FORMAT in maplibre::render - Rust Constant maplibre::render::INDEX_FORMAT
source · [−]const INDEX_FORMAT: IndexFormat;
\ No newline at end of file
+INDEX_FORMAT in maplibre::render - Rust Constant maplibre::render::INDEX_FORMAT
source · [−]const INDEX_FORMAT: IndexFormat;
\ No newline at end of file
diff --git a/docs/api/maplibre/render/draw_graph/constant.NAME.html b/docs/api/maplibre/render/draw_graph/constant.NAME.html
index b1cadcdf..3ab2111c 100644
--- a/docs/api/maplibre/render/draw_graph/constant.NAME.html
+++ b/docs/api/maplibre/render/draw_graph/constant.NAME.html
@@ -1 +1 @@
-NAME in maplibre::render::draw_graph - Rust
\ No newline at end of file
+NAME in maplibre::render::draw_graph - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/draw_graph/index.html b/docs/api/maplibre/render/draw_graph/index.html
index 78667e78..d40d34b1 100644
--- a/docs/api/maplibre/render/draw_graph/index.html
+++ b/docs/api/maplibre/render/draw_graph/index.html
@@ -1,2 +1,2 @@
-maplibre::render::draw_graph - Rust Module maplibre::render::draw_graph
source · [−]Expand description
Labels for the “draw” graph
+maplibre::render::draw_graph - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/draw_graph/input/index.html b/docs/api/maplibre/render/draw_graph/input/index.html
index 4cf254de..6ba5f0ec 100644
--- a/docs/api/maplibre/render/draw_graph/input/index.html
+++ b/docs/api/maplibre/render/draw_graph/input/index.html
@@ -1 +1 @@
-maplibre::render::draw_graph::input - Rust
\ No newline at end of file
+maplibre::render::draw_graph::input - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/draw_graph/node/constant.MAIN_PASS.html b/docs/api/maplibre/render/draw_graph/node/constant.MAIN_PASS.html
index 59b8c69a..d04df80e 100644
--- a/docs/api/maplibre/render/draw_graph/node/constant.MAIN_PASS.html
+++ b/docs/api/maplibre/render/draw_graph/node/constant.MAIN_PASS.html
@@ -1 +1 @@
-MAIN_PASS in maplibre::render::draw_graph::node - Rust
\ No newline at end of file
+MAIN_PASS in maplibre::render::draw_graph::node - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/draw_graph/node/index.html b/docs/api/maplibre/render/draw_graph/node/index.html
index 974dc2c5..174e24c8 100644
--- a/docs/api/maplibre/render/draw_graph/node/index.html
+++ b/docs/api/maplibre/render/draw_graph/node/index.html
@@ -1 +1 @@
-maplibre::render::draw_graph::node - Rust
\ No newline at end of file
+maplibre::render::draw_graph::node - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/error/enum.RenderError.html b/docs/api/maplibre/render/error/enum.RenderError.html
index 8293cf8b..6451cfc2 100644
--- a/docs/api/maplibre/render/error/enum.RenderError.html
+++ b/docs/api/maplibre/render/error/enum.RenderError.html
@@ -1,8 +1,10 @@
-RenderError in maplibre::render::error - Rust pub enum RenderError {
+RenderError in maplibre::render::error - Rust pub enum RenderError {
Surface(SurfaceError),
Graph(RenderGraphError),
- Device(RequestDeviceError),
-}
Variants
Surface(SurfaceError)
Graph(RenderGraphError)
Device(RequestDeviceError)
Implementations
sourceimpl RenderError
sourcepub fn should_exit(&self) -> bool
Trait Implementations
sourceimpl Debug for RenderError
sourceimpl Display for RenderError
sourceimpl From<RenderGraphError> for RenderError
sourcefn from(e: RenderGraphError) -> Self
Converts to this type from the input type.sourceimpl From<RequestDeviceError> for RenderError
sourceimpl From<SurfaceError> for RenderError
Auto Trait Implementations
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnwindSafe for RenderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+ RequestDevice(RequestDeviceError),
+}Variants
Surface(SurfaceError)
Graph(RenderGraphError)
RequestDevice(RequestDeviceError)
Implementations
sourceimpl RenderError
sourcepub fn should_exit(&self) -> bool
Trait Implementations
sourceimpl Debug for RenderError
sourceimpl Display for RenderError
sourceimpl Error for RenderError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · sourcefn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
+sourceimpl From<RenderGraphError> for RenderError
sourcefn from(source: RenderGraphError) -> Self
Converts to this type from the input type.sourceimpl From<RequestDeviceError> for RenderError
sourceimpl From<SurfaceError> for RenderError
Auto Trait Implementations
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnwindSafe for RenderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
@@ -13,6 +15,7 @@ further downcast into Arc<ConcreteType> where Instrumented wrapper. Read more sourceimpl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
+sourceimpl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/docs/api/maplibre/render/error/index.html b/docs/api/maplibre/render/error/index.html
index 4eb3bdaf..6814bea9 100644
--- a/docs/api/maplibre/render/error/index.html
+++ b/docs/api/maplibre/render/error/index.html
@@ -1 +1 @@
-maplibre::render::error - Rust
\ No newline at end of file
+maplibre::render::error - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/eventually/trait.HasChanged.html b/docs/api/maplibre/render/eventually/trait.HasChanged.html
index 719aaaef..935a1955 100644
--- a/docs/api/maplibre/render/eventually/trait.HasChanged.html
+++ b/docs/api/maplibre/render/eventually/trait.HasChanged.html
@@ -2,4 +2,4 @@
type Criteria: Eq;
fn has_changed(&self, criteria: &Self::Criteria) -> bool;
-}Required Associated Types
Required Methods
sourcefn has_changed(&self, criteria: &Self::Criteria) -> bool
Implementations on Foreign Types
sourceimpl<T> HasChanged for Option<T>where
T: HasChanged,
type Criteria = <T as HasChanged>::Criteria
sourcefn has_changed(&self, criteria: &Self::Criteria) -> bool
Implementors
sourceimpl HasChanged for WindowHead
\ No newline at end of file
+}
Required Associated Types
Required Methods
sourcefn has_changed(&self, criteria: &Self::Criteria) -> bool
Implementations on Foreign Types
sourceimpl<T> HasChanged for Option<T>where
T: HasChanged,
type Criteria = <T as HasChanged>::Criteria
sourcefn has_changed(&self, criteria: &Self::Criteria) -> bool
Implementors
sourceimpl HasChanged for WindowHead
\ No newline at end of file
diff --git a/docs/api/maplibre/render/fn.create_default_render_graph.html b/docs/api/maplibre/render/fn.create_default_render_graph.html
index 1f156c05..701efaa3 100644
--- a/docs/api/maplibre/render/fn.create_default_render_graph.html
+++ b/docs/api/maplibre/render/fn.create_default_render_graph.html
@@ -1 +1 @@
-create_default_render_graph in maplibre::render - Rust Function maplibre::render::create_default_render_graph
source · [−]pub fn create_default_render_graph() -> Result<RenderGraph, RenderGraphError>
\ No newline at end of file
+create_default_render_graph in maplibre::render - Rust Function maplibre::render::create_default_render_graph
source · [−]pub fn create_default_render_graph() -> Result<RenderGraph, RenderGraphError>
\ No newline at end of file
diff --git a/docs/api/maplibre/render/graph/enum.RenderGraphError.html b/docs/api/maplibre/render/graph/enum.RenderGraphError.html
index 3b91bea3..164f21a7 100644
--- a/docs/api/maplibre/render/graph/enum.RenderGraphError.html
+++ b/docs/api/maplibre/render/graph/enum.RenderGraphError.html
@@ -26,7 +26,7 @@
},
}Variants
InvalidNode(NodeLabel)
InvalidOutputNodeSlot(SlotLabel)
InvalidInputNodeSlot(SlotLabel)
WrongNodeType
MismatchedNodeSlots
EdgeAlreadyExists(Edge)
EdgeDoesNotExist(Edge)
UnconnectedNodeInputSlot
UnconnectedNodeOutputSlot
NodeInputSlotAlreadyOccupied
Trait Implementations
sourceimpl Debug for RenderGraphError
sourceimpl Display for RenderGraphError
sourceimpl Error for RenderGraphError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · sourcefn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<RenderGraphError> for RenderError
sourcefn from(e: RenderGraphError) -> Self
Converts to this type from the input type.sourceimpl PartialEq<RenderGraphError> for RenderGraphError
sourcefn eq(&self, other: &RenderGraphError) -> bool
This method tests for self and other values to be equal, and is used
+sourceimpl From<RenderGraphError> for RenderError
sourcefn from(source: RenderGraphError) -> Self
Converts to this type from the input type.sourceimpl PartialEq<RenderGraphError> for RenderGraphError
sourcefn eq(&self, other: &RenderGraphError) -> bool
sourceimpl Eq for RenderGraphError
sourceimpl StructuralEq for RenderGraphError
sourceimpl StructuralPartialEq for RenderGraphError
Auto Trait Implementations
impl RefUnwindSafe for RenderGraphError
impl Send for RenderGraphError
impl Sync for RenderGraphError
impl Unpin for RenderGraphError
impl UnwindSafe for RenderGraphError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
diff --git a/docs/api/maplibre/render/index.html b/docs/api/maplibre/render/index.html
index 39d8a8d7..34dd1c43 100644
--- a/docs/api/maplibre/render/index.html
+++ b/docs/api/maplibre/render/index.html
@@ -1,4 +1,4 @@
-maplibre::render - Rust Expand description
This module implements the rendering algorithm of maplibre-rs. It manages the whole
+
maplibre::render - Rust Expand description
This module implements the rendering algorithm of maplibre-rs. It manages the whole
communication with the GPU.
The render in this module is largely based on the
bevy_render
diff --git a/docs/api/maplibre/render/main_graph/index.html b/docs/api/maplibre/render/main_graph/index.html
index d020b4a2..baa0522c 100644
--- a/docs/api/maplibre/render/main_graph/index.html
+++ b/docs/api/maplibre/render/main_graph/index.html
@@ -1 +1 @@
-
maplibre::render::main_graph - Rust
\ No newline at end of file
+maplibre::render::main_graph - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/main_graph/input/index.html b/docs/api/maplibre/render/main_graph/input/index.html
index b9c8466d..49ecc060 100644
--- a/docs/api/maplibre/render/main_graph/input/index.html
+++ b/docs/api/maplibre/render/main_graph/input/index.html
@@ -1 +1 @@
-maplibre::render::main_graph::input - Rust
\ No newline at end of file
+maplibre::render::main_graph::input - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DEPENDENCIES.html b/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DEPENDENCIES.html
index 7a1a59d4..59b01ad1 100644
--- a/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DEPENDENCIES.html
+++ b/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DEPENDENCIES.html
@@ -1 +1 @@
-MAIN_PASS_DEPENDENCIES in maplibre::render::main_graph::node - Rust Constant maplibre::render::main_graph::node::MAIN_PASS_DEPENDENCIES
source · [−]pub const MAIN_PASS_DEPENDENCIES: &'static str = "main_pass_dependencies";
\ No newline at end of file
+MAIN_PASS_DEPENDENCIES in maplibre::render::main_graph::node - Rust Constant maplibre::render::main_graph::node::MAIN_PASS_DEPENDENCIES
source · [−]pub const MAIN_PASS_DEPENDENCIES: &'static str = "main_pass_dependencies";
\ No newline at end of file
diff --git a/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DRIVER.html b/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DRIVER.html
index b5709e94..ff8c61f9 100644
--- a/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DRIVER.html
+++ b/docs/api/maplibre/render/main_graph/node/constant.MAIN_PASS_DRIVER.html
@@ -1 +1 @@
-MAIN_PASS_DRIVER in maplibre::render::main_graph::node - Rust Constant maplibre::render::main_graph::node::MAIN_PASS_DRIVER
source · [−]pub const MAIN_PASS_DRIVER: &'static str = "main_pass_driver";
\ No newline at end of file
+MAIN_PASS_DRIVER in maplibre::render::main_graph::node - Rust Constant maplibre::render::main_graph::node::MAIN_PASS_DRIVER
source · [−]pub const MAIN_PASS_DRIVER: &'static str = "main_pass_driver";
\ No newline at end of file
diff --git a/docs/api/maplibre/render/main_graph/node/index.html b/docs/api/maplibre/render/main_graph/node/index.html
index b9052f9a..ff1f0863 100644
--- a/docs/api/maplibre/render/main_graph/node/index.html
+++ b/docs/api/maplibre/render/main_graph/node/index.html
@@ -1 +1 @@
-maplibre::render::main_graph::node - Rust
\ No newline at end of file
+maplibre::render::main_graph::node - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/resource/enum.Head.html b/docs/api/maplibre/render/resource/enum.Head.html
index 076b86fd..921b1506 100644
--- a/docs/api/maplibre/render/resource/enum.Head.html
+++ b/docs/api/maplibre/render/resource/enum.Head.html
@@ -1,4 +1,4 @@
-Head in maplibre::render::resource - Rust pub enum Head {
+Head in maplibre::render::resource - Rust pub enum Head {
Headed(WindowHead),
Headless(Arc<BufferedTextureHead>),
}
Variants
Headed(WindowHead)
Headless(Arc<BufferedTextureHead>)
Auto Trait Implementations
impl !RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl !UnwindSafe for Head
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
diff --git a/docs/api/maplibre/render/resource/struct.BufferDimensions.html b/docs/api/maplibre/render/resource/struct.BufferDimensions.html
index d2a4a8ca..1dcb2937 100644
--- a/docs/api/maplibre/render/resource/struct.BufferDimensions.html
+++ b/docs/api/maplibre/render/resource/struct.BufferDimensions.html
@@ -1,9 +1,9 @@
BufferDimensions in maplibre::render::resource - Rust pub struct BufferDimensions {
- pub width: usize,
- pub height: usize,
- pub unpadded_bytes_per_row: usize,
- pub padded_bytes_per_row: usize,
-}
Fields
width: usizeheight: usizeunpadded_bytes_per_row: usizepadded_bytes_per_row: usizeImplementations
Auto Trait Implementations
impl RefUnwindSafe for BufferDimensions
impl Send for BufferDimensions
impl Sync for BufferDimensions
impl Unpin for BufferDimensions
impl UnwindSafe for BufferDimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+ pub width: u32,
+ pub height: u32,
+ pub unpadded_bytes_per_row: NonZeroU32,
+ pub padded_bytes_per_row: NonZeroU32,
+}Fields
width: u32height: u32unpadded_bytes_per_row: NonZeroU32padded_bytes_per_row: NonZeroU32Implementations
sourceimpl BufferDimensions
sourcefn new(size: WindowSize) -> Self
Auto Trait Implementations
impl RefUnwindSafe for BufferDimensions
impl Send for BufferDimensions
impl Sync for BufferDimensions
impl Unpin for BufferDimensions
impl UnwindSafe for BufferDimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/struct.BufferedTextureHead.html b/docs/api/maplibre/render/resource/struct.BufferedTextureHead.html
index a0dd11a7..01c30e12 100644
--- a/docs/api/maplibre/render/resource/struct.BufferedTextureHead.html
+++ b/docs/api/maplibre/render/resource/struct.BufferedTextureHead.html
@@ -1,8 +1,9 @@
-BufferedTextureHead in maplibre::render::resource - Rust pub struct BufferedTextureHead {
- pub texture: Texture,
- pub output_buffer: Buffer,
- pub buffer_dimensions: BufferDimensions,
-}
Fields
texture: Textureoutput_buffer: Bufferbuffer_dimensions: BufferDimensionsAuto Trait Implementations
impl !RefUnwindSafe for BufferedTextureHead
impl Send for BufferedTextureHead
impl Sync for BufferedTextureHead
impl Unpin for BufferedTextureHead
impl !UnwindSafe for BufferedTextureHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+BufferedTextureHead in maplibre::render::resource - Rust pub struct BufferedTextureHead {
+ texture: Texture,
+ texture_format: TextureFormat,
+ output_buffer: Buffer,
+ buffer_dimensions: BufferDimensions,
+}
Fields
texture: Texturetexture_format: TextureFormatoutput_buffer: Bufferbuffer_dimensions: BufferDimensionsAuto Trait Implementations
impl !RefUnwindSafe for BufferedTextureHead
impl Send for BufferedTextureHead
impl Sync for BufferedTextureHead
impl Unpin for BufferedTextureHead
impl !UnwindSafe for BufferedTextureHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/struct.Surface.html b/docs/api/maplibre/render/resource/struct.Surface.html
index 443dd2f2..f9ccbad7 100644
--- a/docs/api/maplibre/render/resource/struct.Surface.html
+++ b/docs/api/maplibre/render/resource/struct.Surface.html
@@ -1,7 +1,7 @@
-Surface in maplibre::render::resource - Rust pub struct Surface {
+Surface in maplibre::render::resource - Rust pub struct Surface {
size: WindowSize,
head: Head,
-}
Fields
size: WindowSizehead: HeadImplementations
sourceimpl Surface
sourcepub fn from_window<MW>(
instance: &Instance,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow + HeadedMapWindow,
sourcepub fn from_image<MW>(
device: &Device,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow,
sourcepub fn create_view(&self, device: &Device) -> TextureView
sourcepub fn size(&self) -> WindowSize
sourcepub fn resize(&mut self, width: u32, height: u32)
sourcepub fn reconfigure(&mut self, device: &Device)
sourcepub fn recreate<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn head(&self) -> &Head
sourcepub fn head_mut(&mut self) -> &mut Head
Auto Trait Implementations
impl !RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl !UnwindSafe for Surface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+}Fields
size: WindowSizehead: HeadImplementations
sourceimpl Surface
sourcepub fn from_surface<MW>(
surface: Surface,
adapter: &Adapter,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow + HeadedMapWindow,
sourcepub fn from_image<MW>(
device: &Device,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow,
sourcepub fn surface_format(&self) -> TextureFormat
sourcepub fn create_view(&self, device: &Device) -> TextureView
sourcepub fn size(&self) -> WindowSize
sourcepub fn resize(&mut self, width: u32, height: u32)
sourcepub fn reconfigure(&mut self, device: &Device)
sourcepub fn recreate<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn head(&self) -> &Head
sourcepub fn head_mut(&mut self) -> &mut Head
Auto Trait Implementations
impl !RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl !UnwindSafe for Surface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/struct.WindowHead.html b/docs/api/maplibre/render/resource/struct.WindowHead.html
index 979948a2..3047302f 100644
--- a/docs/api/maplibre/render/resource/struct.WindowHead.html
+++ b/docs/api/maplibre/render/resource/struct.WindowHead.html
@@ -1,7 +1,10 @@
-WindowHead in maplibre::render::resource - Rust pub struct WindowHead {
+WindowHead in maplibre::render::resource - Rust pub struct WindowHead {
surface: Surface,
- surface_config: SurfaceConfiguration,
-}
Fields
surface: Surfacesurface_config: SurfaceConfigurationImplementations
sourceimpl WindowHead
sourcepub fn resize_and_configure(&mut self, width: u32, height: u32, device: &Device)
sourcepub fn configure(&self, device: &Device)
sourcepub fn recreate_surface<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn surface(&self) -> &Surface
Trait Implementations
sourceimpl HasChanged for WindowHead
Auto Trait Implementations
impl !RefUnwindSafe for WindowHead
impl Send for WindowHead
impl Sync for WindowHead
impl Unpin for WindowHead
impl !UnwindSafe for WindowHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+ size: WindowSize,
+ format: TextureFormat,
+ present_mode: PresentMode,
+}Fields
surface: Surfacesize: WindowSizeformat: TextureFormatpresent_mode: PresentModeImplementations
sourceimpl WindowHead
sourcepub fn resize_and_configure(&mut self, width: u32, height: u32, device: &Device)
sourcepub fn configure(&self, device: &Device)
sourcepub fn recreate_surface<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn surface(&self) -> &Surface
Trait Implementations
sourceimpl HasChanged for WindowHead
Auto Trait Implementations
impl !RefUnwindSafe for WindowHead
impl Send for WindowHead
impl Sync for WindowHead
impl Unpin for WindowHead
impl !UnwindSafe for WindowHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/surface/enum.Head.html b/docs/api/maplibre/render/resource/surface/enum.Head.html
index 23bac389..1a61d53c 100644
--- a/docs/api/maplibre/render/resource/surface/enum.Head.html
+++ b/docs/api/maplibre/render/resource/surface/enum.Head.html
@@ -1,4 +1,4 @@
-Head in maplibre::render::resource::surface - Rust pub enum Head {
+Head in maplibre::render::resource::surface - Rust pub enum Head {
Headed(WindowHead),
Headless(Arc<BufferedTextureHead>),
}
Variants
Headed(WindowHead)
Headless(Arc<BufferedTextureHead>)
Auto Trait Implementations
impl !RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl !UnwindSafe for Head
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
diff --git a/docs/api/maplibre/render/resource/surface/index.html b/docs/api/maplibre/render/resource/surface/index.html
index de530535..79c1e236 100644
--- a/docs/api/maplibre/render/resource/surface/index.html
+++ b/docs/api/maplibre/render/resource/surface/index.html
@@ -1,3 +1,3 @@
-maplibre::render::resource::surface - Rust Expand description
Utilities for handling surfaces which can be either headless or headed. A headed surface has
+
maplibre::render::resource::surface - Rust
\ No newline at end of file
diff --git a/docs/api/maplibre/render/resource/surface/struct.BufferDimensions.html b/docs/api/maplibre/render/resource/surface/struct.BufferDimensions.html
index 5311456e..201a5ba7 100644
--- a/docs/api/maplibre/render/resource/surface/struct.BufferDimensions.html
+++ b/docs/api/maplibre/render/resource/surface/struct.BufferDimensions.html
@@ -1,9 +1,9 @@
BufferDimensions in maplibre::render::resource::surface - Rust pub struct BufferDimensions {
- pub width: usize,
- pub height: usize,
- pub unpadded_bytes_per_row: usize,
- pub padded_bytes_per_row: usize,
-}
Fields
width: usizeheight: usizeunpadded_bytes_per_row: usizepadded_bytes_per_row: usizeImplementations
Auto Trait Implementations
impl RefUnwindSafe for BufferDimensions
impl Send for BufferDimensions
impl Sync for BufferDimensions
impl Unpin for BufferDimensions
impl UnwindSafe for BufferDimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+ pub width: u32,
+ pub height: u32,
+ pub unpadded_bytes_per_row: NonZeroU32,
+ pub padded_bytes_per_row: NonZeroU32,
+}Fields
width: u32height: u32unpadded_bytes_per_row: NonZeroU32padded_bytes_per_row: NonZeroU32Implementations
sourceimpl BufferDimensions
sourcefn new(size: WindowSize) -> Self
Auto Trait Implementations
impl RefUnwindSafe for BufferDimensions
impl Send for BufferDimensions
impl Sync for BufferDimensions
impl Unpin for BufferDimensions
impl UnwindSafe for BufferDimensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/surface/struct.BufferedTextureHead.html b/docs/api/maplibre/render/resource/surface/struct.BufferedTextureHead.html
index 48f3e7c0..c2b9a587 100644
--- a/docs/api/maplibre/render/resource/surface/struct.BufferedTextureHead.html
+++ b/docs/api/maplibre/render/resource/surface/struct.BufferedTextureHead.html
@@ -1,8 +1,9 @@
-BufferedTextureHead in maplibre::render::resource::surface - Rust pub struct BufferedTextureHead {
- pub texture: Texture,
- pub output_buffer: Buffer,
- pub buffer_dimensions: BufferDimensions,
-}
Fields
texture: Textureoutput_buffer: Bufferbuffer_dimensions: BufferDimensionsAuto Trait Implementations
impl !RefUnwindSafe for BufferedTextureHead
impl Send for BufferedTextureHead
impl Sync for BufferedTextureHead
impl Unpin for BufferedTextureHead
impl !UnwindSafe for BufferedTextureHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+BufferedTextureHead in maplibre::render::resource::surface - Rust pub struct BufferedTextureHead {
+ texture: Texture,
+ texture_format: TextureFormat,
+ output_buffer: Buffer,
+ buffer_dimensions: BufferDimensions,
+}
Fields
texture: Texturetexture_format: TextureFormatoutput_buffer: Bufferbuffer_dimensions: BufferDimensionsAuto Trait Implementations
impl !RefUnwindSafe for BufferedTextureHead
impl Send for BufferedTextureHead
impl Sync for BufferedTextureHead
impl Unpin for BufferedTextureHead
impl !UnwindSafe for BufferedTextureHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/surface/struct.Surface.html b/docs/api/maplibre/render/resource/surface/struct.Surface.html
index 93e6b7df..fb2be33b 100644
--- a/docs/api/maplibre/render/resource/surface/struct.Surface.html
+++ b/docs/api/maplibre/render/resource/surface/struct.Surface.html
@@ -1,7 +1,7 @@
-Surface in maplibre::render::resource::surface - Rust pub struct Surface {
+Surface in maplibre::render::resource::surface - Rust pub struct Surface {
size: WindowSize,
head: Head,
-}
Fields
size: WindowSizehead: HeadImplementations
sourceimpl Surface
sourcepub fn from_window<MW>(
instance: &Instance,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow + HeadedMapWindow,
sourcepub fn from_image<MW>(
device: &Device,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow,
sourcepub fn create_view(&self, device: &Device) -> TextureView
sourcepub fn size(&self) -> WindowSize
sourcepub fn resize(&mut self, width: u32, height: u32)
sourcepub fn reconfigure(&mut self, device: &Device)
sourcepub fn recreate<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn head(&self) -> &Head
sourcepub fn head_mut(&mut self) -> &mut Head
Auto Trait Implementations
impl !RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl !UnwindSafe for Surface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+}Fields
size: WindowSizehead: HeadImplementations
sourceimpl Surface
sourcepub fn from_surface<MW>(
surface: Surface,
adapter: &Adapter,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow + HeadedMapWindow,
sourcepub fn from_image<MW>(
device: &Device,
window: &MW,
settings: &RendererSettings
) -> Selfwhere
MW: MapWindow,
sourcepub fn surface_format(&self) -> TextureFormat
sourcepub fn create_view(&self, device: &Device) -> TextureView
sourcepub fn size(&self) -> WindowSize
sourcepub fn resize(&mut self, width: u32, height: u32)
sourcepub fn reconfigure(&mut self, device: &Device)
sourcepub fn recreate<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn head(&self) -> &Head
sourcepub fn head_mut(&mut self) -> &mut Head
Auto Trait Implementations
impl !RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl !UnwindSafe for Surface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/resource/surface/struct.WindowHead.html b/docs/api/maplibre/render/resource/surface/struct.WindowHead.html
index 68033b4e..4c49a576 100644
--- a/docs/api/maplibre/render/resource/surface/struct.WindowHead.html
+++ b/docs/api/maplibre/render/resource/surface/struct.WindowHead.html
@@ -1,7 +1,10 @@
-WindowHead in maplibre::render::resource::surface - Rust pub struct WindowHead {
+WindowHead in maplibre::render::resource::surface - Rust pub struct WindowHead {
surface: Surface,
- surface_config: SurfaceConfiguration,
-}
Fields
surface: Surfacesurface_config: SurfaceConfigurationImplementations
sourceimpl WindowHead
sourcepub fn resize_and_configure(&mut self, width: u32, height: u32, device: &Device)
sourcepub fn configure(&self, device: &Device)
sourcepub fn recreate_surface<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn surface(&self) -> &Surface
Trait Implementations
sourceimpl HasChanged for WindowHead
Auto Trait Implementations
impl !RefUnwindSafe for WindowHead
impl Send for WindowHead
impl Sync for WindowHead
impl Unpin for WindowHead
impl !UnwindSafe for WindowHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+ size: WindowSize,
+ format: TextureFormat,
+ present_mode: PresentMode,
+}Fields
surface: Surfacesize: WindowSizeformat: TextureFormatpresent_mode: PresentModeImplementations
sourceimpl WindowHead
sourcepub fn resize_and_configure(&mut self, width: u32, height: u32, device: &Device)
sourcepub fn configure(&self, device: &Device)
sourcepub fn recreate_surface<MW>(&mut self, window: &MW, instance: &Instance)where
MW: MapWindow + HeadedMapWindow,
sourcepub fn surface(&self) -> &Surface
Trait Implementations
sourceimpl HasChanged for WindowHead
Auto Trait Implementations
impl !RefUnwindSafe for WindowHead
impl Send for WindowHead
impl Sync for WindowHead
impl Unpin for WindowHead
impl !UnwindSafe for WindowHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, 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. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read morefn 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. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
diff --git a/docs/api/maplibre/render/settings/index.html b/docs/api/maplibre/render/settings/index.html
index 7bcd2d5c..40c766bc 100644
--- a/docs/api/maplibre/render/settings/index.html
+++ b/docs/api/maplibre/render/settings/index.html
@@ -1,4 +1,4 @@
-maplibre::render::settings - Rust Expand description
Settings for the renderer
+maplibre::render::settings - Rust Expand description
Settings for the renderer
Structs
Represents the backends that wgpu will use.Features that are not guaranteed to be supported.Represents the sets of limits an adapter/device supports.Configuration resource for Multi-Sample Anti-Aliasing.Provides configuration for renderer initialization. Use Device::features,
Device::limits, and the WgpuAdapterInfo
resource to get runtime information about the actual adapter, backend, features, and limits.Enums
Power Preference when choosing a physical adapter.Underlying texture data format.
\ No newline at end of file
diff --git a/docs/api/maplibre/render/settings/struct.RendererSettings.html b/docs/api/maplibre/render/settings/struct.RendererSettings.html
index 22e64b9e..b39d5f9d 100644
--- a/docs/api/maplibre/render/settings/struct.RendererSettings.html
+++ b/docs/api/maplibre/render/settings/struct.RendererSettings.html
@@ -1,10 +1,11 @@
-RendererSettings in maplibre::render::settings - Rust pub struct RendererSettings {
+RendererSettings in maplibre::render::settings - Rust pub struct RendererSettings {
pub msaa: Msaa,
- pub texture_format: TextureFormat,
+ pub texture_format: Option<TextureFormat>,
pub depth_texture_format: TextureFormat,
pub present_mode: PresentMode,
-}
Fields
msaa: Msaatexture_format: TextureFormatdepth_texture_format: TextureFormatpresent_mode: PresentModePresent mode for surfaces if a surface is used.
-Trait Implementations
sourceimpl Clone for RendererSettings
sourcefn clone(&self) -> RendererSettings
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresourceimpl Default for RendererSettings
sourceimpl Copy for RendererSettings
Auto Trait Implementations
impl RefUnwindSafe for RendererSettings
impl Send for RendererSettings
impl Sync for RendererSettings
impl Unpin for RendererSettings
impl UnwindSafe for RendererSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreimpl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
+}Fields
msaa: Msaatexture_format: Option<TextureFormat>Explicitly set a texture format or let the renderer automatically choose one
+depth_texture_format: TextureFormatpresent_mode: PresentModePresent mode for surfaces if a surface is used.
+Trait Implementations
sourceimpl Clone for RendererSettings
sourcefn clone(&self) -> RendererSettings
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresourceimpl Default for RendererSettings
sourceimpl Copy for RendererSettings
Auto Trait Implementations
impl RefUnwindSafe for RendererSettings
impl Send for RendererSettings
impl Sync for RendererSettings
impl Unpin for RendererSettings
impl UnwindSafe for RendererSettings
Blanket Implementations