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§fn eq(&self, other: &UniquenessLevel) -> bool
fn eq(&self, other: &UniquenessLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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