#[non_exhaustive]pub enum LeanWorkerSourceCoordinateSpace {
OriginalSource,
SyntheticBuffer,
Unknown,
}Expand description
Coordinate space a diagnostic position was reported in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LeanWorkerSourceCoordinateSpace
impl Clone for LeanWorkerSourceCoordinateSpace
Source§fn clone(&self) -> LeanWorkerSourceCoordinateSpace
fn clone(&self) -> LeanWorkerSourceCoordinateSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeanWorkerSourceCoordinateSpace
Source§impl Default for LeanWorkerSourceCoordinateSpace
impl Default for LeanWorkerSourceCoordinateSpace
Source§fn default() -> LeanWorkerSourceCoordinateSpace
fn default() -> LeanWorkerSourceCoordinateSpace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeanWorkerSourceCoordinateSpace
impl<'de> Deserialize<'de> for LeanWorkerSourceCoordinateSpace
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerSourceCoordinateSpace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerSourceCoordinateSpace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerSourceCoordinateSpace
Source§impl PartialEq for LeanWorkerSourceCoordinateSpace
impl PartialEq for LeanWorkerSourceCoordinateSpace
Source§fn eq(&self, other: &LeanWorkerSourceCoordinateSpace) -> bool
fn eq(&self, other: &LeanWorkerSourceCoordinateSpace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerSourceCoordinateSpace
impl Serialize for LeanWorkerSourceCoordinateSpace
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerSourceCoordinateSpace
Auto Trait Implementations§
impl Freeze for LeanWorkerSourceCoordinateSpace
impl RefUnwindSafe for LeanWorkerSourceCoordinateSpace
impl Send for LeanWorkerSourceCoordinateSpace
impl Sync for LeanWorkerSourceCoordinateSpace
impl Unpin for LeanWorkerSourceCoordinateSpace
impl UnsafeUnpin for LeanWorkerSourceCoordinateSpace
impl UnwindSafe for LeanWorkerSourceCoordinateSpace
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