#[repr(C)]pub struct TMP_LineInfo {Show 20 fields
pub control_character_count: i32,
pub character_count: i32,
pub visible_character_count: i32,
pub space_count: i32,
pub word_count: i32,
pub first_character_index: i32,
pub first_visible_character_index: i32,
pub last_character_index: i32,
pub last_visible_character_index: i32,
pub length: f32,
pub line_height: f32,
pub ascender: f32,
pub baseline: f32,
pub descender: f32,
pub max_advance: f32,
pub width: f32,
pub margin_left: f32,
pub margin_right: f32,
pub alignment: HorizontalAlignmentOptions,
pub line_extents: Extents,
}Expand description
Fields§
§control_character_count: i32§character_count: i32§visible_character_count: i32§space_count: i32§word_count: i32§first_character_index: i32§first_visible_character_index: i32§last_character_index: i32§last_visible_character_index: i32§length: f32§line_height: f32§ascender: f32§baseline: f32§descender: f32§max_advance: f32§width: f32§margin_left: f32§margin_right: f32§alignment: HorizontalAlignmentOptions§line_extents: ExtentsTrait Implementations§
Source§impl ClassIdentity for TMP_LineInfo
impl ClassIdentity for TMP_LineInfo
Source§impl Clone for TMP_LineInfo
impl Clone for TMP_LineInfo
Source§fn clone(&self) -> TMP_LineInfo
fn clone(&self) -> TMP_LineInfo
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 TMP_LineInfo
Auto Trait Implementations§
impl Freeze for TMP_LineInfo
impl RefUnwindSafe for TMP_LineInfo
impl Send for TMP_LineInfo
impl Sync for TMP_LineInfo
impl Unpin for TMP_LineInfo
impl UnwindSafe for TMP_LineInfo
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)