[][src]Struct binjs::generic::IdentifierName

pub struct IdentifierName(pub SharedString);

An identifier, inside the grammar.

Methods

impl IdentifierName[src]

pub const fn from_str(value: &'static str) -> IdentifierName[src]

pub fn from_string(value: String) -> IdentifierName[src]

pub fn from_rc_string(value: Rc<String>) -> IdentifierName[src]

pub fn as_str(&self) -> &str[src]

pub fn as_shared_string(&self) -> &SharedString[src]

Trait Implementations

impl Clone for IdentifierName[src]

impl Debug for IdentifierName[src]

impl Default for IdentifierName[src]

impl<R> Deserialization<IdentifierName> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for IdentifierName[src]

impl Display for IdentifierName[src]

impl Eq for IdentifierName[src]

impl Hash for IdentifierName[src]

impl<'a> Into<&'a [u8]> for &'a IdentifierName[src]

impl Ord for IdentifierName[src]

impl<'a> PartialEq<&'a str> for IdentifierName[src]

impl PartialEq<IdentifierName> for IdentifierName[src]

impl PartialOrd<IdentifierName> for IdentifierName[src]

impl<W> Serialization<IdentifierName> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for IdentifierName[src]

impl StructuralEq for IdentifierName[src]

Auto Trait Implementations

impl !RefUnwindSafe for IdentifierName

impl !Send for IdentifierName

impl !Sync for IdentifierName

impl Unpin for IdentifierName

impl UnwindSafe for IdentifierName

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]