pub struct Control2D {
pub min_zoom_factor: f32,
pub max_zoom_factor: f32,
}Expand description
A control for 2D camera movements.
Fields§
§min_zoom_factor: f32The minimum zoom factor.
max_zoom_factor: f32The maximum zoom factor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control2D
impl RefUnwindSafe for Control2D
impl Send for Control2D
impl Sync for Control2D
impl Unpin for Control2D
impl UnsafeUnpin for Control2D
impl UnwindSafe for Control2D
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