#[non_exhaustive]#[repr(u32)]pub enum cef_dom_event_category_t {
Show 17 variants
DOM_EVENT_CATEGORY_UNKNOWN = 0,
DOM_EVENT_CATEGORY_UI = 1,
DOM_EVENT_CATEGORY_MOUSE = 2,
DOM_EVENT_CATEGORY_MUTATION = 4,
DOM_EVENT_CATEGORY_KEYBOARD = 8,
DOM_EVENT_CATEGORY_TEXT = 16,
DOM_EVENT_CATEGORY_COMPOSITION = 32,
DOM_EVENT_CATEGORY_DRAG = 64,
DOM_EVENT_CATEGORY_CLIPBOARD = 128,
DOM_EVENT_CATEGORY_MESSAGE = 256,
DOM_EVENT_CATEGORY_WHEEL = 512,
DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = 1_024,
DOM_EVENT_CATEGORY_OVERFLOW = 2_048,
DOM_EVENT_CATEGORY_PAGE_TRANSITION = 4_096,
DOM_EVENT_CATEGORY_POPSTATE = 8_192,
DOM_EVENT_CATEGORY_PROGRESS = 16_384,
DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = 32_768,
}Expand description
DOM event category flags.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DOM_EVENT_CATEGORY_UNKNOWN = 0
DOM_EVENT_CATEGORY_UI = 1
DOM_EVENT_CATEGORY_MOUSE = 2
DOM_EVENT_CATEGORY_MUTATION = 4
DOM_EVENT_CATEGORY_KEYBOARD = 8
DOM_EVENT_CATEGORY_TEXT = 16
DOM_EVENT_CATEGORY_COMPOSITION = 32
DOM_EVENT_CATEGORY_DRAG = 64
DOM_EVENT_CATEGORY_CLIPBOARD = 128
DOM_EVENT_CATEGORY_MESSAGE = 256
DOM_EVENT_CATEGORY_WHEEL = 512
DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = 1_024
DOM_EVENT_CATEGORY_OVERFLOW = 2_048
DOM_EVENT_CATEGORY_PAGE_TRANSITION = 4_096
DOM_EVENT_CATEGORY_POPSTATE = 8_192
DOM_EVENT_CATEGORY_PROGRESS = 16_384
DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = 32_768
Trait Implementations§
Source§impl Clone for cef_dom_event_category_t
impl Clone for cef_dom_event_category_t
Source§fn clone(&self) -> cef_dom_event_category_t
fn clone(&self) -> cef_dom_event_category_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for cef_dom_event_category_t
impl Debug for cef_dom_event_category_t
Source§impl Hash for cef_dom_event_category_t
impl Hash for cef_dom_event_category_t
Source§impl PartialEq for cef_dom_event_category_t
impl PartialEq for cef_dom_event_category_t
impl Copy for cef_dom_event_category_t
impl Eq for cef_dom_event_category_t
impl StructuralPartialEq for cef_dom_event_category_t
Auto Trait Implementations§
impl Freeze for cef_dom_event_category_t
impl RefUnwindSafe for cef_dom_event_category_t
impl Send for cef_dom_event_category_t
impl Sync for cef_dom_event_category_t
impl Unpin for cef_dom_event_category_t
impl UnwindSafe for cef_dom_event_category_t
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