Enum glsl_lang::ast::JumpStatement[][src]

pub enum JumpStatement {
    Continue,
    Break,
    Return(Option<Box<Expr>>),
    Discard,
}

Jump statement.

Variants

Continue

continue jump statement

Break

break jump statement

Return(Option<Box<Expr>>)

return jump statement

Discard

discard jump statement

Trait Implementations

impl Clone for JumpStatement[src]

impl Debug for JumpStatement[src]

impl Host for JumpStatement[src]

impl HostMut for JumpStatement[src]

impl NodeContent for JumpStatement[src]

impl NodeContentDisplay for JumpStatement[src]

impl NodeContentEq for JumpStatement[src]

impl Parsable for JumpStatement[src]

impl PartialEq<JumpStatement> for JumpStatement[src]

impl StructuralPartialEq for JumpStatement[src]

Auto Trait Implementations

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> IntoResult<T> for T[src]

type Err = Infallible

impl<T> NodeDisplay for T where
    T: NodeContentDisplay
[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.