Struct chrome_remote_interface_model::dom_snapshot::TextBoxSnapshot [−][src]
This is supported on crate features
experimental
and DOMSnapshot
and CSS
and DOM
and DOMDebugger
and Page
only.Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
Implementations
impl TextBoxSnapshot
[src]
pub fn builder() -> TextBoxSnapshotBuilder
[src]
pub fn layout_index(&self) -> &[u32]ⓘ
[src]
Index of the layout tree node that owns this box collection.
pub fn bounds(&self) -> &[Rectangle]ⓘ
[src]
The absolute position bounding box.
pub fn start(&self) -> &[u32]ⓘ
[src]
The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.
pub fn length(&self) -> &[u32]ⓘ
[src]
The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.
Trait Implementations
impl Clone for TextBoxSnapshot
[src]
fn clone(&self) -> TextBoxSnapshot
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextBoxSnapshot
[src]
impl<'de> Deserialize<'de> for TextBoxSnapshot
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for TextBoxSnapshot
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextBoxSnapshot
[src]
impl Send for TextBoxSnapshot
[src]
impl Sync for TextBoxSnapshot
[src]
impl Unpin for TextBoxSnapshot
[src]
impl UnwindSafe for TextBoxSnapshot
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,