Enum oo_bindgen::model::FunctionalTransform
source · #[non_exhaustive]
pub enum FunctionalTransform {
Yes,
No,
}Expand description
A flag to the backend that tells it whether or not to optimize callbacks into Functors in the public API This flag is only inspected for functional interfaces
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.
Yes
If the interface is functional, it should be optimized into functors if the language supports them
No
If the interface is functional, it will NOT be transformed
Implementations§
Trait Implementations§
source§impl Clone for FunctionalTransform
impl Clone for FunctionalTransform
source§fn clone(&self) -> FunctionalTransform
fn clone(&self) -> FunctionalTransform
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 FunctionalTransform
impl Debug for FunctionalTransform
source§impl PartialEq<FunctionalTransform> for FunctionalTransform
impl PartialEq<FunctionalTransform> for FunctionalTransform
source§fn eq(&self, other: &FunctionalTransform) -> bool
fn eq(&self, other: &FunctionalTransform) -> bool
This method tests for
self and other values to be equal, and is used
by ==.