pub struct DocumentA11yBounds {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
Bounds in the final, current document-session viewport coordinate space.
Engines apply their own document zoom before returning these bounds. Structural nodes may have no bounds. A host must not invent geometry for those nodes from a differently timed paint frame.
Fields§
§x: f32§y: f32§width: f32§height: f32Trait Implementations§
Source§impl Clone for DocumentA11yBounds
impl Clone for DocumentA11yBounds
impl Copy for DocumentA11yBounds
Source§impl Debug for DocumentA11yBounds
impl Debug for DocumentA11yBounds
Source§impl<'de> Deserialize<'de> for DocumentA11yBounds
impl<'de> Deserialize<'de> for DocumentA11yBounds
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 DocumentA11yBounds
impl PartialEq for DocumentA11yBounds
Source§impl Serialize for DocumentA11yBounds
impl Serialize for DocumentA11yBounds
impl StructuralPartialEq for DocumentA11yBounds
Auto Trait Implementations§
impl Freeze for DocumentA11yBounds
impl RefUnwindSafe for DocumentA11yBounds
impl Send for DocumentA11yBounds
impl Sync for DocumentA11yBounds
impl Unpin for DocumentA11yBounds
impl UnsafeUnpin for DocumentA11yBounds
impl UnwindSafe for DocumentA11yBounds
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