pub enum InputParamKind {
ConnectionOnly,
ConstantOnly,
ConnectionOrConstant,
}
Expand description
The three kinds of input params. These describe how the graph must behave with respect to inline widgets and connections for this parameter.
Variants§
ConnectionOnly
No constant value can be set. Only incoming connections can produce it
ConstantOnly
Only a constant value can be set. No incoming connections accepted.
ConnectionOrConstant
Both incoming connections and constants are accepted. Connections take precedence over the constant values.
Trait Implementations§
Source§impl Clone for InputParamKind
impl Clone for InputParamKind
Source§fn clone(&self) -> InputParamKind
fn clone(&self) -> InputParamKind
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 InputParamKind
impl Debug for InputParamKind
impl Copy for InputParamKind
Auto Trait Implementations§
impl Freeze for InputParamKind
impl RefUnwindSafe for InputParamKind
impl Send for InputParamKind
impl Sync for InputParamKind
impl Unpin for InputParamKind
impl UnwindSafe for InputParamKind
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