pub struct TreeViewValidator { /* private fields */ }Expand description
Validator for TreeView widgets
Implementations§
Source§impl TreeViewValidator
impl TreeViewValidator
pub fn new() -> Self
Sourcepub fn validate_tree_view(&mut self, node: &WidgetNode)
pub fn validate_tree_view(&mut self, node: &WidgetNode)
Validate a TreeView widget and all its child nodes
Sourcepub fn errors(&self) -> &[CheckError]
pub fn errors(&self) -> &[CheckError]
Get all validation errors
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Check if validation found any errors
Trait Implementations§
Source§impl Debug for TreeViewValidator
impl Debug for TreeViewValidator
Source§impl Default for TreeViewValidator
impl Default for TreeViewValidator
Source§fn default() -> TreeViewValidator
fn default() -> TreeViewValidator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TreeViewValidator
impl !RefUnwindSafe for TreeViewValidator
impl Send for TreeViewValidator
impl Sync for TreeViewValidator
impl Unpin for TreeViewValidator
impl !UnwindSafe for TreeViewValidator
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