pub struct ParagraphStyle {Show 21 fields
pub justification: Option<Justification>,
pub first_line_indent: Option<f64>,
pub start_indent: Option<f64>,
pub end_indent: Option<f64>,
pub space_before: Option<f64>,
pub space_after: Option<f64>,
pub auto_hyphenate: Option<bool>,
pub hyphenated_word_size: Option<f64>,
pub pre_hyphen: Option<f64>,
pub post_hyphen: Option<f64>,
pub consecutive_hyphens: Option<f64>,
pub zone: Option<f64>,
pub word_spacing: Option<Vec<f64>>,
pub letter_spacing: Option<Vec<f64>>,
pub glyph_spacing: Option<Vec<f64>>,
pub auto_leading: Option<f64>,
pub leading_type: Option<f64>,
pub hanging: Option<bool>,
pub burasagari: Option<bool>,
pub kinsoku_order: Option<f64>,
pub every_line_composer: Option<bool>,
}Expand description
TS ParagraphStyle.
Fields§
§justification: Option<Justification>§first_line_indent: Option<f64>§start_indent: Option<f64>§end_indent: Option<f64>§space_before: Option<f64>§space_after: Option<f64>§auto_hyphenate: Option<bool>§hyphenated_word_size: Option<f64>§pre_hyphen: Option<f64>§post_hyphen: Option<f64>§consecutive_hyphens: Option<f64>§zone: Option<f64>§word_spacing: Option<Vec<f64>>§letter_spacing: Option<Vec<f64>>§glyph_spacing: Option<Vec<f64>>§auto_leading: Option<f64>§leading_type: Option<f64>§hanging: Option<bool>§burasagari: Option<bool>§kinsoku_order: Option<f64>§every_line_composer: Option<bool>Trait Implementations§
Source§impl Clone for ParagraphStyle
impl Clone for ParagraphStyle
Source§fn clone(&self) -> ParagraphStyle
fn clone(&self) -> ParagraphStyle
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 ParagraphStyle
impl Debug for ParagraphStyle
Source§impl Default for ParagraphStyle
impl Default for ParagraphStyle
Source§fn default() -> ParagraphStyle
fn default() -> ParagraphStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParagraphStyle
impl RefUnwindSafe for ParagraphStyle
impl Send for ParagraphStyle
impl Sync for ParagraphStyle
impl Unpin for ParagraphStyle
impl UnsafeUnpin for ParagraphStyle
impl UnwindSafe for ParagraphStyle
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