pub struct ContinueStatement {
pub attributes: Vec<Spanned<Attribute>>,
}Fields§
§attributes: Vec<Spanned<Attribute>>WESL extension
Trait Implementations§
Source§impl Clone for ContinueStatement
impl Clone for ContinueStatement
Source§fn clone(&self) -> ContinueStatement
fn clone(&self) -> ContinueStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinueStatement
impl Debug for ContinueStatement
Source§impl Display for ContinueStatement
impl Display for ContinueStatement
Source§impl From<ContinueStatement> for Statement
impl From<ContinueStatement> for Statement
Source§fn from(value: ContinueStatement) -> Statement
fn from(value: ContinueStatement) -> Statement
Converts to this type from the input type.
Source§impl PartialEq for ContinueStatement
impl PartialEq for ContinueStatement
Source§fn eq(&self, other: &ContinueStatement) -> bool
fn eq(&self, other: &ContinueStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SyntaxNode for ContinueStatement
impl SyntaxNode for ContinueStatement
Source§fn attributes(&self) -> &[Spanned<Attribute>]
fn attributes(&self) -> &[Spanned<Attribute>]
List all attributes of a syntax node.
Source§fn attributes_mut(&mut self) -> &mut [Spanned<Attribute>]
fn attributes_mut(&mut self) -> &mut [Spanned<Attribute>]
List all attributes of a syntax node.
Source§fn retain_attributes_mut<F>(&mut self, f: F)
fn retain_attributes_mut<F>(&mut self, f: F)
Remove attributes with predicate.
Source§fn contains_attribute(&self, attribute: &Attribute) -> bool
fn contains_attribute(&self, attribute: &Attribute) -> bool
Whether the node contains an attribute.
impl StructuralPartialEq for ContinueStatement
Auto Trait Implementations§
impl Freeze for ContinueStatement
impl RefUnwindSafe for ContinueStatement
impl Send for ContinueStatement
impl Sync for ContinueStatement
impl Unpin for ContinueStatement
impl UnsafeUnpin for ContinueStatement
impl UnwindSafe for ContinueStatement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more