pub struct Listener {
pub id: u64,
pub target: GcHandle,
pub target_class_name: String,
pub event_name: String,
pub callback: GcHandle,
pub enabled: bool,
pub valid: bool,
}Expand description
Event listener handle for events
Fields§
§id: u64§target: GcHandle§target_class_name: String§event_name: String§callback: GcHandle§enabled: bool§valid: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Listener
Auto Trait Implementations§
impl !Send for Listener
impl !Sync for Listener
impl Freeze for Listener
impl RefUnwindSafe for Listener
impl Unpin for Listener
impl UnsafeUnpin for Listener
impl UnwindSafe for Listener
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