pub struct ComponentInput {
pub input_id: u16,
pub ty: ValueType,
pub name: &'static str,
pub description: &'static str,
}Expand description
Describes one of a component’s inputs.
Fields§
§input_id: u16The input’s ID.
ty: ValueTypeThe input’s type, such as Text or Color.
name: &'static strThe name for this input.
description: &'static strThe input’s description.
Auto Trait Implementations§
impl Freeze for ComponentInput
impl RefUnwindSafe for ComponentInput
impl Send for ComponentInput
impl Sync for ComponentInput
impl Unpin for ComponentInput
impl UnsafeUnpin for ComponentInput
impl UnwindSafe for ComponentInput
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