Struct d3ne::node::Node[][src]

pub struct Node {
    pub id: i64,
    pub name: String,
    pub data: Value,
    pub group: Option<i64>,
    pub position: Vec<f32>,
    pub inputs: Inputs,
    pub outputs: Outputs,
}

Fields

id: i64name: Stringdata: Valuegroup: Option<i64>position: Vec<f32>inputs: Inputsoutputs: Outputs

Implementations

impl Node[src]

pub fn get_number_field(&self, field: &str, inputs: &InputData) -> Option<i64>[src]

pub fn get_float_number_field(
    &self,
    field: &str,
    inputs: &InputData
) -> Option<f64>
[src]

pub fn get_string_field(
    &self,
    field: &str,
    inputs: &InputData
) -> Option<String>
[src]

pub fn get_json_field(&self, field: &str, inputs: &InputData) -> Option<Value>[src]

pub fn get_as_json_field(
    &self,
    field: &str,
    inputs: &InputData
) -> Option<Value>
[src]

Trait Implementations

impl Clone for Node[src]

impl Debug for Node[src]

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

impl Serialize for Node[src]

Auto Trait Implementations

impl RefUnwindSafe for Node

impl Send for Node

impl Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

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, 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.