pub struct GetAnchorElementParams {
pub node_id: NodeId,
pub anchor_specifier: Option<String>,
}Expand description
Returns the target anchor element of the given anchor query according to https://www.w3.org/TR/css-anchor-position-1/#target.
Experimental: may change without notice.
Parameters of DOM.getAnchorElement.
Fields§
§node_id: NodeIdId of the positioned element from which to find the anchor.
anchor_specifier: Option<String>An optional anchor specifier, as defined in https://www.w3.org/TR/css-anchor-position-1/#anchor-specifier. If not provided, it will return the implicit anchor element for the given positioned element.
Trait Implementations§
Source§impl Clone for GetAnchorElementParams
impl Clone for GetAnchorElementParams
Source§impl Command for GetAnchorElementParams
impl Command for GetAnchorElementParams
Source§impl Debug for GetAnchorElementParams
impl Debug for GetAnchorElementParams
Source§impl Default for GetAnchorElementParams
impl Default for GetAnchorElementParams
Source§impl<'de> Deserialize<'de> for GetAnchorElementParams
impl<'de> Deserialize<'de> for GetAnchorElementParams
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 GetAnchorElementParams
impl PartialEq for GetAnchorElementParams
Source§impl Serialize for GetAnchorElementParams
impl Serialize for GetAnchorElementParams
impl StructuralPartialEq for GetAnchorElementParams
Auto Trait Implementations§
impl Forget for GetAnchorElementParams
impl Freeze for GetAnchorElementParams
impl RefUnwindSafe for GetAnchorElementParams
impl Send for GetAnchorElementParams
impl Sync for GetAnchorElementParams
impl Unpin for GetAnchorElementParams
impl UnsafeUnpin for GetAnchorElementParams
impl UnwindSafe for GetAnchorElementParams
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