pub enum CameraUpdateMode {
Jump,
Ease,
Fly,
Unknown(u32),
}Expand description
How a camera command moves the camera.
See mln_camera_update_mode in the
C API reference.
Variants§
Jump
Moves the camera at once.
Ease
Animates the camera straight to the target.
Fly
Zooms out, travels to the target, and zooms back in.
Unknown(u32)
Implementations§
Trait Implementations§
Source§impl Clone for CameraUpdateMode
impl Clone for CameraUpdateMode
Source§fn clone(&self) -> CameraUpdateMode
fn clone(&self) -> CameraUpdateMode
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 CameraUpdateMode
Source§impl Debug for CameraUpdateMode
impl Debug for CameraUpdateMode
Source§impl Default for CameraUpdateMode
impl Default for CameraUpdateMode
impl Eq for CameraUpdateMode
Source§impl Hash for CameraUpdateMode
impl Hash for CameraUpdateMode
Source§impl PartialEq for CameraUpdateMode
impl PartialEq for CameraUpdateMode
impl StructuralPartialEq for CameraUpdateMode
Auto Trait Implementations§
impl Freeze for CameraUpdateMode
impl RefUnwindSafe for CameraUpdateMode
impl Send for CameraUpdateMode
impl Sync for CameraUpdateMode
impl Unpin for CameraUpdateMode
impl UnsafeUnpin for CameraUpdateMode
impl UnwindSafe for CameraUpdateMode
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