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