pub struct ModulePath { /* private fields */ }
Implementations§
Source§impl ModulePath
impl ModulePath
pub fn new(value: String) -> Result<Self>
pub fn implied_package_name(&self) -> Option<PackageName>
Source§impl ModulePath
impl ModulePath
pub fn iter(&self) -> ModulePathIter<'_> ⓘ
Trait Implementations§
Source§impl AsRef<str> for ModulePath
impl AsRef<str> for ModulePath
Source§impl Clone for ModulePath
impl Clone for ModulePath
Source§fn clone(&self) -> ModulePath
fn clone(&self) -> ModulePath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ModulePath
impl RefUnwindSafe for ModulePath
impl Send for ModulePath
impl Sync for ModulePath
impl Unpin for ModulePath
impl UnwindSafe for ModulePath
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