#[non_exhaustive]#[repr(u32)]pub enum cef_text_style_t {
CEF_TEXT_STYLE_BOLD = 0,
CEF_TEXT_STYLE_ITALIC = 1,
CEF_TEXT_STYLE_STRIKE = 2,
CEF_TEXT_STYLE_DIAGONAL_STRIKE = 3,
CEF_TEXT_STYLE_UNDERLINE = 4,
CEF_TEXT_STYLE_NUM_VALUES = 5,
}Expand description
Text style types. Should be kepy in sync with gfx::TextStyle.
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_TEXT_STYLE_BOLD = 0
CEF_TEXT_STYLE_ITALIC = 1
CEF_TEXT_STYLE_STRIKE = 2
CEF_TEXT_STYLE_DIAGONAL_STRIKE = 3
CEF_TEXT_STYLE_UNDERLINE = 4
CEF_TEXT_STYLE_NUM_VALUES = 5
Trait Implementations§
Source§impl Clone for cef_text_style_t
impl Clone for cef_text_style_t
Source§fn clone(&self) -> cef_text_style_t
fn clone(&self) -> cef_text_style_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_text_style_t
impl Debug for cef_text_style_t
Source§impl Hash for cef_text_style_t
impl Hash for cef_text_style_t
Source§impl PartialEq for cef_text_style_t
impl PartialEq for cef_text_style_t
impl Copy for cef_text_style_t
impl Eq for cef_text_style_t
impl StructuralPartialEq for cef_text_style_t
Auto Trait Implementations§
impl Freeze for cef_text_style_t
impl RefUnwindSafe for cef_text_style_t
impl Send for cef_text_style_t
impl Sync for cef_text_style_t
impl Unpin for cef_text_style_t
impl UnwindSafe for cef_text_style_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