pub enum FontSetEventListenerRequest {
OnFontSetUpdated {
event: FontSetUpdatedEvent,
responder: FontSetEventListenerOnFontSetUpdatedResponder,
},
}
Expand description
Protocol for listening to possible events that may occur in the Provider
’s set of fonts.
Register a listener using [fuchsia.fonts/Provider.RegisterFontSetEventListener
].
Variants§
OnFontSetUpdated
The set of fonts available in the Provider
has changed. See
[fuchsia.fonts/FontSetUpdatedEvent
].
Implementations§
Source§impl FontSetEventListenerRequest
impl FontSetEventListenerRequest
pub fn into_on_font_set_updated( self, ) -> Option<(FontSetUpdatedEvent, FontSetEventListenerOnFontSetUpdatedResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontSetEventListenerRequest
impl !RefUnwindSafe for FontSetEventListenerRequest
impl Send for FontSetEventListenerRequest
impl Sync for FontSetEventListenerRequest
impl Unpin for FontSetEventListenerRequest
impl !UnwindSafe for FontSetEventListenerRequest
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