#[repr(C)]pub struct tm_ui_tree_item_res_t {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
pub _padding_109: [c_char; 2],
pub item_rect: tm_rect_t,
pub _padding_113: [c_char; 4],
pub item_id: u64,
}Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>§_padding_109: [c_char; 2]§item_rect: tm_rect_t§_padding_113: [c_char; 4]§item_id: u64Implementations§
Source§impl tm_ui_tree_item_res_t
impl tm_ui_tree_item_res_t
pub fn expanded(&self) -> bool
pub fn set_expanded(&mut self, val: bool)
pub fn expanded_changed(&self) -> bool
pub fn set_expanded_changed(&mut self, val: bool)
pub fn selected(&self) -> bool
pub fn set_selected(&mut self, val: bool)
pub fn selected_changed(&self) -> bool
pub fn set_selected_changed(&mut self, val: bool)
pub fn clicked(&self) -> bool
pub fn set_clicked(&mut self, val: bool)
pub fn double_clicked(&self) -> bool
pub fn set_double_clicked(&mut self, val: bool)
pub fn visible(&self) -> bool
pub fn set_visible(&mut self, val: bool)
pub fn deselect_others(&self) -> bool
pub fn set_deselect_others(&mut self, val: bool)
pub fn select_range(&self) -> bool
pub fn set_select_range(&mut self, val: bool)
pub fn hovered(&self) -> bool
pub fn set_hovered(&mut self, val: bool)
pub fn padding(&self) -> u8
pub fn set_padding(&mut self, val: u8)
pub fn new_bitfield_1( expanded: bool, expanded_changed: bool, selected: bool, selected_changed: bool, clicked: bool, double_clicked: bool, visible: bool, deselect_others: bool, select_range: bool, hovered: bool, padding: u8, ) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations§
Source§impl Clone for tm_ui_tree_item_res_t
impl Clone for tm_ui_tree_item_res_t
Source§fn clone(&self) -> tm_ui_tree_item_res_t
fn clone(&self) -> tm_ui_tree_item_res_t
Returns a duplicate 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 moreimpl Copy for tm_ui_tree_item_res_t
Auto Trait Implementations§
impl Freeze for tm_ui_tree_item_res_t
impl RefUnwindSafe for tm_ui_tree_item_res_t
impl Send for tm_ui_tree_item_res_t
impl Sync for tm_ui_tree_item_res_t
impl Unpin for tm_ui_tree_item_res_t
impl UnsafeUnpin for tm_ui_tree_item_res_t
impl UnwindSafe for tm_ui_tree_item_res_t
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