pub enum TextSplit {
Characters,
Words,
Lines,
}Expand description
Units used for visibility and per-part animation.
Variants§
Characters
Extended Unicode grapheme clusters, not scalar chars.
Words
Unicode words, with separators attached to the preceding word.
Lines
Wrapped visual lines.
Trait Implementations§
impl Copy for TextSplit
impl Eq for TextSplit
impl StructuralPartialEq for TextSplit
Auto Trait Implementations§
impl Forget for TextSplit
impl Freeze for TextSplit
impl RefUnwindSafe for TextSplit
impl Send for TextSplit
impl Sync for TextSplit
impl Unpin for TextSplit
impl UnsafeUnpin for TextSplit
impl UnwindSafe for TextSplit
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