#[repr(C)]pub struct TreeViewVTable {
pub base: <ItemsControl as ObjectType>::VTable,
pub should_trigger_selection: fn(&TreeView, &Visual, &PointerEventArgs) -> bool,
pub should_trigger_selection_key: fn(&TreeView, &Visual, &KeyEventArgs) -> bool,
pub update_selection_from_event: fn(&TreeView, &Ref<Control>, &dyn IRoutedEventArgs) -> bool,
}Expand description
The virtual table of the class.
Fields§
§base: <ItemsControl as ObjectType>::VTable§should_trigger_selection: fn(&TreeView, &Visual, &PointerEventArgs) -> bool§should_trigger_selection_key: fn(&TreeView, &Visual, &KeyEventArgs) -> bool§update_selection_from_event: fn(&TreeView, &Ref<Control>, &dyn IRoutedEventArgs) -> boolTrait Implementations§
Source§impl Clone for TreeViewVTable
impl Clone for TreeViewVTable
impl Copy for TreeViewVTable
Auto Trait Implementations§
impl Freeze for TreeViewVTable
impl RefUnwindSafe for TreeViewVTable
impl Send for TreeViewVTable
impl Sync for TreeViewVTable
impl Unpin for TreeViewVTable
impl UnsafeUnpin for TreeViewVTable
impl UnwindSafe for TreeViewVTable
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