#[repr(C)]pub struct CompactTextProps {
pub text_color: u32,
pub font_family_hash: u64,
pub line_height: i16,
pub letter_spacing: i16,
pub word_spacing: i16,
pub text_indent: i16,
}Expand description
Compact text/IFC properties for a single node (24 bytes).
Fields§
§text_color: u32§font_family_hash: u64§line_height: i16§letter_spacing: i16§word_spacing: i16§text_indent: i16Trait Implementations§
Source§impl Clone for CompactTextProps
impl Clone for CompactTextProps
Source§fn clone(&self) -> CompactTextProps
fn clone(&self) -> CompactTextProps
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 CompactTextProps
impl Debug for CompactTextProps
Source§impl Default for CompactTextProps
impl Default for CompactTextProps
Source§impl PartialEq for CompactTextProps
impl PartialEq for CompactTextProps
impl Copy for CompactTextProps
impl StructuralPartialEq for CompactTextProps
Auto Trait Implementations§
impl Freeze for CompactTextProps
impl RefUnwindSafe for CompactTextProps
impl Send for CompactTextProps
impl Sync for CompactTextProps
impl Unpin for CompactTextProps
impl UnsafeUnpin for CompactTextProps
impl UnwindSafe for CompactTextProps
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