pub struct BlockInput {
pub shadow: ShadowInputType,
pub inputs: Vec<Option<UidOrValue>>,
}Expand description
A struct representing inputs into which other blocks may be dropped, including C mouths. idk if is this possible without vec
Fields§
§shadow: ShadowInputTypeSee ShadowInputType
inputs: Vec<Option<UidOrValue>>Inputs
Trait Implementations§
Source§impl Clone for BlockInput
impl Clone for BlockInput
Source§fn clone(&self) -> BlockInput
fn clone(&self) -> BlockInput
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 BlockInput
impl Debug for BlockInput
Source§impl Default for BlockInput
impl Default for BlockInput
Source§fn default() -> BlockInput
fn default() -> BlockInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockInput
impl<'de> Deserialize<'de> for BlockInput
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 BlockInput
impl PartialEq for BlockInput
Source§impl Serialize for BlockInput
impl Serialize for BlockInput
impl StructuralPartialEq for BlockInput
Auto Trait Implementations§
impl Freeze for BlockInput
impl RefUnwindSafe for BlockInput
impl Send for BlockInput
impl Sync for BlockInput
impl Unpin for BlockInput
impl UnwindSafe for BlockInput
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