#[non_exhaustive]pub enum OutKind {
Text,
Int,
Bool,
}Expand description
The kind of value an engine member writes back through a by-reference argument.
Some members report their result in the return value and their explanation in out-parameters: an expression check answers pass or fail, then says what was wrong and where. Reading only the return value throws that away.
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.
Text
A string the engine allocates, VT_BYREF | VT_BSTR.
Int
A 32-bit integer, VT_BYREF | VT_I4.
Bool
A boolean, VT_BYREF | VT_BOOL.
Trait Implementations§
impl Copy for OutKind
impl Eq for OutKind
impl StructuralPartialEq for OutKind
Auto Trait Implementations§
impl Freeze for OutKind
impl RefUnwindSafe for OutKind
impl Send for OutKind
impl Sync for OutKind
impl Unpin for OutKind
impl UnsafeUnpin for OutKind
impl UnwindSafe for OutKind
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