pub struct LayoutTreeSnapshot {
pub node_index: Vec<JsUInt>,
pub styles: Vec<ArrayOfStrings>,
pub bounds: Vec<Rectangle>,
pub text: Vec<StringIndex>,
pub stacking_contexts: RareBooleanData,
pub paint_orders: Option<Vec<JsUInt>>,
pub offset_rects: Option<Vec<Rectangle>>,
pub scroll_rects: Option<Vec<Rectangle>>,
pub client_rects: Option<Vec<Rectangle>>,
pub blended_background_colors: Option<Vec<StringIndex>>,
pub text_color_opacities: Option<Vec<JsFloat>>,
}Fields§
§node_index: Vec<JsUInt>§styles: Vec<ArrayOfStrings>§bounds: Vec<Rectangle>§text: Vec<StringIndex>§stacking_contexts: RareBooleanData§paint_orders: Option<Vec<JsUInt>>§offset_rects: Option<Vec<Rectangle>>§scroll_rects: Option<Vec<Rectangle>>§client_rects: Option<Vec<Rectangle>>§blended_background_colors: Option<Vec<StringIndex>>§text_color_opacities: Option<Vec<JsFloat>>Trait Implementations§
Source§impl Clone for LayoutTreeSnapshot
impl Clone for LayoutTreeSnapshot
Source§fn clone(&self) -> LayoutTreeSnapshot
fn clone(&self) -> LayoutTreeSnapshot
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 LayoutTreeSnapshot
impl Debug for LayoutTreeSnapshot
Source§impl<'de> Deserialize<'de> for LayoutTreeSnapshot
impl<'de> Deserialize<'de> for LayoutTreeSnapshot
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
Source§impl PartialEq for LayoutTreeSnapshot
impl PartialEq for LayoutTreeSnapshot
Source§impl Serialize for LayoutTreeSnapshot
impl Serialize for LayoutTreeSnapshot
impl StructuralPartialEq for LayoutTreeSnapshot
Auto Trait Implementations§
impl Freeze for LayoutTreeSnapshot
impl RefUnwindSafe for LayoutTreeSnapshot
impl Send for LayoutTreeSnapshot
impl Sync for LayoutTreeSnapshot
impl Unpin for LayoutTreeSnapshot
impl UnwindSafe for LayoutTreeSnapshot
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