#[repr(C)]pub struct FontStyles {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl FontStyles
impl FontStyles
pub fn normal() -> Self
pub fn bold() -> Self
pub fn italic() -> Self
pub fn underline() -> Self
pub fn lower_case() -> Self
pub fn upper_case() -> Self
pub fn small_caps() -> Self
pub fn strikethrough() -> Self
pub fn superscript() -> Self
pub fn subscript() -> Self
pub fn highlight() -> Self
Trait Implementations§
Source§impl ClassIdentity for FontStyles
impl ClassIdentity for FontStyles
Source§impl Clone for FontStyles
impl Clone for FontStyles
Source§fn clone(&self) -> FontStyles
fn clone(&self) -> FontStyles
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FontStyles
impl Debug for FontStyles
Source§impl PartialEq for FontStyles
impl PartialEq for FontStyles
impl Copy for FontStyles
impl Eq for FontStyles
impl StructuralPartialEq for FontStyles
Auto Trait Implementations§
impl Freeze for FontStyles
impl RefUnwindSafe for FontStyles
impl Send for FontStyles
impl Sync for FontStyles
impl Unpin for FontStyles
impl UnwindSafe for FontStyles
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)