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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more