pub struct BidiRun {
pub char_start: usize,
pub char_end: usize,
pub level: Level,
pub is_rtl: bool,
}Expand description
A contiguous run of text with a single BiDi direction.
Fields§
§char_start: usizeStart index in chars of the original text.
char_end: usizeEnd index (exclusive) in chars.
level: LevelBiDi embedding level (even = LTR, odd = RTL).
is_rtl: boolConvenience: true if this run is right-to-left.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BidiRun
impl RefUnwindSafe for BidiRun
impl Send for BidiRun
impl Sync for BidiRun
impl Unpin for BidiRun
impl UnsafeUnpin for BidiRun
impl UnwindSafe for BidiRun
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