Struct flowclib::model::io::IO[][src]

pub struct IO { /* fields omitted */ }

Implementations

impl IO[src]

pub fn new<D: Into<DataType>, R: Into<Route>>(datatype: D, route: R) -> Self[src]

pub fn flow_io(&self) -> bool[src]

pub fn io_type(&self) -> &IOType[src]

pub fn set_flow_io(&mut self, io_type: IOType)[src]

pub fn datatype(&self) -> &DataType[src]

pub fn set_route(&mut self, route: &Route, io_type: &IOType)[src]

pub fn set_datatype(&mut self, datatype: &DataType)[src]

pub fn get_initializer(&self) -> &Option<InputInitializer>[src]

pub fn set_initializer(&mut self, initial_value: &Option<InputInitializer>)[src]

impl IO[src]

pub fn set_initial_values(
    ios: &mut IOSet,
    initializers: &Option<HashMap<String, InputInitializer>>
)
[src]

Trait Implementations

impl Clone for IO[src]

impl Debug for IO[src]

impl Default for IO[src]

impl<'de> Deserialize<'de> for IO[src]

impl Display for IO[src]

impl HasDataType for IO[src]

impl HasName for IO[src]

impl HasRoute for IO[src]

impl Serialize for IO[src]

impl Validate for IO[src]

Auto Trait Implementations

impl RefUnwindSafe for IO

impl Send for IO

impl Sync for IO

impl Unpin for IO

impl UnwindSafe for IO

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.