pub struct DynIden(pub(crate) Cow<'static, str>);
Expand description
A prepared (quoted) identifier string.
The naming is legacy and kept for compatibility.
This used to be an alias for a dyn Iden
object that’s lazily rendered later.
Nowadays, it’s an eagerly-rendered string. Most identifiers are static strings that aren’t “rendered” at runtime anyway.
Tuple Fields§
§0: Cow<'static, str>
Implementations§
Trait Implementations§
impl Eq for DynIden
impl StructuralPartialEq for DynIden
Auto Trait Implementations§
impl Freeze for DynIden
impl RefUnwindSafe for DynIden
impl Send for DynIden
impl Sync for DynIden
impl Unpin for DynIden
impl UnwindSafe for DynIden
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