pub struct CommandCompletion {
pub generation: u64,
pub render_update_generation: u64,
}Expand description
The generations that a committed command published, which are zero unless it is a map command.
A command’s future resolves to an Error instead when the command fails
or is cancelled, carrying its status, diagnostic, and generation.
Fields§
§generation: u64The map snapshot generation that the command published.
render_update_generation: u64The first map render update that includes the command; compare it with
a rendered frame’s map_update_generation.
Trait Implementations§
Source§impl Clone for CommandCompletion
impl Clone for CommandCompletion
Source§fn clone(&self) -> CommandCompletion
fn clone(&self) -> CommandCompletion
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 moreSource§impl Debug for CommandCompletion
impl Debug for CommandCompletion
impl Eq for CommandCompletion
Source§impl PartialEq for CommandCompletion
impl PartialEq for CommandCompletion
impl StructuralPartialEq for CommandCompletion
Auto Trait Implementations§
impl Freeze for CommandCompletion
impl RefUnwindSafe for CommandCompletion
impl Send for CommandCompletion
impl Sync for CommandCompletion
impl Unpin for CommandCompletion
impl UnsafeUnpin for CommandCompletion
impl UnwindSafe for CommandCompletion
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