pub struct PackagistPackageName { /* private fields */ }Expand description
Packagist package name metadata in vendor/package form.
Implementations§
Trait Implementations§
Source§impl Clone for PackagistPackageName
impl Clone for PackagistPackageName
Source§fn clone(&self) -> PackagistPackageName
fn clone(&self) -> PackagistPackageName
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 PackagistPackageName
impl Debug for PackagistPackageName
Source§impl Display for PackagistPackageName
impl Display for PackagistPackageName
Source§impl FromStr for PackagistPackageName
impl FromStr for PackagistPackageName
Source§type Err = PackagistError
type Err = PackagistError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<PackagistPackageName, <PackagistPackageName as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PackagistPackageName, <PackagistPackageName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PackagistPackageName
impl Hash for PackagistPackageName
Source§impl Ord for PackagistPackageName
impl Ord for PackagistPackageName
Source§fn cmp(&self, other: &PackagistPackageName) -> Ordering
fn cmp(&self, other: &PackagistPackageName) -> 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 PackagistPackageName
impl PartialEq for PackagistPackageName
Source§fn eq(&self, other: &PackagistPackageName) -> bool
fn eq(&self, other: &PackagistPackageName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PackagistPackageName
impl PartialOrd for PackagistPackageName
impl Eq for PackagistPackageName
impl StructuralPartialEq for PackagistPackageName
Auto Trait Implementations§
impl Freeze for PackagistPackageName
impl RefUnwindSafe for PackagistPackageName
impl Send for PackagistPackageName
impl Sync for PackagistPackageName
impl Unpin for PackagistPackageName
impl UnsafeUnpin for PackagistPackageName
impl UnwindSafe for PackagistPackageName
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