pub struct GetContainerForNodeParams {
pub node_id: Box<NodeId>,
pub container_name: Option<String>,
pub physical_axes: Option<PhysicalAxes>,
pub logical_axes: Option<LogicalAxes>,
pub queries_scroll_state: Option<bool>,
pub queries_anchored: Option<bool>,
}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: Box<NodeId>§container_name: Option<String>§physical_axes: Option<PhysicalAxes>§logical_axes: Option<LogicalAxes>§queries_scroll_state: Option<bool>§queries_anchored: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for GetContainerForNodeParams
impl Clone for GetContainerForNodeParams
Source§fn clone(&self) -> GetContainerForNodeParams
fn clone(&self) -> GetContainerForNodeParams
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 GetContainerForNodeParams
impl Debug for GetContainerForNodeParams
Source§impl<'de> Deserialize<'de> for GetContainerForNodeParams
impl<'de> Deserialize<'de> for GetContainerForNodeParams
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 GetContainerForNodeParams
Auto Trait Implementations§
impl Freeze for GetContainerForNodeParams
impl RefUnwindSafe for GetContainerForNodeParams
impl Send for GetContainerForNodeParams
impl Sync for GetContainerForNodeParams
impl Unpin for GetContainerForNodeParams
impl UnsafeUnpin for GetContainerForNodeParams
impl UnwindSafe for GetContainerForNodeParams
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