pub enum RustdocExternMode {
Local,
Remote,
Url(String),
}
Expand description
Mode used for std
.
Variants
Local
Use a local file://
URL.
Remote
Use a remote URL to https://doc.rust-lang.org/ (default).
Url(String)
An arbitrary URL.
Trait Implementations
sourceimpl Debug for RustdocExternMode
impl Debug for RustdocExternMode
sourceimpl<'de> Deserialize<'de> for RustdocExternMode
impl<'de> Deserialize<'de> for RustdocExternMode
sourcefn 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
sourceimpl Display for RustdocExternMode
impl Display for RustdocExternMode
sourceimpl From<String> for RustdocExternMode
impl From<String> for RustdocExternMode
sourcefn from(s: String) -> RustdocExternMode
fn from(s: String) -> RustdocExternMode
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RustdocExternMode
impl Send for RustdocExternMode
impl Sync for RustdocExternMode
impl Unpin for RustdocExternMode
impl UnwindSafe for RustdocExternMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more