pub struct TextRoleStyle {
pub size: f32,
pub weight: f32,
pub leading: f32,
}Expand description
文本角色解析结果。
Fields§
§size: f32§weight: f32§leading: f32Trait Implementations§
Source§impl Clone for TextRoleStyle
impl Clone for TextRoleStyle
impl Copy for TextRoleStyle
Source§impl Debug for TextRoleStyle
impl Debug for TextRoleStyle
Source§impl PartialEq for TextRoleStyle
impl PartialEq for TextRoleStyle
impl StructuralPartialEq for TextRoleStyle
Auto Trait Implementations§
impl Freeze for TextRoleStyle
impl RefUnwindSafe for TextRoleStyle
impl Send for TextRoleStyle
impl Sync for TextRoleStyle
impl Unpin for TextRoleStyle
impl UnsafeUnpin for TextRoleStyle
impl UnwindSafe for TextRoleStyle
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