pub enum LegacyImport {
Imported {
entries: usize,
},
AlreadyImported,
NoLegacyFile,
}Expand description
Result of WindowStateStore::import_legacy.
Variants§
Imported
The legacy file was read; entries were added (0 when every label already existed).
AlreadyImported
An earlier call already imported this source.
NoLegacyFile
No legacy file exists (nothing marked; a later call may still import).
Trait Implementations§
Source§impl Clone for LegacyImport
impl Clone for LegacyImport
impl Copy for LegacyImport
Source§impl Debug for LegacyImport
impl Debug for LegacyImport
impl Eq for LegacyImport
Source§impl PartialEq for LegacyImport
impl PartialEq for LegacyImport
impl StructuralPartialEq for LegacyImport
Auto Trait Implementations§
impl Freeze for LegacyImport
impl RefUnwindSafe for LegacyImport
impl Send for LegacyImport
impl Sync for LegacyImport
impl Unpin for LegacyImport
impl UnsafeUnpin for LegacyImport
impl UnwindSafe for LegacyImport
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.