Struct oxygengine_input::resources::stack::InputStack
source · pub struct InputStack { /* private fields */ }
Implementations§
source§impl InputStack
impl InputStack
pub fn register(&mut self, listener: InputStackListener) -> InputStackListenerId
pub fn unregister(&mut self, id: InputStackListenerId)
pub fn listeners(&self) -> impl Iterator<Item = &InputStackListener>
pub fn listener(&self, id: InputStackListenerId) -> Option<&InputStackListener>
pub fn listener_by_instance( &self, instance: &InputStackInstance ) -> Option<&InputStackListener>
pub fn listeners_by_entity( &self, entity: Entity ) -> impl Iterator<Item = &InputStackListener>
pub fn process( &mut self, controller: &InputController, entity_changes: &EntityChanges )
Trait Implementations§
source§impl Default for InputStack
impl Default for InputStack
source§fn default() -> InputStack
fn default() -> InputStack
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InputStack
impl Send for InputStack
impl Sync for InputStack
impl Unpin for InputStack
impl UnwindSafe for InputStack
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more