Struct move_core_types::identifier::IdentStr
source · [−]#[repr(transparent)]pub struct IdentStr(_);
Expand description
A borrowed identifier.
For more details, see the module level documentation.
Implementations
Trait Implementations
sourceimpl AsRef<IdentStr> for Identifier
impl AsRef<IdentStr> for Identifier
sourceimpl Borrow<IdentStr> for Identifier
impl Borrow<IdentStr> for Identifier
sourceimpl From<&'_ IdentStr> for Identifier
impl From<&'_ IdentStr> for Identifier
sourceimpl Ord for IdentStr
impl Ord for IdentStr
sourceimpl PartialOrd<IdentStr> for IdentStr
impl PartialOrd<IdentStr> for IdentStr
sourcefn partial_cmp(&self, other: &IdentStr) -> Option<Ordering>
fn partial_cmp(&self, other: &IdentStr) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ToOwned for IdentStr
impl ToOwned for IdentStr
type Owned = Identifier
type Owned = Identifier
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Identifier
fn to_owned(&self) -> Identifier
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more