pub struct GetContainerForNodeParams {
pub nodeId: NodeId,
pub containerName: Option<String>,
pub physicalAxes: Option<PhysicalAxes>,
pub logicalAxes: Option<LogicalAxes>,
pub queriesScrollState: Option<bool>,
pub queriesAnchored: 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.
Fields§
§nodeId: NodeId§containerName: Option<String>§physicalAxes: Option<PhysicalAxes>§logicalAxes: Option<LogicalAxes>§queriesScrollState: Option<bool>§queriesAnchored: 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 Default for GetContainerForNodeParams
impl Default for GetContainerForNodeParams
Source§fn default() -> GetContainerForNodeParams
fn default() -> GetContainerForNodeParams
Returns the “default value” for a type. Read more
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
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