pub enum IntersticeValue {
Show 15 variants
Void,
U8(u8),
U32(u32),
U64(u64),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Bool(bool),
String(String),
Vec(Vec<IntersticeValue>),
Option(Option<Box<IntersticeValue>>),
Tuple(Vec<IntersticeValue>),
Struct {
name: String,
fields: Vec<Field>,
},
Enum {
name: String,
variant: String,
value: Box<IntersticeValue>,
},
}Variants§
Void
U8(u8)
U32(u32)
U64(u64)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Bool(bool)
String(String)
Vec(Vec<IntersticeValue>)
Option(Option<Box<IntersticeValue>>)
Tuple(Vec<IntersticeValue>)
Struct
Enum
Implementations§
Trait Implementations§
Source§impl Clone for IntersticeValue
impl Clone for IntersticeValue
Source§fn clone(&self) -> IntersticeValue
fn clone(&self) -> IntersticeValue
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 IntersticeValue
impl Debug for IntersticeValue
Source§impl<'de> Deserialize<'de> for IntersticeValue
impl<'de> Deserialize<'de> for IntersticeValue
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 Display for IntersticeValue
impl Display for IntersticeValue
Source§impl<A, B> From<(A, B)> for IntersticeValue
impl<A, B> From<(A, B)> for IntersticeValue
Source§impl<A, B, C> From<(A, B, C)> for IntersticeValue
impl<A, B, C> From<(A, B, C)> for IntersticeValue
Source§impl<A, B, C, D> From<(A, B, C, D)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
impl<A, B, C, D> From<(A, B, C, D)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
Source§fn from(value: (A, B, C, D)) -> Self
fn from(value: (A, B, C, D)) -> Self
Converts to this type from the input type.
Source§impl<A, B, C, D, E> From<(A, B, C, D, E)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
impl<A, B, C, D, E> From<(A, B, C, D, E)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
Source§fn from(value: (A, B, C, D, E)) -> Self
fn from(value: (A, B, C, D, E)) -> Self
Converts to this type from the input type.
Source§impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
Source§fn from(value: (A, B, C, D, E, F)) -> Self
fn from(value: (A, B, C, D, E, F)) -> Self
Converts to this type from the input type.
Source§impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
G: Into<IntersticeValue>,
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
G: Into<IntersticeValue>,
Source§fn from(value: (A, B, C, D, E, F, G)) -> Self
fn from(value: (A, B, C, D, E, F, G)) -> Self
Converts to this type from the input type.
Source§impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
G: Into<IntersticeValue>,
H: Into<IntersticeValue>,
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for IntersticeValuewhere
A: Into<IntersticeValue>,
B: Into<IntersticeValue>,
C: Into<IntersticeValue>,
D: Into<IntersticeValue>,
E: Into<IntersticeValue>,
F: Into<IntersticeValue>,
G: Into<IntersticeValue>,
H: Into<IntersticeValue>,
Source§fn from(value: (A, B, C, D, E, F, G, H)) -> Self
fn from(value: (A, B, C, D, E, F, G, H)) -> Self
Converts to this type from the input type.
Source§impl From<IndexKey> for IntersticeValue
impl From<IndexKey> for IntersticeValue
Source§impl Into<IntersticeValue> for ()
impl Into<IntersticeValue> for ()
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for ElementState
impl Into<IntersticeValue> for ElementState
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for FileEvent
impl Into<IntersticeValue> for FileEvent
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for InputEvent
impl Into<IntersticeValue> for InputEvent
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for KeyCode
impl Into<IntersticeValue> for KeyCode
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for ModuleEvent
impl Into<IntersticeValue> for ModuleEvent
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl<T> Into<IntersticeValue> for Option<T>where
T: Into<IntersticeValue>,
impl<T> Into<IntersticeValue> for Option<T>where
T: Into<IntersticeValue>,
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for PhysicalKey
impl Into<IntersticeValue> for PhysicalKey
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for Row
impl Into<IntersticeValue> for Row
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for String
impl Into<IntersticeValue> for String
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl<T> Into<IntersticeValue> for Vec<T>where
T: Into<IntersticeValue>,
impl<T> Into<IntersticeValue> for Vec<T>where
T: Into<IntersticeValue>,
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for bool
impl Into<IntersticeValue> for bool
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for f32
impl Into<IntersticeValue> for f32
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for f64
impl Into<IntersticeValue> for f64
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for i32
impl Into<IntersticeValue> for i32
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for i64
impl Into<IntersticeValue> for i64
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for u32
impl Into<IntersticeValue> for u32
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for u64
impl Into<IntersticeValue> for u64
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<IntersticeValue> for u8
impl Into<IntersticeValue> for u8
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl Into<Row> for IntersticeValue
impl Into<Row> for IntersticeValue
Source§impl PartialEq for IntersticeValue
impl PartialEq for IntersticeValue
Source§impl Serialize for IntersticeValue
impl Serialize for IntersticeValue
Source§impl TryFrom<&IntersticeValue> for IndexKey
impl TryFrom<&IntersticeValue> for IndexKey
Source§impl<A, B> TryFrom<IntersticeValue> for (A, B)
impl<A, B> TryFrom<IntersticeValue> for (A, B)
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C> TryFrom<IntersticeValue> for (A, B, C)
impl<A, B, C> TryFrom<IntersticeValue> for (A, B, C)
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C, D> TryFrom<IntersticeValue> for (A, B, C, D)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
impl<A, B, C, D> TryFrom<IntersticeValue> for (A, B, C, D)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C, D, E> TryFrom<IntersticeValue> for (A, B, C, D, E)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
impl<A, B, C, D, E> TryFrom<IntersticeValue> for (A, B, C, D, E)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C, D, E, F> TryFrom<IntersticeValue> for (A, B, C, D, E, F)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
impl<A, B, C, D, E, F> TryFrom<IntersticeValue> for (A, B, C, D, E, F)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C, D, E, F, G> TryFrom<IntersticeValue> for (A, B, C, D, E, F, G)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
G: TryFrom<IntersticeValue>,
impl<A, B, C, D, E, F, G> TryFrom<IntersticeValue> for (A, B, C, D, E, F, G)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
G: TryFrom<IntersticeValue>,
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<A, B, C, D, E, F, G, H> TryFrom<IntersticeValue> for (A, B, C, D, E, F, G, H)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
G: TryFrom<IntersticeValue>,
H: TryFrom<IntersticeValue>,
impl<A, B, C, D, E, F, G, H> TryFrom<IntersticeValue> for (A, B, C, D, E, F, G, H)where
A: TryFrom<IntersticeValue>,
B: TryFrom<IntersticeValue>,
C: TryFrom<IntersticeValue>,
D: TryFrom<IntersticeValue>,
E: TryFrom<IntersticeValue>,
F: TryFrom<IntersticeValue>,
G: TryFrom<IntersticeValue>,
H: TryFrom<IntersticeValue>,
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for ElementState
impl TryFrom<IntersticeValue> for ElementState
Source§impl TryFrom<IntersticeValue> for FileEvent
impl TryFrom<IntersticeValue> for FileEvent
Source§impl TryFrom<IntersticeValue> for IndexKey
impl TryFrom<IntersticeValue> for IndexKey
Source§impl TryFrom<IntersticeValue> for InputEvent
impl TryFrom<IntersticeValue> for InputEvent
Source§impl TryFrom<IntersticeValue> for KeyCode
impl TryFrom<IntersticeValue> for KeyCode
Source§impl TryFrom<IntersticeValue> for ModuleEvent
impl TryFrom<IntersticeValue> for ModuleEvent
Source§impl<T> TryFrom<IntersticeValue> for Option<T>
impl<T> TryFrom<IntersticeValue> for Option<T>
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for PhysicalKey
impl TryFrom<IntersticeValue> for PhysicalKey
Source§impl TryFrom<IntersticeValue> for String
impl TryFrom<IntersticeValue> for String
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl<T> TryFrom<IntersticeValue> for Vec<T>
impl<T> TryFrom<IntersticeValue> for Vec<T>
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for bool
impl TryFrom<IntersticeValue> for bool
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for f32
impl TryFrom<IntersticeValue> for f32
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for f64
impl TryFrom<IntersticeValue> for f64
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for i32
impl TryFrom<IntersticeValue> for i32
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for i64
impl TryFrom<IntersticeValue> for i64
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for u32
impl TryFrom<IntersticeValue> for u32
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for u64
impl TryFrom<IntersticeValue> for u64
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryFrom<IntersticeValue> for u8
impl TryFrom<IntersticeValue> for u8
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Source§impl TryInto<()> for IntersticeValue
impl TryInto<()> for IntersticeValue
impl StructuralPartialEq for IntersticeValue
Auto Trait Implementations§
impl Freeze for IntersticeValue
impl RefUnwindSafe for IntersticeValue
impl Send for IntersticeValue
impl Sync for IntersticeValue
impl Unpin for IntersticeValue
impl UnsafeUnpin for IntersticeValue
impl UnwindSafe for IntersticeValue
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