pub enum SourceKey {
Session(SourceId),
Attached(SourceId),
}Expand description
Provenance for a source identity.
Variants§
Implementations§
Trait Implementations§
impl Copy for SourceKey
impl Eq for SourceKey
Source§impl Ord for SourceKey
impl Ord for SourceKey
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SourceKey
impl PartialOrd for SourceKey
impl StructuralPartialEq for SourceKey
Auto Trait Implementations§
impl Forget for SourceKey
impl Freeze for SourceKey
impl Move for SourceKey
impl RefUnwindSafe for SourceKey
impl Send for SourceKey
impl Sync for SourceKey
impl Unpin for SourceKey
impl UnsafeUnpin for SourceKey
impl UnwindSafe for SourceKey
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