Struct specmc_base::parse::Identifier
source · pub struct Identifier {
pub inner: String,
}Expand description
An identifier. The identifier must not be empty and can only contain letters, numbers, and underscores. The identifier must not start with a number.
Fields§
§inner: StringTrait Implementations§
source§impl Debug for Identifier
impl Debug for Identifier
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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