pub enum NodeContents {
Node {
identifier: Option<String>,
description: Option<String>,
is_root: Option<bool>,
is_online: Option<bool>,
schema_identifiers: Option<String>,
},
Parameter {Show 16 fields
identifier: Option<String>,
description: Option<String>,
value: Option<EmberValue>,
minimum: Option<EmberValue>,
maximum: Option<EmberValue>,
access: Option<ParameterAccess>,
format: Option<String>,
enumeration: Option<String>,
factor: Option<i32>,
is_online: Option<bool>,
formula: Option<String>,
step: Option<i32>,
default: Option<EmberValue>,
parameter_type: Option<ParameterType>,
stream_identifier: Option<i32>,
enum_map: Vec<StringIntegerPair>,
},
Function {
identifier: Option<String>,
description: Option<String>,
arguments: Vec<TupleItemDescription>,
result: Vec<TupleItemDescription>,
},
Matrix {
identifier: Option<String>,
description: Option<String>,
matrix_type: Option<MatrixType>,
addressing_mode: Option<MatrixAddressingMode>,
target_count: Option<i32>,
source_count: Option<i32>,
max_connections_per_target: Option<i32>,
max_total_connections: Option<i32>,
targets: Vec<i32>,
sources: Vec<i32>,
connections: Vec<GlowConnection>,
labels: Vec<Label>,
},
}Expand description
Contents of a tree node.
Variants§
Node
A container node
Fields
Parameter
A parameter
Fields
§
value: Option<EmberValue>§
minimum: Option<EmberValue>§
maximum: Option<EmberValue>§
access: Option<ParameterAccess>§
default: Option<EmberValue>§
parameter_type: Option<ParameterType>§
enum_map: Vec<StringIntegerPair>Function
A function
Matrix
A matrix
Fields
§
matrix_type: Option<MatrixType>§
addressing_mode: Option<MatrixAddressingMode>§
connections: Vec<GlowConnection>Trait Implementations§
Source§impl Clone for NodeContents
impl Clone for NodeContents
Source§fn clone(&self) -> NodeContents
fn clone(&self) -> NodeContents
Returns a duplicate 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 NodeContents
impl Debug for NodeContents
Auto Trait Implementations§
impl Freeze for NodeContents
impl RefUnwindSafe for NodeContents
impl Send for NodeContents
impl Sync for NodeContents
impl Unpin for NodeContents
impl UnsafeUnpin for NodeContents
impl UnwindSafe for NodeContents
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