pub struct QualityZoneFilter {
pub min_quality: usize,
}Expand description
Ignores inferior quality zones that meet an item’s minimum quality. Holes and zones below the minimum keep blocking it.
Fields§
§min_quality: usizeTrait Implementations§
Source§impl Clone for QualityZoneFilter
impl Clone for QualityZoneFilter
Source§fn clone(&self) -> QualityZoneFilter
fn clone(&self) -> QualityZoneFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QualityZoneFilter
Source§impl Debug for QualityZoneFilter
impl Debug for QualityZoneFilter
Source§impl HazardFilter<BasicHazardEntity> for QualityZoneFilter
impl HazardFilter<BasicHazardEntity> for QualityZoneFilter
Source§fn is_irrelevant(&self, _: HazKey, entity: &BasicHazardEntity) -> bool
fn is_irrelevant(&self, _: HazKey, entity: &BasicHazardEntity) -> bool
Whether the hazard registered under
key and induced by entity is ignored.Auto Trait Implementations§
impl Freeze for QualityZoneFilter
impl RefUnwindSafe for QualityZoneFilter
impl Send for QualityZoneFilter
impl Sync for QualityZoneFilter
impl Unpin for QualityZoneFilter
impl UnsafeUnpin for QualityZoneFilter
impl UnwindSafe for QualityZoneFilter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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