pub struct AccessKeyRegistration { /* private fields */ }Expand description
An access key registered for an element.
Implementations§
Source§impl AccessKeyRegistration
impl AccessKeyRegistration
Sourcepub fn new(key: String, target: WeakRef<InputElement>) -> Self
pub fn new(key: String, target: WeakRef<InputElement>) -> Self
Creates a registration.
Sourcepub fn get_input_element(&self) -> Option<Ref<InputElement>>
pub fn get_input_element(&self) -> Option<Ref<InputElement>>
The registered element, if it is still alive.
Auto Trait Implementations§
impl !RefUnwindSafe for AccessKeyRegistration
impl !Send for AccessKeyRegistration
impl !Sync for AccessKeyRegistration
impl !UnwindSafe for AccessKeyRegistration
impl Freeze for AccessKeyRegistration
impl Unpin for AccessKeyRegistration
impl UnsafeUnpin for AccessKeyRegistration
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more