pub enum Instances {
Single,
Multiple,
}Expand description
How many of a panel may be open at once (PanelSpec::instances).
Variants§
Single
One: the panel declared (Settings, an import window).
Multiple
As many as asked: the panel declared is instance 1, each new one
<id>#<n> (a second gallery, another quick collection), drawn by
the panel’s one draw function, with a payload of its own kept in
the layout (Layout::instances).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instances
impl<'de> Deserialize<'de> for Instances
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Instances
impl Eq for Instances
impl StructuralPartialEq for Instances
Auto Trait Implementations§
impl Freeze for Instances
impl RefUnwindSafe for Instances
impl Send for Instances
impl Sync for Instances
impl Unpin for Instances
impl UnsafeUnpin for Instances
impl UnwindSafe for Instances
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