pub struct PaneContainerRecord {
pub id: PaneContainerId,
pub tabs: IndexMap<PaneTabId, PaneTabRecord>,
pub active_tab: PaneTabId,
}Fields§
§id: PaneContainerId§tabs: IndexMap<PaneTabId, PaneTabRecord>§active_tab: PaneTabIdImplementations§
Source§impl PaneContainerRecord
impl PaneContainerRecord
pub fn active_tab_record(&self) -> Option<&PaneTabRecord>
pub fn active_tab_record_mut(&mut self) -> Option<&mut PaneTabRecord>
pub fn active_pane(&self) -> Option<PaneId>
pub fn contains_pane(&self, pane_id: PaneId) -> bool
pub fn tab_for_pane(&self, pane_id: PaneId) -> Option<PaneTabId>
pub fn focus_tab(&mut self, tab_id: PaneTabId) -> bool
pub fn focus_pane(&mut self, pane_id: PaneId) -> bool
Trait Implementations§
Source§impl Clone for PaneContainerRecord
impl Clone for PaneContainerRecord
Source§fn clone(&self) -> PaneContainerRecord
fn clone(&self) -> PaneContainerRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaneContainerRecord
impl Debug for PaneContainerRecord
Source§impl<'de> Deserialize<'de> for PaneContainerRecord
impl<'de> Deserialize<'de> for PaneContainerRecord
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
Source§impl PartialEq for PaneContainerRecord
impl PartialEq for PaneContainerRecord
Source§impl Serialize for PaneContainerRecord
impl Serialize for PaneContainerRecord
impl Eq for PaneContainerRecord
impl StructuralPartialEq for PaneContainerRecord
Auto Trait Implementations§
impl Freeze for PaneContainerRecord
impl RefUnwindSafe for PaneContainerRecord
impl Send for PaneContainerRecord
impl Sync for PaneContainerRecord
impl Unpin for PaneContainerRecord
impl UnsafeUnpin for PaneContainerRecord
impl UnwindSafe for PaneContainerRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.