#[non_exhaustive]pub enum ReplicatedTextParameterPresence {
Required,
OptionalPresent,
OptionalAbsent,
Tied {
target: String,
},
Derived {
recipe: String,
},
}Expand description
Exact admitted presence or derivation of one logical parameter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Required
A required physical source was selected.
OptionalPresent
An optional physical source was present and selected.
OptionalAbsent
An optional architecture parameter is absent from this artifact.
Tied
The value is tied to another canonical logical parameter.
Derived
The value is produced by an architecture-owned recipe.
Implementations§
Source§impl ReplicatedTextParameterPresence
impl ReplicatedTextParameterPresence
Sourcepub fn has_physical_source(&self) -> bool
pub fn has_physical_source(&self) -> bool
Returns whether selection must choose a backend lowering.
Trait Implementations§
Source§impl Clone for ReplicatedTextParameterPresence
impl Clone for ReplicatedTextParameterPresence
Source§fn clone(&self) -> ReplicatedTextParameterPresence
fn clone(&self) -> ReplicatedTextParameterPresence
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 Eq for ReplicatedTextParameterPresence
impl StructuralPartialEq for ReplicatedTextParameterPresence
Auto Trait Implementations§
impl Freeze for ReplicatedTextParameterPresence
impl RefUnwindSafe for ReplicatedTextParameterPresence
impl Send for ReplicatedTextParameterPresence
impl Sync for ReplicatedTextParameterPresence
impl Unpin for ReplicatedTextParameterPresence
impl UnsafeUnpin for ReplicatedTextParameterPresence
impl UnwindSafe for ReplicatedTextParameterPresence
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