pub struct StringConverters;Expand description
Provides a set of useful IValueConverters for working with string
values.
Implementations§
Source§impl StringConverters
impl StringConverters
Sourcepub fn is_null_or_empty() -> Rc<dyn IValueConverter>
pub fn is_null_or_empty() -> Rc<dyn IValueConverter>
A value converter that returns true if the input string is null or an empty string.
Sourcepub fn is_not_null_or_empty() -> Rc<dyn IValueConverter>
pub fn is_not_null_or_empty() -> Rc<dyn IValueConverter>
A value converter that returns true if the input string is not null or empty.
Trait Implementations§
Source§impl MarkupTyped for StringConverters
impl MarkupTyped for StringConverters
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl Freeze for StringConverters
impl RefUnwindSafe for StringConverters
impl Send for StringConverters
impl Sync for StringConverters
impl Unpin for StringConverters
impl UnsafeUnpin for StringConverters
impl UnwindSafe for StringConverters
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more