pub enum PreviewKey {
Session(String),
Directory(PathBuf),
File(PathBuf),
Metadata(String),
}Variants§
Trait Implementations§
Source§impl Clone for PreviewKey
impl Clone for PreviewKey
Source§fn clone(&self) -> PreviewKey
fn clone(&self) -> PreviewKey
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 PreviewKey
impl Debug for PreviewKey
Source§impl Hash for PreviewKey
impl Hash for PreviewKey
Source§impl Ord for PreviewKey
impl Ord for PreviewKey
Source§fn cmp(&self, other: &PreviewKey) -> Ordering
fn cmp(&self, other: &PreviewKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PreviewKey
impl PartialEq for PreviewKey
Source§impl PartialOrd for PreviewKey
impl PartialOrd for PreviewKey
impl Eq for PreviewKey
impl StructuralPartialEq for PreviewKey
Auto Trait Implementations§
impl Freeze for PreviewKey
impl RefUnwindSafe for PreviewKey
impl Send for PreviewKey
impl Sync for PreviewKey
impl Unpin for PreviewKey
impl UnsafeUnpin for PreviewKey
impl UnwindSafe for PreviewKey
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