#[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 for FunctionalTransform
impl PartialEq for FunctionalTransform
impl Copy for FunctionalTransform
impl Eq for FunctionalTransform
impl StructuralPartialEq for FunctionalTransform
Auto Trait Implementations§
impl Freeze for FunctionalTransform
impl RefUnwindSafe for FunctionalTransform
impl Send for FunctionalTransform
impl Sync for FunctionalTransform
impl Unpin for FunctionalTransform
impl UnwindSafe for FunctionalTransform
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