pub struct PanelKey {
pub kind: PanelKind,
pub instance: Option<String>,
}Expand description
Stable identity for a specific dockable panel instance.
Most panels will be singletons and keep instance = None.
Fields§
§kind: PanelKind§instance: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PanelKey
impl<'de> Deserialize<'de> for PanelKey
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 Eq for PanelKey
impl StructuralPartialEq for PanelKey
Auto Trait Implementations§
impl Freeze for PanelKey
impl RefUnwindSafe for PanelKey
impl Send for PanelKey
impl Sync for PanelKey
impl Unpin for PanelKey
impl UnsafeUnpin for PanelKey
impl UnwindSafe for PanelKey
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