pub struct SlotDef {
pub kind: Arc<str>,
pub constraints: Constraints,
}Expand description
Definition of a named slot with fixed or grow constraints.
Fields§
§kind: Arc<str>The panel kind occupying this slot.
constraints: ConstraintsConstraints for this slot when visible.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotDef
impl RefUnwindSafe for SlotDef
impl Send for SlotDef
impl Sync for SlotDef
impl Unpin for SlotDef
impl UnsafeUnpin for SlotDef
impl UnwindSafe for SlotDef
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