pub struct LauncherDependency {
pub name: &'static str,
pub spec: &'static str,
}Expand description
One dependency entry required by a generated launcher crate.
Fields§
§name: &'static strDependency name in the emitted Cargo.toml.
spec: &'static strInline dependency spec, for example { version = "1", features = ["derive"] }.
Trait Implementations§
Source§impl Clone for LauncherDependency
impl Clone for LauncherDependency
Source§fn clone(&self) -> LauncherDependency
fn clone(&self) -> LauncherDependency
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 Copy for LauncherDependency
Source§impl Debug for LauncherDependency
impl Debug for LauncherDependency
impl Eq for LauncherDependency
Source§impl PartialEq for LauncherDependency
impl PartialEq for LauncherDependency
Source§fn eq(&self, other: &LauncherDependency) -> bool
fn eq(&self, other: &LauncherDependency) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LauncherDependency
Auto Trait Implementations§
impl Freeze for LauncherDependency
impl RefUnwindSafe for LauncherDependency
impl Send for LauncherDependency
impl Sync for LauncherDependency
impl Unpin for LauncherDependency
impl UnsafeUnpin for LauncherDependency
impl UnwindSafe for LauncherDependency
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.