pub enum ContextAccess {
PublicFunction,
PublicMethod,
InternalFunction,
InternalMethod,
Embedded,
Unresolved,
}Expand description
Source-established accessibility of a lexical context.
Variants§
PublicFunction
A whole function with an established public path.
PublicMethod
A whole method with an established public receiver and item path.
InternalFunction
A whole function whose declaration is internal.
InternalMethod
A whole method whose declaration is internal.
Embedded
An embedded lexical context requiring extraction.
Unresolved
Source analysis does not establish external accessibility.
Trait Implementations§
Source§impl Clone for ContextAccess
impl Clone for ContextAccess
impl Copy for ContextAccess
Source§impl Debug for ContextAccess
impl Debug for ContextAccess
Source§impl<'de> Deserialize<'de> for ContextAccess
impl<'de> Deserialize<'de> for ContextAccess
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
impl Eq for ContextAccess
Source§impl Ord for ContextAccess
impl Ord for ContextAccess
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 PartialEq for ContextAccess
impl PartialEq for ContextAccess
Source§impl PartialOrd for ContextAccess
impl PartialOrd for ContextAccess
Source§impl Serialize for ContextAccess
impl Serialize for ContextAccess
impl StructuralPartialEq for ContextAccess
Auto Trait Implementations§
impl Freeze for ContextAccess
impl RefUnwindSafe for ContextAccess
impl Send for ContextAccess
impl Sync for ContextAccess
impl Unpin for ContextAccess
impl UnsafeUnpin for ContextAccess
impl UnwindSafe for ContextAccess
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