pub struct ViewportToolRouterState {
pub hot: Option<ViewportToolId>,
pub active: Option<ViewportToolId>,
pub active_button: Option<MouseButton>,
pub active_pointer_id: Option<PointerId>,
}Fields§
§hot: Option<ViewportToolId>§active: Option<ViewportToolId>§active_pointer_id: Option<PointerId>Trait Implementations§
Source§impl Clone for ViewportToolRouterState
impl Clone for ViewportToolRouterState
Source§fn clone(&self) -> ViewportToolRouterState
fn clone(&self) -> ViewportToolRouterState
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 moreSource§impl Debug for ViewportToolRouterState
impl Debug for ViewportToolRouterState
Source§impl Default for ViewportToolRouterState
impl Default for ViewportToolRouterState
Source§fn default() -> ViewportToolRouterState
fn default() -> ViewportToolRouterState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ViewportToolRouterState
impl PartialEq for ViewportToolRouterState
impl Copy for ViewportToolRouterState
impl Eq for ViewportToolRouterState
impl StructuralPartialEq for ViewportToolRouterState
Auto Trait Implementations§
impl Freeze for ViewportToolRouterState
impl RefUnwindSafe for ViewportToolRouterState
impl Send for ViewportToolRouterState
impl Sync for ViewportToolRouterState
impl Unpin for ViewportToolRouterState
impl UnsafeUnpin for ViewportToolRouterState
impl UnwindSafe for ViewportToolRouterState
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