pub struct TabbedLayoutDescription<I: ApplicationInfo> {
pub tabs: Vec<WindowLayoutRoot<I>>,
pub focused: usize,
}Expand description
A description of open tabs.
Fields§
§tabs: Vec<WindowLayoutRoot<I>>The description of the window layout for each tab.
focused: usizeThe index of the last focused tab
Implementations§
Source§impl<I: ApplicationInfo> TabbedLayoutDescription<I>
impl<I: ApplicationInfo> TabbedLayoutDescription<I>
Trait Implementations§
Source§impl<I: Clone + ApplicationInfo> Clone for TabbedLayoutDescription<I>
impl<I: Clone + ApplicationInfo> Clone for TabbedLayoutDescription<I>
Source§fn clone(&self) -> TabbedLayoutDescription<I>
fn clone(&self) -> TabbedLayoutDescription<I>
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<I: Debug + ApplicationInfo> Debug for TabbedLayoutDescription<I>
impl<I: Debug + ApplicationInfo> Debug for TabbedLayoutDescription<I>
Source§impl<'de, I: ApplicationInfo> Deserialize<'de> for TabbedLayoutDescription<I>where
I::WindowId: Deserialize<'de>,
impl<'de, I: ApplicationInfo> Deserialize<'de> for TabbedLayoutDescription<I>where
I::WindowId: Deserialize<'de>,
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<I: ApplicationInfo> Serialize for TabbedLayoutDescription<I>
impl<I: ApplicationInfo> Serialize for TabbedLayoutDescription<I>
Auto Trait Implementations§
impl<I> Freeze for TabbedLayoutDescription<I>
impl<I> RefUnwindSafe for TabbedLayoutDescription<I>
impl<I> Send for TabbedLayoutDescription<I>
impl<I> Sync for TabbedLayoutDescription<I>
impl<I> Unpin for TabbedLayoutDescription<I>
impl<I> UnsafeUnpin for TabbedLayoutDescription<I>
impl<I> UnwindSafe for TabbedLayoutDescription<I>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more