pub struct PartialNameRef(/* private fields */);
Expand description
A validated and potentially partial reference name, safe to use for common operations.
Implementations§
Trait Implementations§
Source§impl AsRef<PartialNameRef> for PartialName
impl AsRef<PartialNameRef> for PartialName
Source§fn as_ref(&self) -> &PartialNameRef
fn as_ref(&self) -> &PartialNameRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<PartialNameRef> for PartialName
impl Borrow<PartialNameRef> for PartialName
Source§fn borrow(&self) -> &PartialNameRef
fn borrow(&self) -> &PartialNameRef
Immutably borrows from an owned value. Read more
Source§impl Debug for PartialNameRef
impl Debug for PartialNameRef
Source§impl<'a> From<&'a FullNameRef> for &'a PartialNameRef
impl<'a> From<&'a FullNameRef> for &'a PartialNameRef
Source§fn from(v: &'a FullNameRef) -> Self
fn from(v: &'a FullNameRef) -> Self
Converts to this type from the input type.
Source§impl Hash for PartialNameRef
impl Hash for PartialNameRef
Source§impl Ord for PartialNameRef
impl Ord for PartialNameRef
Source§impl PartialEq for PartialNameRef
impl PartialEq for PartialNameRef
Source§impl PartialOrd for PartialNameRef
impl PartialOrd for PartialNameRef
Source§impl ToOwned for PartialNameRef
impl ToOwned for PartialNameRef
Source§type Owned = PartialName
type Owned = PartialName
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more