Struct CameraTransitionFinishedEvent
#[non_exhaustive]pub struct CameraTransitionFinishedEvent {
pub transition_id: u64,
}Expand description
Camera transition-finished event payload.
A transition reports its end once for every terminal outcome: running to
completion, being superseded by a later camera command, being cancelled by
cancel_transitions, or completing instantly as a zero-duration jump. A
command this API rejects, such as one carrying a non-finite enabled camera
field, starts no transition and emits no such event. MapLibre Native reports
the
moment the transition releases the camera without naming which outcome
occurred, so this payload establishes transition identity rather than a
completion reason.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.transition_id: u64The transition_id the caller set on the AnimationOptions that
started this transition.
Trait Implementations§
§impl Clone for CameraTransitionFinishedEvent
impl Clone for CameraTransitionFinishedEvent
§fn clone(&self) -> CameraTransitionFinishedEvent
fn clone(&self) -> CameraTransitionFinishedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CameraTransitionFinishedEvent
impl Debug for CameraTransitionFinishedEvent
§impl Hash for CameraTransitionFinishedEvent
impl Hash for CameraTransitionFinishedEvent
§impl PartialEq for CameraTransitionFinishedEvent
impl PartialEq for CameraTransitionFinishedEvent
impl Copy for CameraTransitionFinishedEvent
impl Eq for CameraTransitionFinishedEvent
impl StructuralPartialEq for CameraTransitionFinishedEvent
Auto Trait Implementations§
impl Freeze for CameraTransitionFinishedEvent
impl RefUnwindSafe for CameraTransitionFinishedEvent
impl Send for CameraTransitionFinishedEvent
impl Sync for CameraTransitionFinishedEvent
impl Unpin for CameraTransitionFinishedEvent
impl UnsafeUnpin for CameraTransitionFinishedEvent
impl UnwindSafe for CameraTransitionFinishedEvent
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