pub struct RenderFrameResult {
pub disposition: RenderResult,
pub token: u64,
pub map_update_generation: u64,
pub generation: u64,
pub frame_generation: u64,
pub needs_repaint: bool,
pub view: MapView,
pub mode: RenderMode,
}Expand description
How one frame demand finished.
See mln_render_frame_result in the
C API reference.
Fields§
§disposition: RenderResult§token: u64§map_update_generation: u64The map update that a rendered frame shows. The frame includes a
command’s change when this is at least the command’s
CommandCompletion::render_update_generation.
generation: u64§frame_generation: u64§needs_repaint: bool§view: MapViewThe camera and extent that a rendered frame shows.
mode: RenderModeTrait Implementations§
Source§impl Clone for RenderFrameResult
impl Clone for RenderFrameResult
Source§fn clone(&self) -> RenderFrameResult
fn clone(&self) -> RenderFrameResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderFrameResult
Source§impl Debug for RenderFrameResult
impl Debug for RenderFrameResult
Source§impl Default for RenderFrameResult
impl Default for RenderFrameResult
Source§fn default() -> RenderFrameResult
fn default() -> RenderFrameResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderFrameResult
impl PartialEq for RenderFrameResult
impl StructuralPartialEq for RenderFrameResult
Auto Trait Implementations§
impl Freeze for RenderFrameResult
impl RefUnwindSafe for RenderFrameResult
impl Send for RenderFrameResult
impl Sync for RenderFrameResult
impl Unpin for RenderFrameResult
impl UnsafeUnpin for RenderFrameResult
impl UnwindSafe for RenderFrameResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more