pub struct GetAnchorElementReturns {
pub node_id: NodeId,
}Expand description
Returns the target anchor element of the given anchor query according to https://www.w3.org/TR/css-anchor-position-1/#target. getAnchorElement
Fields§
§node_id: NodeIdThe anchor element of the given anchor query.
Implementations§
Source§impl GetAnchorElementReturns
impl GetAnchorElementReturns
pub fn new(node_id: impl Into<NodeId>) -> GetAnchorElementReturns
Trait Implementations§
Source§impl Clone for GetAnchorElementReturns
impl Clone for GetAnchorElementReturns
Source§fn clone(&self) -> GetAnchorElementReturns
fn clone(&self) -> GetAnchorElementReturns
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 GetAnchorElementReturns
impl Debug for GetAnchorElementReturns
Source§impl<'de> Deserialize<'de> for GetAnchorElementReturns
impl<'de> Deserialize<'de> for GetAnchorElementReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAnchorElementReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAnchorElementReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetAnchorElementReturns
impl PartialEq for GetAnchorElementReturns
Source§impl Serialize for GetAnchorElementReturns
impl Serialize for GetAnchorElementReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetAnchorElementReturns
Auto Trait Implementations§
impl Freeze for GetAnchorElementReturns
impl RefUnwindSafe for GetAnchorElementReturns
impl Send for GetAnchorElementReturns
impl Sync for GetAnchorElementReturns
impl Unpin for GetAnchorElementReturns
impl UnwindSafe for GetAnchorElementReturns
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