Enum fltk::tree::TreeReason
source · #[repr(i32)]pub enum TreeReason {
None = 0,
Selected = 1,
Deselected = 2,
Reselected = 3,
Opened = 4,
Closed = 5,
Dragged = 6,
}
Expand description
Defines the Tree’s callback reason
Variants§
None = 0
No callback trigger
Selected = 1
Trigger callback when selected
Deselected = 2
Trigger callback when deselected
Reselected = 3
Trigger callback when reselected
Opened = 4
Trigger callback when opened
Closed = 5
Trigger callback when closed
Dragged = 6
Trigger callback when dragged
Trait Implementations§
source§impl Clone for TreeReason
impl Clone for TreeReason
source§fn clone(&self) -> TreeReason
fn clone(&self) -> TreeReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TreeReason
impl Debug for TreeReason
source§impl PartialEq for TreeReason
impl PartialEq for TreeReason
source§fn eq(&self, other: &TreeReason) -> bool
fn eq(&self, other: &TreeReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TreeReason
impl Eq for TreeReason
impl StructuralEq for TreeReason
impl StructuralPartialEq for TreeReason
Auto Trait Implementations§
impl RefUnwindSafe for TreeReason
impl Send for TreeReason
impl Sync for TreeReason
impl Unpin for TreeReason
impl UnwindSafe for TreeReason
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