pub struct TextLayoutMetrics;Expand description
Static classifiers from Flutter’s TextLayoutMetrics.
Implementations§
Source§impl TextLayoutMetrics
impl TextLayoutMetrics
Sourcepub fn is_whitespace(code_unit: i32) -> bool
pub fn is_whitespace(code_unit: i32) -> bool
Check if the given code unit is a white space or separator character.
Includes newline characters from ASCII and separators from the unicode separator category
Sourcepub fn is_line_terminator(code_unit: i32) -> bool
pub fn is_line_terminator(code_unit: i32) -> bool
Check if the given code unit is a line terminator character.
Includes newline characters from ASCII (https://www.unicode.org/standard/reports/tr13/tr13-5.html).
Auto Trait Implementations§
impl Freeze for TextLayoutMetrics
impl RefUnwindSafe for TextLayoutMetrics
impl Send for TextLayoutMetrics
impl Sync for TextLayoutMetrics
impl Unpin for TextLayoutMetrics
impl UnsafeUnpin for TextLayoutMetrics
impl UnwindSafe for TextLayoutMetrics
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