pub struct Needs {
pub required: Vec<String>,
pub order: Vec<String>,
}Expand description
What the project needs from the choices (for example capabilities and an order of importance); a module defines the meaning of the strings.
Fields§
§required: Vec<String>Capability names every choice must have.
order: Vec<String>What matters most, most important first.
Trait Implementations§
impl Eq for Needs
impl StructuralPartialEq for Needs
Auto Trait Implementations§
impl Forget for Needs
impl Freeze for Needs
impl Move for Needs
impl RefUnwindSafe for Needs
impl Send for Needswhere
RawVecInner: Send,
impl Sync for Needswhere
RawVecInner: Sync,
impl Unpin for Needs
impl UnsafeUnpin for Needs
impl UnwindSafe for Needswhere
RawVecInner: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.