pub struct TopLayerScope {
pub scope: ScopeIdx,
pub node_id: NodeId,
pub is_modal: bool,
pub backdrop: Option<ColorRgba>,
}Expand description
Root scope of one open top-layer [Overlay] painted and hit-tested above the document root.
Fields§
§scope: ScopeIdx§node_id: NodeId§is_modal: bool§backdrop: Option<ColorRgba>Viewport scrim painted (and hit-blocking) behind this top layer, if any.
Trait Implementations§
Source§impl Clone for TopLayerScope
impl Clone for TopLayerScope
impl Copy for TopLayerScope
Source§impl Debug for TopLayerScope
impl Debug for TopLayerScope
impl Eq for TopLayerScope
Source§impl PartialEq for TopLayerScope
impl PartialEq for TopLayerScope
impl StructuralPartialEq for TopLayerScope
Auto Trait Implementations§
impl Forget for TopLayerScope
impl Freeze for TopLayerScope
impl Move for TopLayerScope
impl RefUnwindSafe for TopLayerScope
impl Send for TopLayerScope
impl Sync for TopLayerScope
impl Unpin for TopLayerScope
impl UnsafeUnpin for TopLayerScope
impl UnwindSafe for TopLayerScope
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