#[repr(C)]pub struct TMP_FontStyleStack {
pub bold: u8,
pub italic: u8,
pub underline: u8,
pub strikethrough: u8,
pub highlight: u8,
pub superscript: u8,
pub subscript: u8,
pub uppercase: u8,
pub lowercase: u8,
pub smallcaps: u8,
}Expand description
Fields§
§bold: u8§italic: u8§underline: u8§strikethrough: u8§highlight: u8§superscript: u8§subscript: u8§uppercase: u8§lowercase: u8§smallcaps: u8Implementations§
Source§impl TMP_FontStyleStack
impl TMP_FontStyleStack
Sourcepub fn add(&mut self, style: impl Into<FontStyles>) -> u8
pub fn add(&mut self, style: impl Into<FontStyles>) -> u8
Add(crate::tm_pro::fontstyles::FontStyles) overload
Sourcepub fn remove(&mut self, style: impl Into<FontStyles>) -> u8
pub fn remove(&mut self, style: impl Into<FontStyles>) -> u8
Remove(crate::tm_pro::fontstyles::FontStyles) overload
Source§impl TMP_FontStyleStack
impl TMP_FontStyleStack
pub fn clear_method_info() -> &'static MethodInfo
pub fn add_method_info() -> &'static MethodInfo
pub fn remove_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for TMP_FontStyleStack
impl ClassIdentity for TMP_FontStyleStack
Source§impl Clone for TMP_FontStyleStack
impl Clone for TMP_FontStyleStack
Source§fn clone(&self) -> TMP_FontStyleStack
fn clone(&self) -> TMP_FontStyleStack
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 moreimpl Copy for TMP_FontStyleStack
Auto Trait Implementations§
impl Freeze for TMP_FontStyleStack
impl RefUnwindSafe for TMP_FontStyleStack
impl Send for TMP_FontStyleStack
impl Sync for TMP_FontStyleStack
impl Unpin for TMP_FontStyleStack
impl UnwindSafe for TMP_FontStyleStack
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)