#[repr(C)]pub struct WordWrapState {Show 65 fields
pub previous_word_break: i32,
pub total_character_count: i32,
pub visible_character_count: i32,
pub visible_sprite_count: i32,
pub visible_link_count: i32,
pub first_character_index: i32,
pub first_visible_character_index: i32,
pub last_character_index: i32,
pub last_visible_char_index: i32,
pub line_number: i32,
pub max_cap_height: f32,
pub max_ascender: f32,
pub max_descender: f32,
pub start_of_line_ascender: f32,
pub max_line_ascender: f32,
pub max_line_descender: f32,
pub page_ascender: f32,
pub horizontal_alignment: HorizontalAlignmentOptions,
pub margin_left: f32,
pub margin_right: f32,
pub x_advance: f32,
pub preferred_width: f32,
pub preferred_height: f32,
pub previous_line_scale: f32,
pub word_count: i32,
pub font_style: FontStyles,
pub italic_angle: i32,
pub font_scale_multiplier: f32,
pub current_font_size: f32,
pub baseline_offset: f32,
pub line_offset: f32,
pub is_driven_line_spacing: bool,
pub glyph_horizontal_advance_adjustment: f32,
pub c_space: f32,
pub m_space: f32,
pub text_info: TMP_TextInfo,
pub line_info: TMP_LineInfo,
pub vertex_color: Color32,
pub underline_color: Color32,
pub strikethrough_color: Color32,
pub highlight_color: Color32,
pub basic_style_stack: TMP_FontStyleStack,
pub italic_angle_stack: TMP_TextProcessingStack_1<i32>,
pub color_stack: TMP_TextProcessingStack_1<Color32>,
pub underline_color_stack: TMP_TextProcessingStack_1<Color32>,
pub strikethrough_color_stack: TMP_TextProcessingStack_1<Color32>,
pub highlight_color_stack: TMP_TextProcessingStack_1<Color32>,
pub highlight_state_stack: TMP_TextProcessingStack_1<HighlightState>,
pub color_gradient_stack: TMP_TextProcessingStack_1<TMP_ColorGradient>,
pub size_stack: TMP_TextProcessingStack_1<f32>,
pub indent_stack: TMP_TextProcessingStack_1<f32>,
pub font_weight_stack: TMP_TextProcessingStack_1<FontWeight>,
pub style_stack: TMP_TextProcessingStack_1<i32>,
pub baseline_stack: TMP_TextProcessingStack_1<f32>,
pub action_stack: TMP_TextProcessingStack_1<i32>,
pub material_reference_stack: TMP_TextProcessingStack_1<MaterialReference>,
pub line_justification_stack: TMP_TextProcessingStack_1<HorizontalAlignmentOptions>,
pub sprite_animation_id: i32,
pub current_font_asset: TMP_FontAsset,
pub current_sprite_asset: TMP_SpriteAsset,
pub current_material: Material,
pub current_material_index: i32,
pub mesh_extents: Extents,
pub tag_no_parsing: bool,
pub is_non_breaking_space: bool,
}Expand description
Fields§
§previous_word_break: i32§total_character_count: i32§visible_character_count: i32§visible_sprite_count: i32§visible_link_count: i32§first_character_index: i32§first_visible_character_index: i32§last_character_index: i32§last_visible_char_index: i32§line_number: i32§max_cap_height: f32§max_ascender: f32§max_descender: f32§start_of_line_ascender: f32§max_line_ascender: f32§max_line_descender: f32§page_ascender: f32§horizontal_alignment: HorizontalAlignmentOptions§margin_left: f32§margin_right: f32§x_advance: f32§preferred_width: f32§preferred_height: f32§previous_line_scale: f32§word_count: i32§font_style: FontStyles§italic_angle: i32§font_scale_multiplier: f32§current_font_size: f32§baseline_offset: f32§line_offset: f32§is_driven_line_spacing: bool§glyph_horizontal_advance_adjustment: f32§c_space: f32§m_space: f32§text_info: TMP_TextInfo§line_info: TMP_LineInfo§vertex_color: Color32§underline_color: Color32§strikethrough_color: Color32§highlight_color: Color32§basic_style_stack: TMP_FontStyleStack§italic_angle_stack: TMP_TextProcessingStack_1<i32>§color_stack: TMP_TextProcessingStack_1<Color32>§underline_color_stack: TMP_TextProcessingStack_1<Color32>§strikethrough_color_stack: TMP_TextProcessingStack_1<Color32>§highlight_color_stack: TMP_TextProcessingStack_1<Color32>§highlight_state_stack: TMP_TextProcessingStack_1<HighlightState>§color_gradient_stack: TMP_TextProcessingStack_1<TMP_ColorGradient>§size_stack: TMP_TextProcessingStack_1<f32>§indent_stack: TMP_TextProcessingStack_1<f32>§font_weight_stack: TMP_TextProcessingStack_1<FontWeight>§style_stack: TMP_TextProcessingStack_1<i32>§baseline_stack: TMP_TextProcessingStack_1<f32>§action_stack: TMP_TextProcessingStack_1<i32>§material_reference_stack: TMP_TextProcessingStack_1<MaterialReference>§line_justification_stack: TMP_TextProcessingStack_1<HorizontalAlignmentOptions>§sprite_animation_id: i32§current_font_asset: TMP_FontAsset§current_sprite_asset: TMP_SpriteAsset§current_material: Material§current_material_index: i32§mesh_extents: Extents§tag_no_parsing: bool§is_non_breaking_space: boolTrait Implementations§
Source§impl ClassIdentity for WordWrapState
impl ClassIdentity for WordWrapState
Source§impl Clone for WordWrapState
impl Clone for WordWrapState
Source§fn clone(&self) -> WordWrapState
fn clone(&self) -> WordWrapState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WordWrapState
Auto Trait Implementations§
impl Freeze for WordWrapState
impl RefUnwindSafe for WordWrapState
impl !Send for WordWrapState
impl !Sync for WordWrapState
impl Unpin for WordWrapState
impl UnwindSafe for WordWrapState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)