#[non_exhaustive]pub enum MapRequest<'a> {
None,
Native,
Named(&'a str),
}Expand description
Explicit native diagnostic request. A named request requires a common map with this exact key; absence is an error, never successful empty output.
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.
None
Score-only work.
Native
Native diagnostics; richer native results may omit common map views.
Named(&'a str)
A specific common map, in its native units and placement.
Trait Implementations§
Source§impl<'a> Clone for MapRequest<'a>
impl<'a> Clone for MapRequest<'a>
Source§fn clone(&self) -> MapRequest<'a>
fn clone(&self) -> MapRequest<'a>
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<'a> Copy for MapRequest<'a>
Source§impl<'a> Debug for MapRequest<'a>
impl<'a> Debug for MapRequest<'a>
impl<'a> Eq for MapRequest<'a>
Source§impl<'a> PartialEq for MapRequest<'a>
impl<'a> PartialEq for MapRequest<'a>
impl<'a> StructuralPartialEq for MapRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for MapRequest<'a>
impl<'a> RefUnwindSafe for MapRequest<'a>
impl<'a> Send for MapRequest<'a>
impl<'a> Sync for MapRequest<'a>
impl<'a> Unpin for MapRequest<'a>
impl<'a> UnsafeUnpin for MapRequest<'a>
impl<'a> UnwindSafe for MapRequest<'a>
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