Enum rustdoc::html::render::cache::ExternalLocation [−][src]
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
Tuple Fields of Remote
0: String
This external crate can be found in the local doc/ folder
The external crate could not be found.
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
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