pub struct DockPanelId(/* private fields */);Expand description
Stable application-defined identity for one dockable panel.
Persist this value in application settings. It is deliberately independent
from the runtime-generated WidgetId. Zero is reserved as an invalid ID.
Implementations§
Trait Implementations§
Source§impl Clone for DockPanelId
impl Clone for DockPanelId
impl Copy for DockPanelId
Source§impl Debug for DockPanelId
impl Debug for DockPanelId
Source§impl Display for DockPanelId
impl Display for DockPanelId
impl Eq for DockPanelId
Source§impl From<DockPanelId> for u64
impl From<DockPanelId> for u64
Source§fn from(value: DockPanelId) -> Self
fn from(value: DockPanelId) -> Self
Converts to this type from the input type.
Source§impl From<u64> for DockPanelId
impl From<u64> for DockPanelId
Source§impl Hash for DockPanelId
impl Hash for DockPanelId
Source§impl Ord for DockPanelId
impl Ord for DockPanelId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DockPanelId
impl PartialEq for DockPanelId
Source§impl PartialOrd for DockPanelId
impl PartialOrd for DockPanelId
impl StructuralPartialEq for DockPanelId
Auto Trait Implementations§
impl Forget for DockPanelId
impl Freeze for DockPanelId
impl Move for DockPanelId
impl RefUnwindSafe for DockPanelId
impl Send for DockPanelId
impl Sync for DockPanelId
impl Unpin for DockPanelId
impl UnsafeUnpin for DockPanelId
impl UnwindSafe for DockPanelId
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