[][src]Struct wast::NameAnnotation

pub struct NameAnnotation<'a> {
    pub name: &'a str,
}

An @name annotation in source, currently of the form @name "foo"

Fields

name: &'a str

The name specified for the item

Trait Implementations

impl<'a> Clone for NameAnnotation<'a>[src]

impl<'a> Copy for NameAnnotation<'a>[src]

impl<'a> Debug for NameAnnotation<'a>[src]

impl<'a> Parse<'a> for NameAnnotation<'a>[src]

impl<'a> PartialEq<NameAnnotation<'a>> for NameAnnotation<'a>[src]

impl<'a> StructuralPartialEq for NameAnnotation<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for NameAnnotation<'a>

impl<'a> Send for NameAnnotation<'a>

impl<'a> Sync for NameAnnotation<'a>

impl<'a> Unpin for NameAnnotation<'a>

impl<'a> UnwindSafe for NameAnnotation<'a>

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> 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, 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.