pub enum BlockInputValue {
Number {
value: Value,
},
PositiveNumber {
value: Value,
},
PositiveInteger {
value: Value,
},
Integer {
value: Value,
},
Angle {
value: Value,
},
Color {
value: Value,
},
String {
value: Value,
},
Broadcast {
name: Name,
id: Uid,
},
Variable {
name: Name,
id: Uid,
},
List {
name: Name,
id: Uid,
},
}Expand description
Input of the BlockInput
Variants§
Number
Number input
PositiveNumber
Postive number input
PositiveInteger
Postive integer input
Integer
Integer input
Angle
Angle input
Color
Color input
String
String input
Broadcast
Broadcast input
Variable
Variable input
List
List input
Trait Implementations§
Source§impl Clone for BlockInputValue
impl Clone for BlockInputValue
Source§fn clone(&self) -> BlockInputValue
fn clone(&self) -> BlockInputValue
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 BlockInputValue
impl Debug for BlockInputValue
Source§impl<'de> Deserialize<'de> for BlockInputValue
impl<'de> Deserialize<'de> for BlockInputValue
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BlockInputValue
impl PartialEq for BlockInputValue
Source§impl Serialize for BlockInputValue
impl Serialize for BlockInputValue
impl StructuralPartialEq for BlockInputValue
Auto Trait Implementations§
impl Freeze for BlockInputValue
impl RefUnwindSafe for BlockInputValue
impl Send for BlockInputValue
impl Sync for BlockInputValue
impl Unpin for BlockInputValue
impl UnwindSafe for BlockInputValue
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