pub struct GetContainerForNodeReturns {
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. getContainerForNode
Fields§
§node_id: Option<NodeId>The container node for the given node, or null if not found.
Implementations§
Trait Implementations§
Source§impl Clone for GetContainerForNodeReturns
impl Clone for GetContainerForNodeReturns
Source§fn clone(&self) -> GetContainerForNodeReturns
fn clone(&self) -> GetContainerForNodeReturns
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 GetContainerForNodeReturns
impl Debug for GetContainerForNodeReturns
Source§impl Default for GetContainerForNodeReturns
impl Default for GetContainerForNodeReturns
Source§fn default() -> GetContainerForNodeReturns
fn default() -> GetContainerForNodeReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetContainerForNodeReturns
impl<'de> Deserialize<'de> for GetContainerForNodeReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetContainerForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetContainerForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetContainerForNodeReturns
impl Serialize for GetContainerForNodeReturns
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 GetContainerForNodeReturns
Auto Trait Implementations§
impl Freeze for GetContainerForNodeReturns
impl RefUnwindSafe for GetContainerForNodeReturns
impl Send for GetContainerForNodeReturns
impl Sync for GetContainerForNodeReturns
impl Unpin for GetContainerForNodeReturns
impl UnwindSafe for GetContainerForNodeReturns
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