pub enum BlockConfig {
Core(CoreBlockConfig),
Flow(FlowBlockConfig),
Hash(HashBlockConfig),
Io(IoBlockConfig),
Math(MathBlockConfig),
Sys(SysBlockConfig),
Text(TextBlockConfig),
}Variants§
Core(CoreBlockConfig)
Flow(FlowBlockConfig)
Hash(HashBlockConfig)
Io(IoBlockConfig)
Math(MathBlockConfig)
Sys(SysBlockConfig)
Text(TextBlockConfig)
Trait Implementations§
Source§impl BlockConnections for BlockConfig
impl BlockConnections for BlockConfig
fn output_connections(&self) -> Vec<(&'static str, Option<OutputPortName>)>
fn input_connections(&self) -> Vec<(&'static str, Option<InputPortName>)>
Source§impl BlockInstantiation for BlockConfig
impl BlockInstantiation for BlockConfig
Source§impl Clone for BlockConfig
impl Clone for BlockConfig
Source§fn clone(&self) -> BlockConfig
fn clone(&self) -> BlockConfig
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 BlockConfig
impl Debug for BlockConfig
Source§impl<'de> Deserialize<'de> for BlockConfig
impl<'de> Deserialize<'de> for BlockConfig
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Named for BlockConfig
impl Named for BlockConfig
Auto Trait Implementations§
impl Freeze for BlockConfig
impl RefUnwindSafe for BlockConfig
impl Send for BlockConfig
impl Sync for BlockConfig
impl Unpin for BlockConfig
impl UnwindSafe for BlockConfig
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