pub struct ModuleName(/* private fields */);Expand description
Validated module name metadata.
Implementations§
Source§impl ModuleName
impl ModuleName
Trait Implementations§
Source§impl AsRef<str> for ModuleName
impl AsRef<str> for ModuleName
Source§impl Clone for ModuleName
impl Clone for ModuleName
Source§fn clone(&self) -> ModuleName
fn clone(&self) -> ModuleName
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 moreSource§impl Debug for ModuleName
impl Debug for ModuleName
Source§impl Display for ModuleName
impl Display for ModuleName
Source§impl FromStr for ModuleName
impl FromStr for ModuleName
Source§impl Hash for ModuleName
impl Hash for ModuleName
Source§impl Ord for ModuleName
impl Ord for ModuleName
Source§fn cmp(&self, other: &ModuleName) -> Ordering
fn cmp(&self, other: &ModuleName) -> Ordering
1.21.0 (const: unstable) · 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 ModuleName
impl PartialEq for ModuleName
Source§fn eq(&self, other: &ModuleName) -> bool
fn eq(&self, other: &ModuleName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ModuleName
impl PartialOrd for ModuleName
Source§impl TryFrom<&str> for ModuleName
impl TryFrom<&str> for ModuleName
impl Eq for ModuleName
impl StructuralPartialEq for ModuleName
Auto Trait Implementations§
impl Freeze for ModuleName
impl RefUnwindSafe for ModuleName
impl Send for ModuleName
impl Sync for ModuleName
impl Unpin for ModuleName
impl UnsafeUnpin for ModuleName
impl UnwindSafe for ModuleName
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