pub struct Input {
pub kind: String,
pub title: String,
pub group: String,
pub default: InputValue,
pub value: InputValue,
}Expand description
A declared script input (input.int(...), input.source(...), …).
Recorded into the output so a host can enumerate a script’s configurable settings without executing anything itself.
Fields§
§kind: StringWhich input.* function declared it: "int", "float", "bool",
"string", "source", "color", "session", "time".
title: StringDisplay title (title argument), empty when none was given.
group: StringGroup the input belongs to (group argument), empty when none.
default: InputValueThe defval the script declared.
value: InputValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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