pub struct EffectiveBox {
pub display: Display,
pub position: Position,
pub container_type: ContainerType,
pub forced_hidden: bool,
}Expand description
A node’s effective box-generating properties (StyleCascade::effective_box).
Fields§
§display: Display§position: Position§container_type: ContainerTypeNormal whenever the node is hidden.
Hidden regardless of display (hidden input, closed overlay, failing show_on).
Implementations§
Source§impl EffectiveBox
impl EffectiveBox
pub fn is_none(self) -> bool
pub fn is_contents(self) -> bool
Sourcepub fn is_out_of_flow(self) -> bool
pub fn is_out_of_flow(self) -> bool
position: absolute | fixed on a box (not none, not contents).
Trait Implementations§
Source§impl Clone for EffectiveBox
impl Clone for EffectiveBox
impl Copy for EffectiveBox
Source§impl Debug for EffectiveBox
impl Debug for EffectiveBox
impl Eq for EffectiveBox
Source§impl PartialEq for EffectiveBox
impl PartialEq for EffectiveBox
impl StructuralPartialEq for EffectiveBox
Auto Trait Implementations§
impl Forget for EffectiveBox
impl Freeze for EffectiveBox
impl Move for EffectiveBox
impl RefUnwindSafe for EffectiveBox
impl Send for EffectiveBox
impl Sync for EffectiveBox
impl Unpin for EffectiveBox
impl UnsafeUnpin for EffectiveBox
impl UnwindSafe for EffectiveBox
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