pub enum Provision {
Unknown,
Files,
Provided(String),
}Expand description
What the project model says about a name that may run from no file of the project
(Htl::model_provides).
Variants§
Unknown
The model has nothing to say: none is installed, or it has nothing under the name.
Files
The model answers the name, and not as provided: a file of the project is what
runs for it — an implementation, or the .lua a declaration types — or two files
claim it and no order picks one.
Provided(String)
Nothing of the project runs for the name, and this is who provides it, as the
model’s Provider tags it: host_module, build and std for the host,
declared for the environment — a name the model has only a declaration for.
Trait Implementations§
impl Eq for Provision
impl StructuralPartialEq for Provision
Auto Trait Implementations§
impl Freeze for Provision
impl RefUnwindSafe for Provision
impl Send for Provision
impl Sync for Provision
impl Unpin for Provision
impl UnsafeUnpin for Provision
impl UnwindSafe for Provision
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.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