pub struct BoxInfo {
pub visible: bool,
pub cursor: Option<String>,
}Expand description
Box/visibility information for an element
Fields§
§visible: boolWhether the element is visible (non-zero bounding box)
cursor: Option<String>CSS cursor value (e.g., “pointer”, “default”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BoxInfo
impl<'de> Deserialize<'de> for BoxInfo
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
impl StructuralPartialEq for BoxInfo
Auto Trait Implementations§
impl Freeze for BoxInfo
impl RefUnwindSafe for BoxInfo
impl Send for BoxInfo
impl Sync for BoxInfo
impl Unpin for BoxInfo
impl UnwindSafe for BoxInfo
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