Enum oo_bindgen::model::CallbackReturnValue
source · #[non_exhaustive]
pub enum CallbackReturnValue {
Basic(BasicType),
Struct(UniversalStructHandle),
}Expand description
types that can be returned from callback functions
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.
Basic(BasicType)
Struct(UniversalStructHandle)
Trait Implementations§
source§impl Clone for CallbackReturnValue
impl Clone for CallbackReturnValue
source§fn clone(&self) -> CallbackReturnValue
fn clone(&self) -> CallbackReturnValue
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 CallbackReturnValue
impl Debug for CallbackReturnValue
source§impl From<BasicType> for CallbackReturnValue
impl From<BasicType> for CallbackReturnValue
source§impl From<DurationType> for CallbackReturnValue
impl From<DurationType> for CallbackReturnValue
source§fn from(x: DurationType) -> Self
fn from(x: DurationType) -> Self
Converts to this type from the input type.
source§impl From<Handle<Enum<Unvalidated>>> for CallbackReturnValue
impl From<Handle<Enum<Unvalidated>>> for CallbackReturnValue
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackReturnValue
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackReturnValue
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Primitive> for CallbackReturnValue
impl From<Primitive> for CallbackReturnValue
source§impl PartialEq<CallbackReturnValue> for CallbackReturnValue
impl PartialEq<CallbackReturnValue> for CallbackReturnValue
source§fn eq(&self, other: &CallbackReturnValue) -> bool
fn eq(&self, other: &CallbackReturnValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.