Struct full_moon::ast::lua52::Goto[][src]

pub struct Goto<'a> { /* fields omitted */ }

A goto statement, such as goto label.

Implementations

impl<'a> Goto<'a>[src]

pub fn new(label_name: TokenReference<'a>) -> Self[src]

Creates a new Goto with the given label name

pub fn goto_token(&self) -> &TokenReference<'a>[src]

The goto symbol in goto label

pub fn label_name(&self) -> &TokenReference<'a>[src]

The name corresponding to the label, the label part of goto label

pub fn with_goto_token(self, goto_token: TokenReference<'a>) -> Self[src]

Returns a new Goto with the given goto symbol

pub fn with_label_name(self, label_name: TokenReference<'a>) -> Self[src]

Returns a new Goto with the given label name

Trait Implementations

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

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

impl<'de: 'a, 'a> Deserialize<'de> for Goto<'a>[src]

impl<'a> Display for Goto<'a>[src]

impl<'a> Node<'a> for Goto<'a>[src]

impl<'a> Owned for Goto<'a>[src]

type Owned = Goto<'static>

What an owned version of the object looks like. Usually contains a 'static lifetime.

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

impl<'a> Serialize for Goto<'a>[src]

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Goto<'a>

impl<'a> Send for Goto<'a>

impl<'a> Sync for Goto<'a>

impl<'a> Unpin for Goto<'a>

impl<'a> UnwindSafe for Goto<'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> Conv for T

impl<T> Conv for T

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

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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> TryConv for T

impl<T> TryConv for T

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.