Struct flow_expression_parser::ast::FlowProgram
source · pub struct FlowProgram { /* private fields */ }
Expand description
A flow program.
Implementations§
source§impl FlowProgram
impl FlowProgram
sourcepub fn new(expressions: Vec<FlowExpression>) -> Self
pub fn new(expressions: Vec<FlowExpression>) -> Self
Create a new FlowProgram from a list of FlowExpressions.
sourcepub fn into_parts(self) -> Vec<FlowExpression>
pub fn into_parts(self) -> Vec<FlowExpression>
Get the owned parts of the flow program.
Trait Implementations§
source§impl Clone for FlowProgram
impl Clone for FlowProgram
source§fn clone(&self) -> FlowProgram
fn clone(&self) -> FlowProgram
Returns a copy of the value. Read more
1.0.0 · 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 FlowProgram
impl Debug for FlowProgram
source§impl PartialEq<FlowProgram> for FlowProgram
impl PartialEq<FlowProgram> for FlowProgram
source§fn eq(&self, other: &FlowProgram) -> bool
fn eq(&self, other: &FlowProgram) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FlowProgram
impl Serialize for FlowProgram
impl StructuralPartialEq for FlowProgram
Auto Trait Implementations§
impl RefUnwindSafe for FlowProgram
impl Send for FlowProgram
impl Sync for FlowProgram
impl Unpin for FlowProgram
impl UnwindSafe for FlowProgram
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