pub struct Layer {
pub sheet: Option<SheetConfig>,
pub modal: bool,
pub escape: bool,
pub outside: bool,
pub focus: LayerFocus,
pub placement: LayerPlacement,
pub anchor: Option<SemanticId>,
pub initial_focus: Option<SemanticId>,
pub return_focus: Option<SemanticId>,
}Fields§
§sheet: Option<SheetConfig>§modal: bool§escape: bool§outside: bool§focus: LayerFocus§placement: LayerPlacement§anchor: Option<SemanticId>§initial_focus: Option<SemanticId>§return_focus: Option<SemanticId>Trait Implementations§
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Forget for Layer
impl Freeze for Layer
impl Move for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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