#[repr(C)]pub struct ArchivedTabSnapshot{
active_pane: <PaneId as Archive>::Archived,
id: <TabId as Archive>::Archived,
panes: <Vec<PaneSnapshot> as Archive>::Archived,
title: <String as Archive>::Archived,
}Expand description
An archived TabSnapshot
Fields§
§active_pane: <PaneId as Archive>::ArchivedThe archived counterpart of TabSnapshot::active_pane
id: <TabId as Archive>::ArchivedThe archived counterpart of TabSnapshot::id
panes: <Vec<PaneSnapshot> as Archive>::ArchivedThe archived counterpart of TabSnapshot::panes
title: <String as Archive>::ArchivedThe archived counterpart of TabSnapshot::title
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTabSnapshotwhere
PaneId: Archive,
TabId: Archive,
Vec<PaneSnapshot>: Archive,
String: Archive,
<__C as Fallible>::Error: Trace,
<PaneId as Archive>::Archived: CheckBytes<__C>,
<TabId as Archive>::Archived: CheckBytes<__C>,
<Vec<PaneSnapshot> as Archive>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTabSnapshotwhere
PaneId: Archive,
TabId: Archive,
Vec<PaneSnapshot>: Archive,
String: Archive,
<__C as Fallible>::Error: Trace,
<PaneId as Archive>::Archived: CheckBytes<__C>,
<TabId as Archive>::Archived: CheckBytes<__C>,
<Vec<PaneSnapshot> as Archive>::Archived: CheckBytes<__C>,
<String as Archive>::Archived: CheckBytes<__C>,
Source§impl<D> Deserialize<TabSnapshot, D> for ArchivedTabSnapshotwhere
D: Fallible + ?Sized,
D::Error: Source,
impl<D> Deserialize<TabSnapshot, D> for ArchivedTabSnapshotwhere
D: Fallible + ?Sized,
D::Error: Source,
Source§fn deserialize(&self, deserializer: &mut D) -> Result<TabSnapshot, D::Error>
fn deserialize(&self, deserializer: &mut D) -> Result<TabSnapshot, D::Error>
Deserializes using the given deserializer
impl Portable for ArchivedTabSnapshotwhere
PaneId: Archive,
TabId: Archive,
Vec<PaneSnapshot>: Archive,
String: Archive,
<PaneId as Archive>::Archived: Portable,
<TabId as Archive>::Archived: Portable,
<Vec<PaneSnapshot> as Archive>::Archived: Portable,
<String as Archive>::Archived: Portable,
Auto Trait Implementations§
impl !Unpin for ArchivedTabSnapshot
impl !UnsafeUnpin for ArchivedTabSnapshot
impl Freeze for ArchivedTabSnapshot
impl RefUnwindSafe for ArchivedTabSnapshot
impl Send for ArchivedTabSnapshot
impl Sync for ArchivedTabSnapshot
impl UnwindSafe for ArchivedTabSnapshot
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.