pub struct InteractionState { /* private fields */ }Expand description
Interactive visual state flags on a scene node.
Implementations§
Source§impl InteractionState
impl InteractionState
pub fn get_focusable(&self) -> bool
pub fn get_mut_focusable(&mut self) -> &mut bool
pub fn set_focusable(&mut self, val: bool) -> &mut Self
pub fn get_focused(&self) -> bool
pub fn get_mut_focused(&mut self) -> &mut bool
pub fn set_focused(&mut self, val: bool) -> &mut Self
pub fn get_hovered(&self) -> bool
pub fn get_mut_hovered(&mut self) -> &mut bool
pub fn set_hovered(&mut self, val: bool) -> &mut Self
pub fn get_pressed(&self) -> bool
pub fn get_mut_pressed(&mut self) -> &mut bool
pub fn set_pressed(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for InteractionState
impl Clone for InteractionState
impl Copy for InteractionState
Source§impl Debug for InteractionState
impl Debug for InteractionState
Source§impl Default for InteractionState
impl Default for InteractionState
impl Eq for InteractionState
Source§impl Hash for InteractionState
impl Hash for InteractionState
Source§impl PartialEq for InteractionState
impl PartialEq for InteractionState
impl StructuralPartialEq for InteractionState
Auto Trait Implementations§
impl Forget for InteractionState
impl Freeze for InteractionState
impl Move for InteractionState
impl RefUnwindSafe for InteractionState
impl Send for InteractionState
impl Sync for InteractionState
impl Unpin for InteractionState
impl UnsafeUnpin for InteractionState
impl UnwindSafe for InteractionState
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