#[repr(C)]pub struct ArchivedLayoutSnapshot{
active_tab: <TabId as Archive>::Archived,
tabs: <Vec<TabSnapshot> as Archive>::Archived,
}Expand description
An archived LayoutSnapshot
Fields§
§active_tab: <TabId as Archive>::ArchivedThe archived counterpart of LayoutSnapshot::active_tab
tabs: <Vec<TabSnapshot> as Archive>::ArchivedThe archived counterpart of LayoutSnapshot::tabs
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLayoutSnapshotwhere
TabId: Archive,
Vec<TabSnapshot>: Archive,
<__C as Fallible>::Error: Trace,
<TabId as Archive>::Archived: CheckBytes<__C>,
<Vec<TabSnapshot> as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLayoutSnapshotwhere
TabId: Archive,
Vec<TabSnapshot>: Archive,
<__C as Fallible>::Error: Trace,
<TabId as Archive>::Archived: CheckBytes<__C>,
<Vec<TabSnapshot> as Archive>::Archived: CheckBytes<__C>,
Source§impl<D> Deserialize<LayoutSnapshot, D> for ArchivedLayoutSnapshotwhere
D: Fallible + ?Sized,
D::Error: Source,
impl<D> Deserialize<LayoutSnapshot, D> for ArchivedLayoutSnapshotwhere
D: Fallible + ?Sized,
D::Error: Source,
Source§fn deserialize(&self, deserializer: &mut D) -> Result<LayoutSnapshot, D::Error>
fn deserialize(&self, deserializer: &mut D) -> Result<LayoutSnapshot, D::Error>
Deserializes using the given deserializer
impl Portable for ArchivedLayoutSnapshotwhere
TabId: Archive,
Vec<TabSnapshot>: Archive,
<TabId as Archive>::Archived: Portable,
<Vec<TabSnapshot> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl !Unpin for ArchivedLayoutSnapshot
impl !UnsafeUnpin for ArchivedLayoutSnapshot
impl Freeze for ArchivedLayoutSnapshot
impl RefUnwindSafe for ArchivedLayoutSnapshot
impl Send for ArchivedLayoutSnapshot
impl Sync for ArchivedLayoutSnapshot
impl UnwindSafe for ArchivedLayoutSnapshot
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.