pub struct Depend { /* private fields */ }
Implementations§
Methods from Deref<Target = Dep>§
pub fn dep(&self) -> &Dep
pub fn to_depend(&self) -> Depend
pub fn name(&self) -> &str
pub fn version(&self) -> Option<&Ver>
pub fn desc(&self) -> Option<&str>
pub fn name_hash(&self) -> u64
pub fn depmod(&self) -> DepMod
pub fn depmodver(&self) -> DepModVer<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Depend
impl RefUnwindSafe for Depend
impl !Send for Depend
impl !Sync for Depend
impl Unpin for Depend
impl UnwindSafe for Depend
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)