Enum lsp_types::UniquenessLevel
source · pub enum UniquenessLevel {
Document,
Project,
Group,
Scheme,
Global,
}
Expand description
Moniker uniqueness level to define scope of the moniker.
Variants§
Document
The moniker is only unique inside a document
Project
The moniker is unique inside a project for which a dump got created
Group
The moniker is unique inside the group to which a project belongs
Scheme
The moniker is unique inside the moniker scheme.
Global
The moniker is globally unique
Trait Implementations§
source§impl Clone for UniquenessLevel
impl Clone for UniquenessLevel
source§fn clone(&self) -> UniquenessLevel
fn clone(&self) -> UniquenessLevel
Returns a copy 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 UniquenessLevel
impl Debug for UniquenessLevel
source§impl<'de> Deserialize<'de> for UniquenessLevel
impl<'de> Deserialize<'de> for UniquenessLevel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for UniquenessLevel
impl PartialEq for UniquenessLevel
source§impl Serialize for UniquenessLevel
impl Serialize for UniquenessLevel
impl Copy for UniquenessLevel
impl Eq for UniquenessLevel
impl StructuralPartialEq for UniquenessLevel
Auto Trait Implementations§
impl Freeze for UniquenessLevel
impl RefUnwindSafe for UniquenessLevel
impl Send for UniquenessLevel
impl Sync for UniquenessLevel
impl Unpin for UniquenessLevel
impl UnwindSafe for UniquenessLevel
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.