Struct SignalsInCollisionObject2D
pub struct SignalsInCollisionObject2D<'c> { /* private fields */ }
Expand description
A collection of signals for the CollisionObject2D
class.
Implementations§
§impl<'c> SignalsInCollisionObject2D<'c>
impl<'c> SignalsInCollisionObject2D<'c>
pub fn input_event(&mut self) -> SigInputEvent<'c>
pub fn input_event(&mut self) -> SigInputEvent<'c>
Signature: (viewport: Gd<Node>, event: Gd<InputEvent>, shape_idx: i64)
pub fn mouse_entered(&mut self) -> SigMouseEntered<'c>
pub fn mouse_entered(&mut self) -> SigMouseEntered<'c>
Signature: ()
pub fn mouse_exited(&mut self) -> SigMouseExited<'c>
pub fn mouse_exited(&mut self) -> SigMouseExited<'c>
Signature: ()
pub fn mouse_shape_entered(&mut self) -> SigMouseShapeEntered<'c>
pub fn mouse_shape_entered(&mut self) -> SigMouseShapeEntered<'c>
Signature: (shape_idx: i64)
pub fn mouse_shape_exited(&mut self) -> SigMouseShapeExited<'c>
pub fn mouse_shape_exited(&mut self) -> SigMouseShapeExited<'c>
Signature: (shape_idx: i64)
Auto Trait Implementations§
impl<'c> Freeze for SignalsInCollisionObject2D<'c>
impl<'c> RefUnwindSafe for SignalsInCollisionObject2D<'c>
impl<'c> !Send for SignalsInCollisionObject2D<'c>
impl<'c> !Sync for SignalsInCollisionObject2D<'c>
impl<'c> Unpin for SignalsInCollisionObject2D<'c>
impl<'c> !UnwindSafe for SignalsInCollisionObject2D<'c>
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