pub struct RustDocFingerprint {
pub rustc_vv: String,
}
Expand description
Structure used to deal with Rustdoc fingerprinting
Fields
rustc_vv: String
Implementations
sourceimpl RustDocFingerprint
impl RustDocFingerprint
sourcepub fn check_rustdoc_fingerprint(cx: &Context<'_, '_>) -> CargoResult<()>
pub fn check_rustdoc_fingerprint(cx: &Context<'_, '_>) -> CargoResult<()>
This function checks whether the latest version of Rustc
used to compile this
Workspace
’s docs was the same as the one is currently being used in this cargo doc
call.
In case it’s not, it takes care of removing the doc/
folder as well as overwriting
the rustdoc fingerprint info in order to guarantee that we won’t end up with mixed
versions of the js/html/css
files that rustdoc
autogenerates which do not have
any versioning.
Trait Implementations
sourceimpl Debug for RustDocFingerprint
impl Debug for RustDocFingerprint
sourceimpl<'de> Deserialize<'de> for RustDocFingerprint
impl<'de> Deserialize<'de> for RustDocFingerprint
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 Serialize for RustDocFingerprint
impl Serialize for RustDocFingerprint
Auto Trait Implementations
impl RefUnwindSafe for RustDocFingerprint
impl Send for RustDocFingerprint
impl Sync for RustDocFingerprint
impl Unpin for RustDocFingerprint
impl UnwindSafe for RustDocFingerprint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more