pub enum Converted {
Bool(bool),
Int32(i32),
Double(f64),
String(String),
Null,
}Expand description
A value a ValueConverter produces. The trampoline re-boxes it into the
Noesis::BaseComponent* the binding engine expects.
Variants§
Bool(bool)
Int32(i32)
Double(f64)
String(String)
A string, the most common converted target (e.g. a TextBlock’s Text,
or a value coerced to an enum like Visibility via Noesis’s
string→enum type converter). Must not contain an interior NUL byte;
boxing one panics (caught by the trampoline as a clean conversion
failure).
Null
An explicit null value (distinct from returning None, which signals
UnsetValue / fallback).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Converted
impl RefUnwindSafe for Converted
impl Send for Converted
impl Sync for Converted
impl Unpin for Converted
impl UnsafeUnpin for Converted
impl UnwindSafe for Converted
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