#[non_exhaustive]pub struct Check { /* private fields */ }Expand description
Test a release for semver violations.
Implementations§
Source§impl Check
impl Check
pub fn new(current: Rustdoc) -> Self
pub fn set_package_selection( &mut self, selection: PackageSelection, ) -> &mut Self
pub fn set_packages(&mut self, packages: Vec<String>) -> &mut Self
pub fn set_baseline(&mut self, baseline: Rustdoc) -> &mut Self
pub fn set_release_type(&mut self, release_type: ReleaseType) -> &mut Self
pub fn with_only_explicit_features(&mut self) -> &mut Self
pub fn with_default_features(&mut self) -> &mut Self
pub fn with_heuristically_included_features(&mut self) -> &mut Self
pub fn with_all_features(&mut self) -> &mut Self
pub fn set_extra_features( &mut self, extra_current_features: Vec<String>, extra_baseline_features: Vec<String>, ) -> &mut Self
Sourcepub fn set_build_target(&mut self, build_target: String) -> &mut Self
pub fn set_build_target(&mut self, build_target: String) -> &mut Self
Set what --target to build the documentation with, by default will not pass any flag
relying on the users cargo configuration.
Sourcepub fn set_witness_generation(
&mut self,
witness_generation: WitnessGeneration,
) -> &mut Self
pub fn set_witness_generation( &mut self, witness_generation: WitnessGeneration, ) -> &mut Self
Set the options for generating witness code. See WitnessGeneration for more.
pub fn check_release(&self, config: &mut GlobalConfig) -> Result<Report>
Trait Implementations§
impl Eq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more