pub struct TextParagraphStyle {
pub text_align: TextAlign,
pub max_lines: Option<usize>,
pub overflow: TextOverflow,
pub text_direction: TextDirection,
pub text_width_basis: TextWidthBasis,
pub strut_line_height: Option<LayoutUnit>,
pub text_height_behavior: TextHeightBehavior,
}Fields§
§text_align: TextAlign§max_lines: Option<usize>§overflow: TextOverflow§text_direction: TextDirection§text_width_basis: TextWidthBasis§strut_line_height: Option<LayoutUnit>§text_height_behavior: TextHeightBehaviorTrait Implementations§
Source§impl Clone for TextParagraphStyle
impl Clone for TextParagraphStyle
Source§fn clone(&self) -> TextParagraphStyle
fn clone(&self) -> TextParagraphStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextParagraphStyle
impl Debug for TextParagraphStyle
Source§impl Default for TextParagraphStyle
impl Default for TextParagraphStyle
Source§fn default() -> TextParagraphStyle
fn default() -> TextParagraphStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextParagraphStyle
impl<'de> Deserialize<'de> for TextParagraphStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TextParagraphStyle
impl Hash for TextParagraphStyle
Source§impl PartialEq for TextParagraphStyle
impl PartialEq for TextParagraphStyle
Source§impl Serialize for TextParagraphStyle
impl Serialize for TextParagraphStyle
impl Copy for TextParagraphStyle
impl Eq for TextParagraphStyle
Auto Trait Implementations§
impl Freeze for TextParagraphStyle
impl RefUnwindSafe for TextParagraphStyle
impl Send for TextParagraphStyle
impl Sync for TextParagraphStyle
impl Unpin for TextParagraphStyle
impl UnsafeUnpin for TextParagraphStyle
impl UnwindSafe for TextParagraphStyle
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