pub struct InlineTextLine {
pub bounds: LayoutRect,
pub word_start: usize,
pub word_end: usize,
}
Fields§
§bounds: LayoutRect
§word_start: usize
At which word does this line start?
word_end: usize
At which word does this line end
Implementations§
Source§impl InlineTextLine
impl InlineTextLine
pub const fn new(bounds: LayoutRect, word_start: usize, word_end: usize) -> Self
Trait Implementations§
Source§impl Clone for InlineTextLine
impl Clone for InlineTextLine
Source§fn clone(&self) -> InlineTextLine
fn clone(&self) -> InlineTextLine
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InlineTextLine
impl Debug for InlineTextLine
Source§impl PartialEq for InlineTextLine
impl PartialEq for InlineTextLine
Source§impl PartialOrd for InlineTextLine
impl PartialOrd for InlineTextLine
impl StructuralPartialEq for InlineTextLine
Auto Trait Implementations§
impl Freeze for InlineTextLine
impl RefUnwindSafe for InlineTextLine
impl Send for InlineTextLine
impl Sync for InlineTextLine
impl Unpin for InlineTextLine
impl UnwindSafe for InlineTextLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)