pub struct ContainingBlockClaims {
pub absolute: bool,
pub fixed: bool,
}Expand description
Which out-of-flow positions a node establishes a containing block for.
Returned by CoreStyle::is_containing_block.
Fields§
§absolute: boolWhether the node is the containing block for position: absolute boxes
fixed: boolWhether the node is the containing block for position: fixed boxes
Implementations§
Trait Implementations§
Source§impl Clone for ContainingBlockClaims
impl Clone for ContainingBlockClaims
Source§fn clone(&self) -> ContainingBlockClaims
fn clone(&self) -> ContainingBlockClaims
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContainingBlockClaims
Source§impl Debug for ContainingBlockClaims
impl Debug for ContainingBlockClaims
impl Eq for ContainingBlockClaims
Source§impl PartialEq for ContainingBlockClaims
impl PartialEq for ContainingBlockClaims
impl StructuralPartialEq for ContainingBlockClaims
Auto Trait Implementations§
impl Freeze for ContainingBlockClaims
impl RefUnwindSafe for ContainingBlockClaims
impl Send for ContainingBlockClaims
impl Sync for ContainingBlockClaims
impl Unpin for ContainingBlockClaims
impl UnsafeUnpin for ContainingBlockClaims
impl UnwindSafe for ContainingBlockClaims
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