pub enum Target<'m> {
Product(Product<'m>),
Version(Version<'m>),
Definition(ProductDef<'m>),
}Expand description
A single product-structure entity a piece of metadata is attached to — the
full detail behind Scope. Unlike Contributor::assigned_scope (which
answers which level), this names which entity, so multiple targets at the
same level stay distinct.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Target<'m>
impl<'m> RefUnwindSafe for Target<'m>
impl<'m> Send for Target<'m>
impl<'m> Sync for Target<'m>
impl<'m> Unpin for Target<'m>
impl<'m> UnsafeUnpin for Target<'m>
impl<'m> UnwindSafe for Target<'m>
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