#[non_exhaustive]
pub enum DefaultCallbackReturnValue {
Void,
Basic(BasicValue),
InitializedStruct(ZeroParameterStructInitializer),
}
Expand description
Like CallbackReturnValue, but with a value
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for DefaultCallbackReturnValue
impl Clone for DefaultCallbackReturnValue
source§fn clone(&self) -> DefaultCallbackReturnValue
fn clone(&self) -> DefaultCallbackReturnValue
Returns a copy 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 DefaultCallbackReturnValue
impl Debug for DefaultCallbackReturnValue
source§impl From<DurationValue> for DefaultCallbackReturnValue
impl From<DurationValue> for DefaultCallbackReturnValue
source§fn from(x: DurationValue) -> Self
fn from(x: DurationValue) -> Self
Converts to this type from the input type.
source§impl From<EnumValue> for DefaultCallbackReturnValue
impl From<EnumValue> for DefaultCallbackReturnValue
source§impl From<PrimitiveValue> for DefaultCallbackReturnValue
impl From<PrimitiveValue> for DefaultCallbackReturnValue
source§fn from(x: PrimitiveValue) -> Self
fn from(x: PrimitiveValue) -> Self
Converts to this type from the input type.
source§impl From<ZeroParameterStructInitializer> for DefaultCallbackReturnValue
impl From<ZeroParameterStructInitializer> for DefaultCallbackReturnValue
source§fn from(x: ZeroParameterStructInitializer) -> Self
fn from(x: ZeroParameterStructInitializer) -> Self
Converts to this type from the input type.