pub struct FunctionBlock {
pub span: Option<Span>,
pub stages: Vec<Stage>,
pub return_stmt: ReturnStatement,
}Fields§
§span: Option<Span>§stages: Vec<Stage>§return_stmt: ReturnStatementImplementations§
Source§impl FunctionBlock
impl FunctionBlock
Trait Implementations§
Source§impl Clone for FunctionBlock
impl Clone for FunctionBlock
Source§fn clone(&self) -> FunctionBlock
fn clone(&self) -> FunctionBlock
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 FunctionBlock
impl Debug for FunctionBlock
Source§impl Display for FunctionBlock
impl Display for FunctionBlock
impl Eq for FunctionBlock
Source§impl PartialEq for FunctionBlock
impl PartialEq for FunctionBlock
Source§fn eq(&self, other: &FunctionBlock) -> bool
fn eq(&self, other: &FunctionBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionBlock
Auto Trait Implementations§
impl Freeze for FunctionBlock
impl RefUnwindSafe for FunctionBlock
impl Send for FunctionBlock
impl Sync for FunctionBlock
impl Unpin for FunctionBlock
impl UnsafeUnpin for FunctionBlock
impl UnwindSafe for FunctionBlock
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