#[repr(C)]pub struct Clay_TextElementConfig {
pub textColor: Clay_Color,
pub fontId: u16,
pub fontSize: u16,
pub letterSpacing: u16,
pub lineHeight: u16,
pub wrapMode: Clay_TextElementConfigWrapMode,
}Fields§
§textColor: Clay_Color§fontId: u16§fontSize: u16§letterSpacing: u16§lineHeight: u16§wrapMode: Clay_TextElementConfigWrapModeTrait Implementations§
Source§impl Clone for Clay_TextElementConfig
impl Clone for Clay_TextElementConfig
Source§fn clone(&self) -> Clay_TextElementConfig
fn clone(&self) -> Clay_TextElementConfig
Returns a copy 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 Clay_TextElementConfig
impl Debug for Clay_TextElementConfig
Source§impl From<Clay_TextElementConfig> for Text
impl From<Clay_TextElementConfig> for Text
Source§fn from(value: Clay_TextElementConfig) -> Self
fn from(value: Clay_TextElementConfig) -> Self
Converts to this type from the input type.
Source§impl From<Text> for Clay_TextElementConfig
impl From<Text> for Clay_TextElementConfig
impl Copy for Clay_TextElementConfig
Auto Trait Implementations§
impl Freeze for Clay_TextElementConfig
impl RefUnwindSafe for Clay_TextElementConfig
impl Send for Clay_TextElementConfig
impl Sync for Clay_TextElementConfig
impl Unpin for Clay_TextElementConfig
impl UnwindSafe for Clay_TextElementConfig
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