pub struct StackingScope {
pub node_id: NodeId,
pub parent_scope: ScopeIdx,
pub clip_scroll: ClipScrollIdx,
pub min_descendant_clip: ClipScrollIdx,
pub items_start: u32,
pub items_len: ItemCount,
pub neg_end: u32,
pub kind: ScopeKind,
pub hidden: bool,
pub has_transform: bool,
pub flags: u8,
}Expand description
One real stacking context or atomic pseudo-stacking context (32 B Copy POD).
Fields§
§node_id: NodeId§parent_scope: ScopeIdx§clip_scroll: ClipScrollIdx§min_descendant_clip: ClipScrollIdx§items_start: u32§items_len: ItemCount§neg_end: u32Relative offset inside items_start..items_start + items_len separating Step 2 (NegSc)
from Steps 3..9.
kind: ScopeKind§has_transform: bool§flags: u8Implementations§
Source§impl StackingScope
impl StackingScope
Trait Implementations§
Source§impl Clone for StackingScope
impl Clone for StackingScope
impl Copy for StackingScope
Source§impl Debug for StackingScope
impl Debug for StackingScope
impl Eq for StackingScope
Source§impl PartialEq for StackingScope
impl PartialEq for StackingScope
impl StructuralPartialEq for StackingScope
Auto Trait Implementations§
impl Forget for StackingScope
impl Freeze for StackingScope
impl Move for StackingScope
impl RefUnwindSafe for StackingScope
impl Send for StackingScope
impl Sync for StackingScope
impl Unpin for StackingScope
impl UnsafeUnpin for StackingScope
impl UnwindSafe for StackingScope
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