pub enum Fit {
Yes,
Under {
conditions: Vec<Condition>,
},
No {
refusal: Refusal,
also: Vec<Refusal>,
},
}Expand description
Whether a component fits a host.
Variants§
Yes
Under
Fits, under every one of these conditions.
No
Does not fit: the first refusal, and the others found.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Fit
Auto Trait Implementations§
impl Freeze for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnsafeUnpin for Fit
impl UnwindSafe for Fit
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