pub struct Package { /* private fields */ }Implementations§
Source§impl Package
impl Package
pub fn name(&self) -> Option<&PackageName>
pub fn version(&self) -> Option<&PackageVersion>
pub fn integrity(&self) -> &Integrity
pub fn source(&self) -> Option<&PackageSource>
pub fn source_type(&self) -> Option<PackageSourceType>
Trait Implementations§
Source§impl PartialOrd for Package
impl PartialOrd for Package
impl Eq for Package
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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