#[non_exhaustive]#[repr(u32)]pub enum cef_component_update_priority_t {
CEF_COMPONENT_UPDATE_PRIORITY_BACKGROUND = 0,
CEF_COMPONENT_UPDATE_PRIORITY_FOREGROUND = 1,
}Expand description
Component update priority. Maps to component_updater::OnDemandUpdater::Priority.
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.
CEF_COMPONENT_UPDATE_PRIORITY_BACKGROUND = 0
Background priority. Update requests may be queued.
CEF_COMPONENT_UPDATE_PRIORITY_FOREGROUND = 1
Foreground priority. Update requests are processed immediately.
Trait Implementations§
Source§impl Clone for cef_component_update_priority_t
impl Clone for cef_component_update_priority_t
Source§fn clone(&self) -> cef_component_update_priority_t
fn clone(&self) -> cef_component_update_priority_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for cef_component_update_priority_t
impl PartialEq for cef_component_update_priority_t
Source§fn eq(&self, other: &cef_component_update_priority_t) -> bool
fn eq(&self, other: &cef_component_update_priority_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cef_component_update_priority_t
impl Eq for cef_component_update_priority_t
impl StructuralPartialEq for cef_component_update_priority_t
Auto Trait Implementations§
impl Freeze for cef_component_update_priority_t
impl RefUnwindSafe for cef_component_update_priority_t
impl Send for cef_component_update_priority_t
impl Sync for cef_component_update_priority_t
impl Unpin for cef_component_update_priority_t
impl UnsafeUnpin for cef_component_update_priority_t
impl UnwindSafe for cef_component_update_priority_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