Enum rustdoc::html::render::write_shared::SharedResource [−][src]
enum SharedResource<'a> {
Unversioned {
name: &'static str,
},
ToolchainSpecific {
basename: &'static str,
},
InvocationSpecific {
basename: &'a str,
},
}Variants
Expand description
This file will never change, no matter what toolchain is used to build it.
It does not have a resource suffix.
Show fields
Fields of Unversioned
name: &'static strExpand description
This file may change depending on the toolchain.
It has a resource suffix.
Show fields
Fields of ToolchainSpecific
basename: &'static strExpand description
This file may change for any crate within a build, or based on the CLI arguments.
This differs from normal invocation-specific files because it has a resource suffix.
Show fields
Fields of InvocationSpecific
basename: &'a strImplementations
impl SharedResource<'_>[src]
impl SharedResource<'_>[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for SharedResource<'a>
impl<'a> Send for SharedResource<'a>
impl<'a> Sync for SharedResource<'a>
impl<'a> Unpin for SharedResource<'a>
impl<'a> UnwindSafe for SharedResource<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,