pub(crate) struct Placed<'a, U, P> {
name: &'a str,
place: P,
unit: &'a U,
}Expand description
A unit with the place its ecosystem reads the version from: a Cargo manifest path or a version holder.
Fields§
§name: &'a str§place: P§unit: &'a UImplementations§
Trait Implementations§
impl<U, P: Copy> Copy for Placed<'_, U, P>
Auto Trait Implementations§
impl<'a, U, P> Freeze for Placed<'a, U, P>
impl<'a, U, P> RefUnwindSafe for Placed<'a, U, P>
impl<'a, U, P> Send for Placed<'a, U, P>
impl<'a, U, P> Sync for Placed<'a, U, P>
impl<'a, U, P> Unpin for Placed<'a, U, P>
impl<'a, U, P> UnsafeUnpin for Placed<'a, U, P>
impl<'a, U, P> UnwindSafe for Placed<'a, U, P>
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