#[repr(u8)]pub enum ShadowInputType {
Shadow = 1,
NoShadow = 2,
ShadowObscured = 3,
}Expand description
Shadow enum for BlockInput
Shadow is area inside block input/arg/param or whatever you wanted to call it. It’s consisting of:
- raw input field where you just type stuff in and optionally can put a reporter in
- menu that you can choose but cannot put a reporter in
- menu that you can chose and optionally can put a reporter in
- or others I might not catch while developing this
This documentation might not be completed or is completed, idk. Scratch wiki didn’t tell anything about this.
Variants§
Shadow = 1
There is a shadow
NoShadow = 2
There is no shadow
ShadowObscured = 3
There is a shadow but obscured by the input. The shadow is obscured when reporter is inserted.
Trait Implementations§
Source§impl Clone for ShadowInputType
impl Clone for ShadowInputType
Source§fn clone(&self) -> ShadowInputType
fn clone(&self) -> ShadowInputType
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 ShadowInputType
impl Debug for ShadowInputType
Source§impl Default for ShadowInputType
impl Default for ShadowInputType
Source§fn default() -> ShadowInputType
fn default() -> ShadowInputType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShadowInputType
impl<'de> Deserialize<'de> for ShadowInputType
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 ShadowInputType
impl PartialEq for ShadowInputType
Source§impl Serialize for ShadowInputType
impl Serialize for ShadowInputType
impl Eq for ShadowInputType
impl StructuralPartialEq for ShadowInputType
Auto Trait Implementations§
impl Freeze for ShadowInputType
impl RefUnwindSafe for ShadowInputType
impl Send for ShadowInputType
impl Sync for ShadowInputType
impl Unpin for ShadowInputType
impl UnwindSafe for ShadowInputType
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