pub enum MonikerKind {
Import,
Export,
Local,
}Expand description
The moniker kind.
@since 3.16.0
Variants§
Import
The moniker represent a symbol that is imported into a project
Export
The moniker represents a symbol that is exported from a project
Local
The moniker represents a symbol that is local to a project (e.g. a local variable of a function, a class not visible outside the project, …)
Implementations§
Trait Implementations§
Source§impl Clone for MonikerKind
impl Clone for MonikerKind
Source§fn clone(&self) -> MonikerKind
fn clone(&self) -> MonikerKind
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 MonikerKind
impl Debug for MonikerKind
Source§impl Default for MonikerKind
impl Default for MonikerKind
Source§fn default() -> MonikerKind
fn default() -> MonikerKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonikerKind
impl<'de> Deserialize<'de> for MonikerKind
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 Serialize for MonikerKind
impl Serialize for MonikerKind
Auto Trait Implementations§
impl Freeze for MonikerKind
impl RefUnwindSafe for MonikerKind
impl Send for MonikerKind
impl Sync for MonikerKind
impl Unpin for MonikerKind
impl UnwindSafe for MonikerKind
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