pub struct Dependency {
pub type_id: TypeId,
pub name: String,
pub output_path: PathBuf,
}Expand description
A type dependency for import generation.
Fields§
§type_id: TypeId§name: String§output_path: PathBufTrait Implementations§
Source§impl Debug for Dependency
impl Debug for Dependency
Source§impl Ord for Dependency
impl Ord for Dependency
Source§fn cmp(&self, other: &Dependency) -> Ordering
fn cmp(&self, other: &Dependency) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Dependency
impl PartialEq for Dependency
Source§impl PartialOrd for Dependency
impl PartialOrd for Dependency
impl Eq for Dependency
impl StructuralPartialEq for Dependency
Auto Trait Implementations§
impl Freeze for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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