Enum rustdoc::clean::types::ExternalLocation
source · pub(crate) enum ExternalLocation {
Remote(String),
Local,
Unknown,
}
Expand description
Indicates where an external crate can be found.
Variants§
Remote(String)
Remote URL root of the external crate
Local
This external crate can be found in the local doc/ folder
Unknown
The external crate could not be found.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExternalLocation
impl Send for ExternalLocation
impl Sync for ExternalLocation
impl Unpin for ExternalLocation
impl UnwindSafe for ExternalLocation
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
Remote
: 24 bytesLocal
: 0 bytesUnknown
: 0 bytes