pub struct GetContainerForNodeReturnObject {
pub node_id: Option<NodeId>,
}Expand description
Returns the query container of the given node based on container query conditions: containerName, physical and logical axes, and whether it queries scroll-state or anchored elements. If no axes are provided and queriesScrollState is false, the style container is returned, which is the direct parent or the closest element with a matching container-name.
Fields§
§node_id: Option<NodeId>The container node for the given node, or null if not found.
Trait Implementations§
Source§impl Clone for GetContainerForNodeReturnObject
impl Clone for GetContainerForNodeReturnObject
Source§fn clone(&self) -> GetContainerForNodeReturnObject
fn clone(&self) -> GetContainerForNodeReturnObject
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<'de> Deserialize<'de> for GetContainerForNodeReturnObject
impl<'de> Deserialize<'de> for GetContainerForNodeReturnObject
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 GetContainerForNodeReturnObject
impl PartialEq for GetContainerForNodeReturnObject
Source§fn eq(&self, other: &GetContainerForNodeReturnObject) -> bool
fn eq(&self, other: &GetContainerForNodeReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetContainerForNodeReturnObject
Auto Trait Implementations§
impl Freeze for GetContainerForNodeReturnObject
impl RefUnwindSafe for GetContainerForNodeReturnObject
impl Send for GetContainerForNodeReturnObject
impl Sync for GetContainerForNodeReturnObject
impl Unpin for GetContainerForNodeReturnObject
impl UnsafeUnpin for GetContainerForNodeReturnObject
impl UnwindSafe for GetContainerForNodeReturnObject
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