[][src]Struct binjs_shared::FieldName

pub struct FieldName(pub SharedString);

A field name of the grammar.

Methods

impl FieldName[src]

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

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

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

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

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

Trait Implementations

impl Clone for FieldName[src]

impl Debug for FieldName[src]

impl Default for FieldName[src]

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

impl Display for FieldName[src]

impl Eq for FieldName[src]

impl Hash for FieldName[src]

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

impl Ord for FieldName[src]

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

impl PartialEq<FieldName> for FieldName[src]

impl PartialOrd<FieldName> for FieldName[src]

impl Serialize for FieldName[src]

impl StructuralEq for FieldName[src]

Auto Trait Implementations

impl !RefUnwindSafe for FieldName

impl !Send for FieldName

impl !Sync for FieldName

impl Unpin for FieldName

impl UnwindSafe for FieldName

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.