Enum fltk::tree::TreeItemDrawMode
source · #[repr(i32)]pub enum TreeItemDrawMode {
Default = 0,
LabelAndWidget = 1,
HeightFromWidget = 2,
}
Expand description
Defines the TreeItem
’s draw mode
Variants§
Default = 0
Default draw mode
LabelAndWidget = 1
Draws label and widget
HeightFromWidget = 2
Draws the height from widget
Trait Implementations§
source§impl Clone for TreeItemDrawMode
impl Clone for TreeItemDrawMode
source§fn clone(&self) -> TreeItemDrawMode
fn clone(&self) -> TreeItemDrawMode
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 TreeItemDrawMode
impl Debug for TreeItemDrawMode
source§impl PartialEq for TreeItemDrawMode
impl PartialEq for TreeItemDrawMode
source§fn eq(&self, other: &TreeItemDrawMode) -> bool
fn eq(&self, other: &TreeItemDrawMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TreeItemDrawMode
impl Eq for TreeItemDrawMode
impl StructuralEq for TreeItemDrawMode
impl StructuralPartialEq for TreeItemDrawMode
Auto Trait Implementations§
impl RefUnwindSafe for TreeItemDrawMode
impl Send for TreeItemDrawMode
impl Sync for TreeItemDrawMode
impl Unpin for TreeItemDrawMode
impl UnwindSafe for TreeItemDrawMode
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