pub struct IdentStr(/* private fields */);Expand description
A borrowed identifier.
For more details, see the module level documentation.
Implementations§
Trait Implementations§
Source§impl AsRef<IdentStr> for Identifier
impl AsRef<IdentStr> for Identifier
Source§impl Borrow<IdentStr> for Identifier
impl Borrow<IdentStr> for Identifier
impl Eq for IdentStr
Source§impl<'a> From<&'a IdentStr> for Identifier
impl<'a> From<&'a IdentStr> for Identifier
Source§impl PartialOrd for IdentStr
impl PartialOrd for IdentStr
impl StructuralPartialEq for IdentStr
Source§impl ToOwned for IdentStr
impl ToOwned for IdentStr
Source§type Owned = Identifier
type Owned = Identifier
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Identifier
fn to_owned(&self) -> Identifier
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
Auto Trait Implementations§
impl !Sized for IdentStr
impl Freeze for IdentStr
impl RefUnwindSafe for IdentStr
impl Send for IdentStr
impl Sync for IdentStr
impl Unpin for IdentStr
impl UnsafeUnpin for IdentStr
impl UnwindSafe for IdentStr
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