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§
Source§impl IntersticeValue
impl IntersticeValue
pub fn from_row(row: &Row) -> IntersticeValue
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<IntersticeValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntersticeValue, <__D as Deserializer<'de>>::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§fn from(value: (A, B)) -> IntersticeValue
fn from(value: (A, B)) -> IntersticeValue
Converts to this type from the input type.
Source§impl<A, B, C> From<(A, B, C)> for IntersticeValue
impl<A, B, C> From<(A, B, C)> for IntersticeValue
Source§fn from(value: (A, B, C)) -> IntersticeValue
fn from(value: (A, B, C)) -> IntersticeValue
Converts to this type from the input type.
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)) -> IntersticeValue
fn from(value: (A, B, C, D)) -> IntersticeValue
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)) -> IntersticeValue
fn from(value: (A, B, C, D, E)) -> IntersticeValue
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)) -> IntersticeValue
fn from(value: (A, B, C, D, E, F)) -> IntersticeValue
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)) -> IntersticeValue
fn from(value: (A, B, C, D, E, F, G)) -> IntersticeValue
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)) -> IntersticeValue
fn from(value: (A, B, C, D, E, F, G, H)) -> IntersticeValue
Converts to this type from the input type.
Source§impl From<IndexKey> for IntersticeValue
impl From<IndexKey> for IntersticeValue
Source§fn from(value: IndexKey) -> IntersticeValue
fn from(value: IndexKey) -> IntersticeValue
Converts to this type from the 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 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<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<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§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&IntersticeValue> for IndexKey
impl TryFrom<&IntersticeValue> for IndexKey
Source§impl TryFrom<IntersticeValue> for ElementState
impl TryFrom<IntersticeValue> for ElementState
Source§fn try_from(
value: IntersticeValue,
) -> Result<ElementState, <ElementState as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<ElementState, <ElementState as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
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§fn try_from(
value: IntersticeValue,
) -> Result<InputEvent, <InputEvent as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<InputEvent, <InputEvent as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
Source§impl TryFrom<IntersticeValue> for KeyCode
impl TryFrom<IntersticeValue> for KeyCode
Source§impl TryFrom<IntersticeValue> for ModuleEvent
impl TryFrom<IntersticeValue> for ModuleEvent
Source§fn try_from(
value: IntersticeValue,
) -> Result<ModuleEvent, <ModuleEvent as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<ModuleEvent, <ModuleEvent as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
Source§impl TryFrom<IntersticeValue> for PhysicalKey
impl TryFrom<IntersticeValue> for PhysicalKey
Source§fn try_from(
value: IntersticeValue,
) -> Result<PhysicalKey, <PhysicalKey as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<PhysicalKey, <PhysicalKey as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
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§fn try_from(
value: IntersticeValue,
) -> Result<Vec<T>, <Vec<T> as TryFrom<IntersticeValue>>::Error>
fn try_from( value: IntersticeValue, ) -> Result<Vec<T>, <Vec<T> as TryFrom<IntersticeValue>>::Error>
Performs the conversion.
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 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