#[non_exhaustive]pub enum AssemblyScaleSelectorRequest<'a> {
Indexed,
Named {
root_node_name: &'a str,
},
}Expand description
Selector mode requested while deriving an assembly compatibility basis.
The request is not itself compatibility identity. The constructor checks it against the accepted basis and source document before producing the validated identity consumed by the comparator.
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.
Indexed
Preserve exact format-local source skin and root indices.
Named
Derive identity from one exact normalized root name.
Trait Implementations§
Source§impl<'a> Clone for AssemblyScaleSelectorRequest<'a>
impl<'a> Clone for AssemblyScaleSelectorRequest<'a>
Source§fn clone(&self) -> AssemblyScaleSelectorRequest<'a>
fn clone(&self) -> AssemblyScaleSelectorRequest<'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 AssemblyScaleSelectorRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssemblyScaleSelectorRequest<'a>
impl<'a> RefUnwindSafe for AssemblyScaleSelectorRequest<'a>
impl<'a> Send for AssemblyScaleSelectorRequest<'a>
impl<'a> Sync for AssemblyScaleSelectorRequest<'a>
impl<'a> Unpin for AssemblyScaleSelectorRequest<'a>
impl<'a> UnsafeUnpin for AssemblyScaleSelectorRequest<'a>
impl<'a> UnwindSafe for AssemblyScaleSelectorRequest<'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