pub struct TextBoxSnapshot {
pub layout_index: Vec<i32>,
pub bounds: Vec<Rectangle>,
pub start: Vec<i32>,
pub length: Vec<i32>,
}Expand description
Text box snapshot.
Fields§
§layout_index: Vec<i32>Index of the layout tree node that owns this box.
bounds: Vec<Rectangle>Text box bounds (x, y, width, height).
start: Vec<i32>Start offset of text in the text value.
length: Vec<i32>Length of the text box substring in the text value.
Trait Implementations§
Source§impl Clone for TextBoxSnapshot
impl Clone for TextBoxSnapshot
Source§fn clone(&self) -> TextBoxSnapshot
fn clone(&self) -> TextBoxSnapshot
Returns a duplicate 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 TextBoxSnapshot
impl Debug for TextBoxSnapshot
Source§impl<'de> Deserialize<'de> for TextBoxSnapshot
impl<'de> Deserialize<'de> for TextBoxSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextBoxSnapshot
impl RefUnwindSafe for TextBoxSnapshot
impl Send for TextBoxSnapshot
impl Sync for TextBoxSnapshot
impl Unpin for TextBoxSnapshot
impl UnwindSafe for TextBoxSnapshot
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