pub struct PaneSlot(pub u32);Expand description
A stable, definition-local pane slot key. Assigned at authoring time
(a small index), it identifies a pane within a definition — never a
live pane. The newtype means a slot can never be passed where a live
PaneId is expected (and vice-versa): the two id spaces don’t mix.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for PaneSlot
Source§impl<'de> Deserialize<'de> for PaneSlot
impl<'de> Deserialize<'de> for PaneSlot
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 PaneSlot
Source§impl Ord for PaneSlot
impl Ord for PaneSlot
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
Source§impl PartialOrd for PaneSlot
impl PartialOrd for PaneSlot
impl StructuralPartialEq for PaneSlot
Auto Trait Implementations§
impl Freeze for PaneSlot
impl RefUnwindSafe for PaneSlot
impl Send for PaneSlot
impl Sync for PaneSlot
impl Unpin for PaneSlot
impl UnsafeUnpin for PaneSlot
impl UnwindSafe for PaneSlot
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